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.

Procedural ”DynamicLoad” [ ”mydso.so” ”” ] [ -1 1 -1 1 0 6 ]<br />

SEE ALSO<br />

RiProcedural, RiProcDelayedReadArchive, RiProcRunProgram<br />

5.8 Implementation-specific Geometric Primitives<br />

Additional geometric primitives can be specified using the following procedure.<br />

RiGeometry ( RtToken type, ...parameterlist...)<br />

This procedure provides a standard way of defining an implementation-specific geometric<br />

primitive. <strong>The</strong> values supplied in the parameter list for each primitive is<br />

implementation specific.<br />

RIB BINDING<br />

Geometry name ...parameterlist...<br />

EXAMPLE<br />

RiGeometry(”teapot”, RI NULL);<br />

5.9 Solids and Spatial Set Operations<br />

All of the previously described geometric primitives can be used to define a solid by bracketing<br />

a collection of surfaces with RiSolidBegin and RiSolidEnd. This is often referred<br />

to as the boundary representation of a solid. When specifying a volume it is important that<br />

boundary surfaces completely enclose the interior. Normally it will take several surfaces to<br />

completely enclose a volume since, except for the sphere, the torus, and potentially a periodic<br />

patch or patch mesh, none of the geometric primitives used by the rendering interface<br />

completely enclose a volume. A set of surfaces that are closed and non-self-intersecting unambiguously<br />

defines a volume. However, the <strong>RenderMan</strong> <strong>Interface</strong> performs no explicit<br />

checking to ensure that these conditions are met. <strong>The</strong> inside of the volume is the region or<br />

set of regions that have finite volume; the region with infinite volume is considered outside<br />

the solid. For consistency the normals of a solid should always point outwards.<br />

92

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

Saved successfully!

Ooh no, something went wrong!