21 |
|
#define DO_NCMDS 10 /* number of object display commands */ |
22 |
|
|
23 |
|
/* commands entered on stdin only */ |
24 |
< |
#define DO_INIT {"load","unload","xform","move","unmove","dup",\ |
24 |
> |
#define DO_INIT {"load","clear","xform","move","unmove","dup",\ |
25 |
|
"show","light","hide","object"} |
26 |
|
|
27 |
|
/******************************************************************* |
61 |
|
then all visible objects are checked, but the name is not returned. |
62 |
|
|
63 |
|
|
64 |
< |
void |
64 |
> |
int |
65 |
|
dobj_render() : render visible objects to OpenGL |
66 |
|
|
67 |
|
Renders all display objects using OpenGL, assuming desired view has |
68 |
|
been set. This routine also assumes that the tone-mapping library |
69 |
|
is being used to set exposure, and it queries this information to |
70 |
< |
adjust light sources as necessary for illuminated objects. |
70 |
> |
adjust light sources as necessary for illuminated objects. Returns |
71 |
> |
the number of objects rendered. |
72 |
|
|
73 |
|
|
74 |
|
void |