--- ray/src/hd/rhdobj.h 1998/08/21 11:38:22 3.2 +++ ray/src/hd/rhdobj.h 1998/12/18 11:06:46 3.4 @@ -21,7 +21,7 @@ #define DO_NCMDS 10 /* number of object display commands */ /* commands entered on stdin only */ -#define DO_INIT {"load","unload","xform","move","unmove","dup",\ +#define DO_INIT {"load","clear","xform","move","unmove","dup",\ "show","light","hide","object"} /******************************************************************* @@ -61,13 +61,14 @@ of the intersected object is returned, or "" if none. then all visible objects are checked, but the name is not returned. -void +int dobj_render() : render visible objects to OpenGL Renders all display objects using OpenGL, assuming desired view has been set. This routine also assumes that the tone-mapping library is being used to set exposure, and it queries this information to -adjust light sources as necessary for illuminated objects. +adjust light sources as necessary for illuminated objects. Returns +the number of objects rendered. void