3Dviewer in TCL

Notices and updates
Locked
HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

3Dviewer in TCL

Post by HPW »

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

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
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

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
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

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

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

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Post by HPW »

Another attempt to use 3D TCL:

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

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

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

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

Lutz

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Post by HPW »

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

Locked