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.

Graphics State (continued)<br />

Function<br />

Description<br />

RiSurface (name, parameterlist) sets the current surface shader. name is the name<br />

of a surface shader.<br />

RiTextureCoordinates (s1, t1,<br />

s2, t2, s3, t3, s4, t4)<br />

RiTransform (transform)<br />

RiTransformBegin ()<br />

RiTransformEnd ()<br />

RiTransformPoints (fromspace,<br />

tospace, n, points)<br />

sets the current set of texture coordinates to the values<br />

passed as arguments.<br />

sets the current transformation to the transformation<br />

transform.<br />

saves and restores the current transformation.<br />

transforms the array of points from the coordinate<br />

system fromspace to the coordinate system<br />

tospace.<br />

RiTranslate () concatenates a translation onto the current<br />

transformation.<br />

RiWorldBegin ()<br />

RiWorldEnd ()<br />

Starts and ends the description of the scene<br />

geometry for a specific image.<br />

Function<br />

RiBasis (ubasis, ustep, vbasis,<br />

vstep)<br />

RiBlobby (nleaf, ncode, code,<br />

nfloats, floats, nstrings, strings, ...)<br />

RiCone (height, radius, thetamax,<br />

parameterlist)<br />

RiCurves (type, ncurves,<br />

nvertices, wrap, parameterlist)<br />

RiCylinder (radius, zmin, zmax,<br />

thetamax, parameterlist)<br />

RiDisk (height, radius, thetamax,<br />

parameterlist)<br />

RiGeneralPolygon (nloops,<br />

nverts, parameterlist)<br />

Geometric Primitives<br />

Description<br />

sets the current u-basis to ubasis and the current<br />

v-basis to vbasis.<br />

requests an implicit surface.<br />

requests a cone.<br />

requests a collection of lines, curves, or ribbons.<br />

requests a cylinder.<br />

requests a disk.<br />

defines a general planar concave polygon with<br />

holes.<br />

RiGeometry (type, parameterlist) provides a standard way of defining an<br />

implementation-specific geometric primitive.<br />

RiHyperboloid (point1, point2,<br />

thetamax, parameterlist)<br />

RiNuPatch (nu, uorder, uknot,<br />

umin, umax, nv, vorder, vknot,<br />

vmin, vmax, parameterlist)<br />

requests a hyperboloid.<br />

creates a single tensor product rational or polynomial<br />

non-uniform B-spline surface patch.<br />

201

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

Saved successfully!

Ooh no, something went wrong!