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.

Hyperboloid 0 0 0 .5 0 0 270 ”Cs” [1 1 1 .5 .9 1 .2 .9 0 .5 .2 0]<br />

SEE ALSO<br />

RiCone, RiCylinder, RiDisk<br />

RiParaboloid ( RtFloat rmax, RtFloat zmin, RtFloat zmax, RtFloat thetamax,<br />

...parameterlist...)<br />

Requests a paraboloid defined by the following equations:<br />

θ = u · thetamax<br />

z = v · (zmax − zmin)<br />

r = rmax · √z/zmax<br />

x = r · cos(θ)<br />

y = r · sin(θ)<br />

Note that the top of the paraboloid is open, and if thetamax is not equal to 360 degrees,<br />

the sides are also open.<br />

RIB BINDING<br />

Paraboloid rmax zmin zmax thetamax ...parameterlist...<br />

Paraboloid [rmax zmin zmax thetamax] ...parameterlist...<br />

EXAMPLE<br />

Paraboloid .5 .2 .7 270<br />

SEE ALSO<br />

RiHyperboloid<br />

RiDisk ( RtFloat height, RtFloat radius, RtFloat thetamax, ...parameterlist...)<br />

Requests a disk defined by the following equations:<br />

θ = u · thetamax<br />

x = radius · (1 − v) · cos(θ)<br />

y = radius · (1 − v) · sin(θ)<br />

z = height<br />

Note that the surface normal of the disk points in the positive z direction when thetamax<br />

is positive.<br />

RIB BINDING<br />

Disk height radius thetamax ...parameterlist...<br />

Disk [height radius thetamax] ...parameterlist...<br />

EXAMPLE<br />

80

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

Saved successfully!

Ooh no, something went wrong!