Launching RenderWorld Engine


So now we've covered pretty much everything except how to actually run the code. The executable is named RWEngine.out and has the format

RWEngine.out [-fnn [-lnn [-inn]]] [-Snn -snn[,nn]] scenefile1 [scenefile2 scenefile3]

where scenefile1, etc. are the names of the scene files (scene.dat for example). nn is a number, and -f, -l, and -i specify the first frame, last frame, and interval respectively and are optional. If present they will override the values in the scene file.

The options -S and -s allow you to override the memory stripping option in the camera file. -S sets the number of strips into which the image is divided. The -s option contains the list of the particular strips, separated by commas, which are to be rendered in this job. This approach allows you to fill in missing strips, as well as distribute the rendering of a particular frame among many cpus and computers. Strips are numbered 0,1,2,....

When you have a collection of strips which must be assembled into a final image, the stand-alone routine

RWSlicer.out [-fnn [-lnn [-inn]]] [-Snn] [-d nn ] scenefile

will assemble them. RWSlicer.out has the same options and syntax as RWEngine.out. It uses the scene file(s) and the strip images to create the final full frame images. The additional option -d has two states: -d0 prevents the strips from being deleted. The default is -d1, which deletes the strips.


Contents