Console Version
Console version reads variables from the INI-file. The INI-file must be supplied as a command line argument:
WizEyeCon.exe [scene.ini]
The INI-file should have the Main section and the following environment variables are used in the Main section:
Scene = [Path to a scene]
Pass = [Name of the pass]
RunOP = [Name of the RunOP]
Start = [First or current frame to render]
End = [Last frame to render]
Output = [Final image file]
HDR = [Final image file in HDR TIFF format]
Alpha = [Final alpha-channel image file]
HAlpha = [Final alpha-channel image file in HDR TIFF format]
CropX = [X coordinate of a rectangle to be rendered]
CropY = [Y coordinate of a rectangle to be rendered]
CropW = [Width of a rectangle to be rendered]
CropH = [Height of a rectangle to be rendered]
In the script language variables "Start", "End" and "Step" are used with Pass_CallFunc function. It means that if Pass_CallFunc gets one of the following arguments: "Frame Number", "Start Frame" or "Step", then it's trying to take the variable from the INI-file rather than from current pass. A call of functions from pass operator that define a path to output files or a rectangle to be rendered is ignored in the console version if a corresponding variable is defined in the INI-file.
Here is an example of the INI-file contents:
[MAIN] Scene = c:\WizEye3D\Data\Room.orn Pass = unnamed-1 RunOP = Render Current Frame Start = 34 Output = c:\WizEye3D\Images\34.tif