View Full Version : Documentation for LWSN command set?

08-28-2004, 12:45 AM
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

09-02-2004, 01: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.

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

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

Marvin Miller
09-16-2004, 04: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.


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.

<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.

<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.


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

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').


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.


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


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

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

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

<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.