| Article: |
Build a Simple 3D Pipeline in Tcl | |
| Subject: | How to run example? | |
| Date: | 2005-08-13 11:32:24 | |
| From: | jamesreynolds | |
|
I assumed this would run the example:
|
||
Showing messages 1 through 3 of 3.
-
How to run example?
2005-08-13 17:38:22 mnorton [View]
-
How to make 2D-projection
2006-12-12 02:12:11 jigs_patel [View]
-
How to run example?
2005-08-13 11:48:03 roseman [View]
Tclsh doesn't contain Tk, the GUI toolkit, built into it. So you can either run 'wish' (which has both Tcl and Tk), or put 'package require Tk' at the top of your script, which will load Tk into tclsh.



To run the example code open a X11 terminal, go to the directory you dowloaded the file, then execute,
wish -f render_poly.tcl &
Hit the ESC key in the wish window to terminate the program.
If you are not a UNIX user you can download the batteries included AQUA version of Tcl from Apple.
http://www.apple.com/downloads/macosx/unix_open_source/tcltkaqua.html
Mike