PDA

View Full Version : Documentation for LWSN command set?



sfriedberg
08-27-2004, 11:45 PM
One of the features of LW 8 is an "Expanded command list in LWSN for third party render controllers". It seems reasonable to ask: where can I find the documentation for these commands?

I've gone through the LW 8 SDK and SDK docs and didn't find anything there. References or redirects, anyone?

Stu Friedberg

Brazilian
09-02-2004, 12:27 AM
I would like to know this as well...

I've been hard pressed to even find the old command set; I managed to find an ancient text file once with the basics dated 1995.

Something has changed in lwsn for [8], and I'm hoping there are some new commands as the release notes imply but never define. For instance, the frequency by which the nodes check commands seems to be a lot less than previously, which makes it a bear to keep anymore than a small handful of nodes rendering scenes where the render time is very small.. you wind up wasting more time waiting for LWSN to wake up and pay attention than rendering.

Matt
09-02-2004, 02:36 AM
I'd like to know this too!

cappie
09-14-2004, 05:03 AM
yeah, me too..

Marvin Miller
09-16-2004, 03:42 PM
Ask and ye shall receive (well, sometimes ;) )

I was able to get some info from the NewTek Development staff (I'll see if these can get added in the PDF when it gets updated):

Here are the options that can be placed into the command file for a render
node when running with option "-2":


wait <seconds>


Not clear what the exact use this command is for, but does cause
a response in the "ack" file. So, probably used to test that the
node is still running/responding. You can specific a wait period,
interpreted in seconds, but it only halts all processing in the node
for that amount of time.


init


Initializes the render node. Functionally equivalent to performing
a "Clear Scene" in Layout. Your command file should be initialized
with this command before you launch the render node.


content
<path to content>


Sets the working content directory for a loaded scene. Should be set
before the "load" command is passed to actually load the scene.


load
<path to scene file>


Loads the indicated scene file (with a full path) into the render
node's memory. This must be done -- and it must complete
successfully -- before render-related commands can be given to the
render node.


render <from> <to> <step>


Renders the specified frame range for a currently loaded scene, using
the indicated step value.


quit


Causes the render node to clear all of its memory, and the process
terminates.


output <rgbfile> <alphafile>


Sets the output file name (base name) for the rendered frame ('rgbfile')
and the alpha-channel data for the same frame ('alphafile').


status


Provides a "serial" value in the "ack" file each time it is sent to
the command file. I am unsure as to what this "serial" value is, or
of what particular use it may be.


query


Causes the render node to print the currently loaded scene name in
the "ack" file.


abort


Does nothing but send a "Ready" message to the "ack" file.


position
<object> <x> <y> <z> <time>


rotate
<object> <x> <y> <z> <time>


scale
<object> <x> <y> <z> <time>


These commands will transform an object (specified using it's ObjectID
value) in a loaded scene by the indicated values at the specified
time offset. These commands were added for print-industry users so
the could re-locate objects (such as Lights and Cameras) without
having to entirely reload scenes.