26.01.2015 Views

The RenderMan Interface - Paul Bourke

The RenderMan Interface - Paul Bourke

The RenderMan Interface - Paul Bourke

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Sets the named implementation-specific option. A rendering system may have certain<br />

options that must be set before the renderer is initialized. In this case, RiOption<br />

may be called before RiBegin to set those options only.<br />

Although RiOption is intended to allow implementation-specific options, there are a<br />

number of options that we expect that nearly all implementations will need to support.<br />

It is intended that when identical functionality is required, that all implementations<br />

use the option names listed in Table 4.5.<br />

RIB BINDING<br />

Option name ...parameterlist...<br />

EXAMPLE<br />

Option ”limits” ”gridsize” [32] ”bucketsize” [12 12]<br />

SEE ALSO<br />

RiAttribute<br />

Option name/param Type Default Description<br />

”searchpath” ”archive” [s] string ”” List of directories to search for RIB<br />

archives.<br />

”searchpath” ”texture” [s] string ”” List of directories to search for texture<br />

files.<br />

”searchpath” ”shader” [s] string ”” List of directories to search for<br />

shaders.<br />

”searchpath” ”procedural” [s] string ”” List of directories to search for<br />

dynamically-loaded RiProcedural<br />

primitives.<br />

”statistics” ”endofframe” [i] integer ”” If nonzero, print runtime statistics<br />

when the frame is finished rendering.<br />

Table 4.5: Typical implementation-specific options<br />

4.2 Attributes<br />

Attributes are parameters in the graphics state that may change while geometric primitives<br />

are being defined. <strong>The</strong> complete set of standard attributes is described in two tables: Table<br />

4.6, Shading Attributes, and Table 4.11, Geometry Attributes.<br />

Attributes can be explicitly saved and restored with the following commands. All beginend<br />

blocks implicitly do a save and restore.<br />

37

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!