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.

A particular renderer implementation may also choose to provide additional built-in<br />

filters. <strong>The</strong> standard filters are described in Appendix E.<br />

A high-resolution picture is often computed in sections or panels. Each panel is a<br />

subrectangle of the final image. It is important that separately computed panels join<br />

together without a visible discontinuity or seam. If the filter width is greater than 1<br />

pixel, the rendering program must compute samples outside the visible window to<br />

properly filter before sampling.<br />

RIB BINDING<br />

PixelFilter type xwidth ywidth<br />

<strong>The</strong> type is one of: ”box”, ”triangle”, ”catmull-rom” (cubic), ”sinc”, and ”gaussian”.<br />

EXAMPLE<br />

RiPixelFilter (RiGaussianFilter, 2.0, 1.0);<br />

PixelFilter ”gaussian” 2 1<br />

SEE ALSO<br />

RiPixelSamples, RiPixelVariance<br />

RiExposure ( RtFloat gain, RtFloat gamma )<br />

This function controls the sensitivity and nonlinearity of the exposure process. Each<br />

component of color is passed through the following function:<br />

RIB BINDING<br />

Exposure gain gamma<br />

EXAMPLE<br />

Exposure 1.5 2.3<br />

SEE ALSO<br />

RiImager<br />

color = (color · gain) 1/gamma<br />

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

Select an imager function programmed in the Shading Language. name is the name<br />

of an imager shader. If name is RI NULL, no imager shader is used.<br />

RIB BINDING<br />

Imager name ...parameterlist...<br />

EXAMPLE<br />

RiImager (”cmyk,” RI NULL);<br />

SEE ALSO<br />

32

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

Saved successfully!

Ooh no, something went wrong!