3Dviewer in TCL

Started by HPW, December 09, 2005, 01:48:46 AM

Previous topic - Next topic

HPW

Ran accross this sample-code for a 3Dviewer in TCL:



http://wiki.tcl.tk/15032">http://wiki.tcl.tk/15032



I was quite surprised that TCL is fast enough for an acceptable performance on interactive viewing.

Maybe something which could be used in a newLISP-TK envirment.



;-)
Hans-Peter

newdep

#1
Ooo yes TK can do that... I use AC3D and thats partly build in Tcl/TK too.

Never the less its a flasing example indeed.. ;-)



Regards, Norman
-- (define? (Cornflakes))

newdep

#2
By the way... Speaking of TK... have you seen the Window-Manager build in Tcl/TK ;-)



http://wiki.tcl.tk/13972">http://wiki.tcl.tk/13972
-- (define? (Cornflakes))

HPW

#3
Another attempt to use 3D TCL:



http://www.tcl3d.org/">http://www.tcl3d.org/
Hans-Peter

Lutz

#4
This is basically OpenGL and SDL wrapped in Tcl. You can have OpenGL and SDL or GLUT from Peter's website: http://www.turtle.dds.nl/gl4newlisp/index.html">http://www.turtle.dds.nl/gl4newlisp/index.html



This way you can talk to OpenGL directly without the extra step of an Tcl wrapper.



Lutz

HPW

#5
That is true. But with tcl3d the 3D-window is just another GUI-widget and you can combine it with the other TK stuff.



Both could be usefull, depends on the job.
Hans-Peter