SippRender Command

SippRender [-flags] outputlist xsize ysize [mode] [oversample]

This command does the rendering of a scene to one or more image stores. The ability to render to multiple image stores allows an application to render to a Tk photo image and save the image in a file at the same time, for example.

The scanning direction determines which types of image stores may be rendered together. Output objects may be written from top to bottom or from bottom to top. File objects are written in only one direction or another, while memory resident objects can be written in either direction. Image stores that are written in opposing directions may not be rendered at the same time. Pixmaps may be used as a buffer to store images that can then be saved to other image stores with conflicting scan-directions.

The image is created with the pixel dimensions xsize by ysize. outputlist is a list of output target handles. The image is written in the Portable Pixel Map (PPM) format unless mode is LINE, in which case it is written in the Portable Bit Map (PBM) format. Mode decides in which mode the image should be rendered and should be one of PHONG, GOURAUD, FLAT or LINE. The integer value oversampling controls how much oversampling should be done for anti-aliasing. Each pixel will be the average of a oversampling by oversampling matrix of subpixels. Oversampling is ignored if mode is LINE.

The following optional flags may be specified: