ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/rhdobj.h
(Generate patch)

Comparing ray/src/hd/rhdobj.h (file contents):
Revision 3.3 by gwlarson, Thu Aug 27 19:33:28 1998 UTC vs.
Revision 3.6 by greg, Sat Feb 22 02:07:24 2003 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1998 Silicon Graphics, Inc. */
2 <
3 < /* SCCSid "$SunId$ SGI" */
4 <
1 > /* RCSid: $Id$ */
2   /*
3   * Header file for object display routines for rholo drivers.
4   */
# Line 44 | Line 41 | int
41   dobj_command(cmd, args)         : check/run object display command
42   char    *cmd, *args;            : command name and argument string
43  
44 < Check to see if this is an object display command, and return the command
45 < number after running it if it is, or -1 if it isn't.  Error messages should
44 > Check to see if this is an object display command, and return -1 if
45 > it isn't.  If it is a valid command that results in some visible
46 > change, return non-zero, otherwise return 0.  Error messages should
47   be printed with error(COMMAND,err).
48  
49  
# Line 61 | Line 59 | of the intersected object is returned, or "" if none.
59   then all visible objects are checked, but the name is not returned.
60  
61  
62 < void
62 > int
63   dobj_render()                   : render visible objects to OpenGL
64  
65   Renders all display objects using OpenGL, assuming desired view has
66   been set.  This routine also assumes that the tone-mapping library
67   is being used to set exposure, and it queries this information to
68 < adjust light sources as necessary for illuminated objects.
68 > adjust light sources as necessary for illuminated objects.  Returns
69 > the number of objects rendered.
70  
71  
72   void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines