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.

RiMakeTextureV(char *pic, char *tex, RtToken swrap, RtToken twrap,<br />

RtFilterFunc filterfunc, RtFloat swidth, RtFloat twidth,<br />

RtInt n, RtToken tokens[], RtPointer parms[]),<br />

RiMakeBump(char *pic, char *tex, RtToken swrap, RtToken twrap,<br />

RtFilterFunc filterfunc, RtFloat swidth, RtFloat twidth, ...),<br />

RiMakeBumpV(char *pic, char *tex, RtToken swrap, RtToken twrap,<br />

RtFilterFunc filterfunc, RtFloat swidth, RtFloat twidth,<br />

RtInt n, RtToken tokens[], RtPointer parms[]),<br />

RiMakeLatLongEnvironment(char *pic, char *tex,<br />

RtFilterFunc filterfunc,<br />

RtFloat swidth, RtFloat twidth, ...),<br />

RiMakeLatLongEnvironmentV(char *pic, char *tex,<br />

RtFilterFunc filterfunc,<br />

RtFloat swidth, RtFloat twidth,<br />

RtInt n, RtToken tokens[], RtPointer parms[]),<br />

RiMakeCubeFaceEnvironment(char *px, char *nx, char *py, char *ny,<br />

char *pz, char *nz, char *tex, RtFloat fov,<br />

RtFilterFunc filterfunc, RtFloat swidth, RtFloat ywidth, ...),<br />

RiMakeCubeFaceEnvironmentV(char *px, char *nx, char *py, char *ny,<br />

char *pz, char *nz, char *tex, RtFloat fov,<br />

RtFilterFunc filterfunc, RtFloat swidth, RtFloat ywidth,<br />

RtInt n, RtToken tokens[], RtPointer parms[]),<br />

RiMakeShadow(char *pic, char *tex, ...),<br />

RiMakeShadowV(char *pic, char *tex,<br />

RtInt n, RtToken tokens[], RtPointer parms[]);<br />

extern RtVoid<br />

RiArchiveRecord(RtToken type, char *format, ...),<br />

RiReadArchive(RtToken name, RtArchiveCallback callback, ...),<br />

RiReadArchiveV(RtToken name, RtArchiveCallback callback,<br />

RtInt n, RtToken tokens[], RtPointer parms[]);<br />

extern RtVoid<br />

RiErrorHandler(RtErrorHandler handler);<br />

/*<br />

Error Codes<br />

1 - 10 System and File Errors<br />

11 - 20 Program Limitations<br />

21 - 40 State Errors<br />

41 - 60 Parameter and Protocol Errors<br />

61 - 80 Execution Errors<br />

*/<br />

#define RIE_NOERROR ((RtInt)0)<br />

#define RIE_NOMEM ((RtInt)1) /* Out of memory */<br />

#define RIE_SYSTEM ((RtInt)2) /* Miscellaneous system error */<br />

#define RIE_NOFILE ((RtInt)3) /* File nonexistent */<br />

#define RIE_BADFILE ((RtInt)4) /* Bad file format */<br />

#define RIE_VERSION ((RtInt)5) /* File version mismatch */<br />

#define RIE_DISKFULL ((RtInt)6) /* Target disk is full */<br />

#define RIE_INCAPABLE ((RtInt)11) /* Optional RI feature */<br />

#define RIE_UNIMPLEMENT ((RtInt)12) /* Unimplemented feature */<br />

#define RIE_LIMIT ((RtInt)13) /* Arbitrary program limit */<br />

#define RIE_BUG ((RtInt)14) /* Probably a bug in renderer */<br />

#define RIE_NOTSTARTED ((RtInt)23) /* RiBegin not called */<br />

#define RIE_NESTING ((RtInt)24) /* Bad begin-end nesting */<br />

#define RIE_NOTOPTIONS ((RtInt)25) /* Invalid state for options */<br />

173

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

Saved successfully!

Ooh no, something went wrong!