overview | basic concepts | gops | gprims | animation | rendering | math | index

geometric primitives


quadrics | polygons | patches | lines & text | standard gprim parameters

Standard Gprim Parameters

Most gprims support parameter lists which allow additional information to be specified on a per vertex (or corner, or polygon) basis. In addition, users can define additional parameters which will be passed to the renderer if supported. Parameters in the table below are "varying" unless otherwise noted.

standard gprim parameter list variables
nametypedescription
Pvec3listposition
Pzreallistposition
Pwvec4listposition
Nvec3listnormal
Npvec3listnormal (uniform)
Csvec3listcolor
Osvec3listopacity
sreallisttexture coordinates
treallisttexture coordinates
stvec2listtexture coordinates


AL: The Animation Language is Copyright © 1995,1996, Stephen F. May

Last updated: 11/9/95 / Steve May ( smay@cgrg.ohio-state.edu )
Any comments or suggestions appreciated.