Missing detailed instructions in global illum tutorial

   5580   2   1
User Avatar
Member
436 posts
Joined: July 2005
Offline
One of the things that frustrates me, when going through turotials, is lack of detail. Especcially when there is script writing code involved. In this case there is lack of syntax information.

The writer states the following;
"Comment out the appropriate line depending on which platform you are on:
set PLATFORM irix
#set PLATFORM pc
"

The actual block of script code in .tk file looks like this

# Windows, unix or linux?
set PLATFORM $tcl_platform(platform)


So already there is a problem as reality differs from tutorial. For a newby like myself, its those details which create problems.

So when I change code to look like this;

# Windows, unix or linux?
set PLATFORM pc $tcl_platform(platform)


I get error message in Textport that states Platform Undefined.

Same error when changing pc to Windows, or windows

Also tried;
set PLATFORM $tcl_platform(Windows)
set PLATFORM $tcl_platform(windows)


So where did I make an error in defining platform. What is the EXACT correct syntax for defining platform in .tk file under Windows.

Thank you
David Rindner
User Avatar
Member
48 posts
Joined: July 2005
Offline
Where is the global illumination tutorial… I am a newby myself…

Today I am working on the scripting section of the user guide. I understand most of the concepts but have yet to get the tcl example to work… That is the tutorial where it is suppose to draw out bars that represent the time ranges of cop networks.. I get the canvas but no bars or list.. Sort of frustrating..

I like the fact that I can back door this beast but it is definatley frustrating at times……. By the way the model is looking great..
Todd Dufour
——————————–
Life is as long as it is short.
——————————–
User Avatar
Staff
3459 posts
Joined: July 2005
Offline
is this the one?:
http://www.lewkiw.com/html/global.html [lewkiw.com]
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
  • Quick Links