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.

ObjectBegin sequencenumber<br />

ObjectEnd-<br />

<strong>The</strong> sequencenumber is a unique object identification number which is provided<br />

by the RIB client to the RIB server. Both client and server maintain independent<br />

mappings between the sequencenumber and their corresponding RtObjectHandles.<br />

If sequencenumber has been used to define a previous object, that object is replaced<br />

with the new definition. <strong>The</strong> number must be in the range 0 to 65535.<br />

EXAMPLE<br />

ObjectBegin 2<br />

Sphere 1 -1 1 360<br />

ObjectEnd<br />

SEE ALSO<br />

RiFrameEnd, RiObjectInstance, RiWorldEnd<br />

RiObjectInstance ( RtObjectHandle handle )<br />

Create an instance of a previously defined object. <strong>The</strong> object inherits the current set of<br />

attributes defined in the graphics state.<br />

RIB BINDING<br />

ObjectInstance sequencenumber<br />

<strong>The</strong> object must have been defined to have a handle sequencenumber with a previous<br />

RiObjectBegin.<br />

EXAMPLE<br />

ObjectInstance 2<br />

SEE ALSO<br />

RiFrameEnd, RiObjectBegin, RiWorldEnd<br />

95

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

Saved successfully!

Ooh no, something went wrong!