appendixA.html, appendixF.html, index.html, section01.html, section02.html, section03.html, section04.html, section05.html, section06.html, section07.html, section08.html, section09.html, section10.html, section11.html, section12.html, section13.html, section14.html, section15.html, section16.html
The string 'name' cannot be used where the token is needed. The RtToken that RiDeclare returned must be used instead. For example:
RtToken mytoken;
mytoken = RiDeclare("MyToken", "uniform float");
RiPolygon (3, "P", (RtPointer)points, mytoken, 2.0, RI_NULL);
is valid, while:
RiDeclare("MyToken", "uniform float");
RiPolygon (3, "P", (RtPointer)points, "MyToken", 2.0, RI_NULL);
is not.
Structural hints (lines starting with '##', as defined in Appendix D) are ignored.
NuPatch calls may either have parameters passed according to the 3.1 standard, or the clarification in the PRMan 3.6 Release Notes. See RiNuPatch for details.
RenderDrive is somewhat less pedantic in some respects than the standard in requiring the presence or absence of square brackets.
RenderDrive declares several additional standard tokens in addition to the ones required by the RenderMan Interface Specification. Shader names, co-ordinate systems (and certain other special tokens) do not need to have their names declared and can be referred to by their string name, although for the standard shaders RI tokens also exist. Non-standard tokens from PRMan and BMRT are predeclared for convenience.
The following is a complete list of all the predeclared tokens available, with appropriate Declare statements for parameters to show their types. NB: RI constants are defined at RiBegin() time.
RI_A = RiDeclare( "a", "varying float");
RI_ABORT;
RI_AMBIENTLIGHT;
RI_AMPLITUDE = RiDeclare( "amplitude", "uniform float");
RI_AZ = RiDeclare( "az", "varying float");
RI_BACKGROUND = RiDeclare( "background", "uniform color");
RI_BEAMDISTRIBUTION = RiDeclare( "beamdistribution", "uniform float");
RI_BETTERLAL = RiDeclare( "betterLAL", "uniform int");
RI_BIAS_PROBABILITY = RiDeclare( "bias_probability", "uniform float");
RI_BICUBIC;
RI_BILINEAR;
RI_BLACK;
RI_BOXFILTER;
RI_BUMPY;
RI_BVHOPTIONS = RiDeclare( "bvhoptions", "uniform int");
RI_BVPSFILE = RiDeclare( "bvpsfile", "uniform string");
RI_BVVERIFICATION = RiDeclare( "bvverification", "uniform int");
RI_CAMERA;
RI_CASTS_SHADOWS = RiDeclare( "casts_shadows", "uniform string");
RI_CATMULLROMFILTER;
RI_CLAMP;
RI_COMMENT;
RI_CONEANGLE = RiDeclare( "coneangle", "uniform float");
RI_CONEDELTAANGLE = RiDeclare( "conedeltaangle", "uniform float");
RI_CONSTANT;
RI_CS = RiDeclare( "Cs", "varying color");
RI_DEPTH = RiDeclare( "depth", "uniform string");
RI_DEPTHCUE;
RI_DIAGNOSE = RiDeclare( "diagnose", "uniform int");
RI_DIFFERENCE;
RI_DISTANCE = RiDeclare( "distance", "uniform float");
RI_DISTANTLIGHT;
RI_DITHER = RiDeclare( "dither", "uniform float");
RI_FIELD = RiDeclare( "field", "uniform float");
RI_FILE;
RI_FLATNESS = RiDeclare( "flatness", "uniform float");
RI_FOG;
RI_FOV = RiDeclare( "fov", "uniform float");
RI_FRAMEBUFFER;
RI_FRAMECOHERENT = RiDeclare( "frame_coherent", "uniform float");
RI_FROM = RiDeclare( "from", "uniform point");
RI_GAMMA = RiDeclare( "gamma", "uniform float");
RI_GAUSSIANFILTER
RI_HANDLER;
RI_HIDDEN;
RI_ID1 = RiDeclare( "ID1", "varying int");
RI_ID2 = RiDeclare( "ID2", "varying int");
RI_IDENTIFIER = RiDeclare( "identifier", "uniform int");
RI_IGNORE;
RI_IGNORENULL = RiDeclare( "ignorenull", "uniform int");
RI_INSIDE;
RI_INTENSITY = RiDeclare( "intensity", "uniform float");
RI_INTERSECTION;
RI_JOBCONTROL = RiDeclare( "jobcontrol", "uniform int");
RI_JOBDEMOTE = RiDeclare( "jobdemote", "uniform int");
RI_JOBHOLD = RiDeclare( "jobhold", "uniform int");
RI_JOBKILL = RiDeclare( "jobkill", "uniform int");
RI_JOBPAUSE = RiDeclare( "jobpause", "uniform int");
RI_JOBPROMOTE = RiDeclare( "jobpromote", "uniform int");
RI_JOBREQUEUE = RiDeclare( "jobrequeue", "uniform int");
RI_JOBRUN = RiDeclare( "jobrun", "uniform int");
RI_KA = RiDeclare( "Ka", "uniform float");
RI_KD = RiDeclare( "Kd", "uniform float");
RI_KR = RiDeclare( "Kr", "uniform float");
RI_KS = RiDeclare( "Ks", "uniform float");
RI_LENSNAME = RiDeclare( "lensname", "uniform string");
RI_LENSOPTION = RiDeclare( "lensoption", "uniform int");
RI_LENSROTATION = RiDeclare( "lensrotation", "uniform float");
RI_LENSSCALE = RiDeclare( "lensscale", "uniform float");
RI_LENSSEED = RiDeclare( "lensseed", "uniform int");
RI_LENSSTRENGTH = RiDeclare( "lensstrength", "uniform float");
RI_LENSTHRESH = RiDeclare( "lensthresh", "uniform float");
RI_LH;
RI_LIGHT = RiDeclare( "light", "uniform int");
RI_LIGHTCOLOR = RiDeclare( "lightcolor", "uniform color");
RI_LOGALL = RiDeclare( "logall", "uniform int");
RI_LOGAPI = RiDeclare( "logapi", "uniform int");
RI_LOGBUGMASK = RiDeclare( "logbugmask", "uniform int");
RI_LOGDEBUG = RiDeclare( "logdebug", "uniform string");
RI_LOGERR = RiDeclare( "logerr", "uniform string");
RI_LOGEXEC = RiDeclare( "logexec", "uniform int");
RI_LOGGEO = RiDeclare( "loggeo", "uniform int");
RI_LOGHARDWARE = RiDeclare( "loghardware", "uniform int");
RI_LOGINFO = RiDeclare( "loginfo", "uniform string");
RI_LOGNET = RiDeclare( "lognet", "uniform int");
RI_LOGNOTICE = RiDeclare( "lognotice", "uniform string");
RI_LOGOPTIONS = RiDeclare( "logoptions", "uniform int");
RI_LOGPROG = RiDeclare( "logprog", "uniform int");
RI_LOGRIEERROR = RiDeclare( "logrieerror", "uniform string");
RI_LOGRIEINFO = RiDeclare( "logrieinfo", "uniform string");
RI_LOGRIESEVERE = RiDeclare( "logriesevere", "uniform string");
RI_LOGRIEWARNING = RiDeclare( "logriewarning", "uniform string");
RI_LOGSAMPLE = RiDeclare( "logsample", "uniform int");
RI_LOGSHADE = RiDeclare( "logshade", "uniform int");
RI_LOGSHOW = RiDeclare( "logshow", "uniform int");
RI_LOGTIMER = RiDeclare( "logtimer", "uniform int");
RI_LOGWARNING = RiDeclare( "logwarning", "uniform string");
RI_MATTE;
RI_MAXCHAN_BG = RiDeclare( "chanBG", "varying color");
RI_MAXCHAN_COVERAGE = RiDeclare( "chanCoverage", "varying int");
RI_MAXCHAN_REALPIX = RiDeclare( "chanRealpix", "varying color");
RI_MAXCHAN_U = RiDeclare( "chanU", "varying float");
RI_MAXCHAN_V = RiDeclare( "chanV", "varying float");
RI_MAXDISTANCE = RiDeclare( "maxdistance", "uniform float");
RI_MAX_RAYLEVEL = RiDeclare( "max_raylevel", "uniform int");
RI_METAL;
RI_MINATTENUATION = RiDeclare( "minattenuation", "uniform float");
RI_MINDISTANCE = RiDeclare( "mindistance", "uniform float");
RI_MIRROR = RiDeclare( "mirror", "uniform float");
RI_MOTIONFLASH = RiDeclare( "motionflash", "uniform float");
RI_N = RiDeclare( "N", "varying normal");
RI_NAME = RiDeclare( "name", "uniform string");
RI_NONPERIODIC;
RI_NP = RiDeclare( "Np", "uniform normal");
RI_NUMCHIPS = RiDeclare( "numchips", "uniform int");
RI_OBJECT;
RI_ORIGIN = RiDeclare( "origin", "uniform int[2]");
RI_ORTHOGRAPHIC;
RI_ORTHOGRAPHICSTEPFORWARD
= RiDeclare( "orthographicStepForward", "uniform string");
RI_OS = RiDeclare( "Os", "varying color");
RI_OUTSIDE;
RI_P = RiDeclare( "P", "vertex point");
RI_PAINT;
RI_PAINTEDPLASTIC;
RI_PERIODIC;
RI_PERSPECTIVE;
RI_PLASTIC;
RI_POINTLIGHT;
RI_POSTPROCESSFILTER = RiDeclare( "postProcessFilter", "uniform string");
RI_PREVIEW = RiDeclare( "preview", "uniform int");
RI_PRIMITIVE;
RI_PRINT = RiDeclare( "print", "uniform int");
RI_PW = RiDeclare( "Pw", "vertex float[4]");
RI_PZ = RiDeclare( "Pz", "vertex float");
RI_QUANTIZE = RiDeclare( "quantize", "uniform int[4]");
RI_RASTER;
RI_RENDER = RiDeclare( "render", "uniform int");
RI_RESOLUTION = RiDeclare( "resolution", "uniform int[2]");
RI_RESOLUTIONUNIT; = RiDeclare( "resolutionunit", "uniform string");
RI_RGB = RiDeclare( "rgb", "uniform color");
RI_RGBA = RiDeclare( "rgba", "uniform float[4]");
RI_RGBAZ = RiDeclare( "rgbaz", "varying float[5]");
RI_RGBZ = RiDeclare( "rgbz", "varying float[4]");
RI_RH;
RI_ROUGHNESS = RiDeclare( "roughness", "uniform float");
RI_S = RiDeclare( "s", "varying float");
RI_SCREEN;
RI_SCREENSPACE = RiDeclare( "screenspace", "uniform matrix");
RI_SENSE = RiDeclare( "sense", "uniform string");
RI_SHADER;
RI_SHADERSPACE = RiDeclare( "shaderspace", "uniform matrix");
RI_SHADOWS = RiDeclare( "shadows", "uniform string");
RI_SHINYMETAL;
RI_SHUTTER = RiDeclare( "shutter", "uniform float[2]");
RI_SINCFILTER
RI_SMOOTH;
RI_SPECULARCOLOR = RiDeclare( "specularcolor", "uniform color");
RI_SPOTLIGHT;
RI_ST = RiDeclare( "st", "varying float[2]");
RI_STATUSREPORT = RiDeclare( "statusreport", "uniform int");
RI_STRUCTURE;
RI_T = RiDeclare( "t", "varying float");
RI_TEAPOT
RI_TEXTURENAME = RiDeclare( "texturename", "uniform string");
RI_TO = RiDeclare( "to", "uniform point");
RI_TRIANGLEFILTER
RI_TRIMCURVE = RiDeclare( "trimcurve", "uniform int");
RI_U = RiDeclare( "u", "varying float");
RI_UNION = RiDeclare( "union", "unknown");
RI_V = RiDeclare( "v", "varying float");
RI_W = RiDeclare( "w", "varying float");
RI_WORLD;
RI_WORLDSPACE = RiDeclare( "worldspace", "uniform matrix");
RI_Z = RiDeclare( "z", "varying float");
Internal use tokens:
These are tokens that are declared and defined for internal use. Use of them may lead to unexpected behaviour.
"_US"
Last modified: Fri Dec 3 17:26:29 GMT 1999