In order to render the contour examples in this section, it is necessary to link with the contour.so shader library, and a $include <contour.mi> statement is also needed. The file contour.mi contains declarations of the contour shaders in contour.so. (Of course, contour shaders are fully programmable, so the possible contour modes are not limited to the examples described here.)
Also, the contour store shader has to be specified in the options statement. A contour store shader has no parameters and is specified as
contour store "contour_store_function" ()
Copyright © 1986-2008 by
mental images GmbH