RenderDataRep:
TYPE ~
RECORD [
renderStyle: RenderStyle ¬ faceted,
color: RGB ¬ [1, 1, 1],
diffuseReflectivity: REAL ¬ 1.0,
specularReflectivity: REAL ¬ 0.0,
metallicity: REAL ¬ 0.0,
shininess: REAL ¬ 0.0,
transmittance: REAL ¬ 0.0,
textures: LIST OF TextureMap ¬ NIL
];
TextureStyle:
TYPE ~ {none, intensity, color, bump, function};
Context3dRep:
TYPE ~
RECORD [
Miscellany
props: Atom.PropList ¬ NIL, -- catchall
clientData: REF ANY ¬ NIL, -- data storage for a client
Rendering
clear: BOOL ¬ FALSE, -- clear screen before rendering?
antiAliasing: BOOL ¬ FALSE, -- flag for antialiasing and alpha buffer
Background
backgroundColor: RGB ¬ [0.7, 0.5, 1.0], -- background
backgroundName: ROPE ¬ NIL,
backgroundImage: SampleMap ¬ NIL,
matteBackground: BOOL ¬ TRUE, -- matte background?
Scene
frameNumber: NAT ¬ 0, -- current frame for animation routines
Camera
eyePoint: Triple ¬ [1.0, -5.0, 2.0], -- point from which view is seen
lookAt: Triple ¬ [0.0, 0.0, 0.0], -- defines center of image and focus
rollAngle: REAL ¬ 0.0, -- rotational angle about view direction
upDirection: Triple ¬ [0.0, 0.0, 1.0], -- "heads-up" direction (redundant)
fieldOfView: REAL ¬ 40.0, -- horizontal angle for field of view
window: Rectangle ¬ [0,0,0,0], -- clips field of view in eyespace
hitherLimit: REAL ¬ 1.0, -- anything closer to eyepoint is clipped
yonLimit: REAL ¬ 1000.0, -- further from eyepoint is clipped
scale: REAL ¬ 1.0, -- scale applied to view transformation
view: Matrix ¬ NIL, -- world space to eyespace
Display
viewport: Rectangle ¬ [0,0,0,0], -- in floating pt. display coordinates
screenExtent: Box ¬ [[0, 0], [0, 0]], -- bounds area (while building image)
displayMode: DisplayMode ¬ dither -- type of image to be displayed
];