contact: dhenton[at]

Using Ink9000 At The Command Line

New in version 0.8 is a command line version of Ink 9000. This can be used to create renders in a batch for animations, as in this example.
The syntax for using inkcmd is : inkcmd <opt-file-name> with a parameter of the full path to the options file described below.

Option File

Option files provide the command line renderer all the information it needs to do its job. It's just a text file with the following entries. You can download a sample here. The order is important, and comments must begin with a '#' and must be on separate lines, with no blank lines in between in the data. All items are required. Numbers are loaded as strings, so precision is not critical. These values are completely separate from the values in the Ink9000 GUI program, and are more like what one would be used to in positioning a camera.
OUTPUT 0 for Illustrator , 1 for bitmap
CAMERA POSITION x,y,z as floats comma separated
LOOK UP/DOWN ANGLE Float angle in degrees of camera tilt
LEFT/RIGHT ROTATION Float angle in degrees of head rotation
SCN FILE full path to scn file for inking information only. Create this ahead of time. Only ink information is used here. Other information in the SCN file, such as camera positions are ignored.
MESH FILE full path to mesh obj file
MTL FILE not used, but put something in
OUTPUT DESTINATION FILE full path and name for your render output file
WIDTH,HEIGHT width,height in pixels of output image comma separated

Converting From Poser Units

Of course the camera dial settings don't work in the opt files. Here is a listing of the conversions factors that I found. Your results may vary.

Convert Poser X to Inkcmd X 0.118*(Poser units)
Convert Poser Y to Inkcmd Y 0.800*(Poser units)
Convert Poser Z to Inkcmd Z 0.5 + 0.112*(Poser units)