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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>The</strong> number of color components, n, is derived from the lengths of the nRGB and<br />

RGBn arrays, as described above.<br />

EXAMPLE<br />

ColorSamples [.3.3 .4] [1 1 1]<br />

RtFloat frommonochr[] = {.3, .3, .4};<br />

RtFloat tomonochr[] = {1., 1., 1.};<br />

RiColorSamples (1, frommonochr, tomonochr);<br />

SEE ALSO<br />

RiColor, RiOpacity<br />

<strong>The</strong> method of specifying and using level of detail is discussed in the section on Detail.<br />

RiRelativeDetail ( RtFloat relativedetail )<br />

<strong>The</strong> relative level of detail scales the results of all level of detail calculations. <strong>The</strong> level<br />

of detail is used to select between different representations of an object. If relativedetail<br />

is greater than 1, the effective level of detail is increased, and a more detailed<br />

representation of all objects will be drawn. If relativedetail is less than 1, the effective<br />

level of detail is decreased, and a less detailed representation of all objects will be<br />

drawn.<br />

RIB BINDING<br />

RelativeDetail relativedetail<br />

EXAMPLE<br />

RelativeDetail 0.6<br />

SEE ALSO<br />

RiDetail, RiDetailRange<br />

4.1.4 Implementation-specific options<br />

Rendering programs may have additional implementation-specific options that control parameters<br />

that affect either their performance or operation. <strong>The</strong>se are all set by the following<br />

procedure.<br />

RiOption ( RtToken name, ...parameterlist...)<br />

36

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

Saved successfully!

Ooh no, something went wrong!