ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/glrad.c
(Generate patch)

Comparing ray/src/util/glrad.c (file contents):
Revision 3.10 by gwlarson, Thu Oct 15 08:30:48 1998 UTC vs.
Revision 3.12 by gwlarson, Fri Jan 29 15:28:36 1999 UTC

# Line 8 | Line 8 | static char SCCSid[] = "$SunId$ SGI";
8   * Program to display Radiance scene using OpenGL.
9   */
10  
11 #include "radogl.h"
12 #include "view.h"
13 #include "paths.h"
11   #include <sys/types.h>
12   #include <GL/glx.h>
13   #ifndef NOSTEREO
14   #include <X11/extensions/SGIStereo.h>
15   #endif
16   #include <ctype.h>
17 + #include "radogl.h"
18 + #include "view.h"
19 + #include "paths.h"
20   #include "glradicon.h"
21  
22   #ifndef MAXVIEW
# Line 161 | Line 161 | char   *argv[];
161          dev_open(radfile = argv[i]);
162                                          /* load octree or scene files */
163          if (octree != NULL) {
164 <                displist = rgl_octlist(octree, NULL, NULL);
164 >                displist = rgl_octlist(octree, NULL, NULL, NULL);
165                  startrtrace(octree);
166          } else
167 <                displist = rgl_filelist(nscenef, scene);
167 >                displist = rgl_filelist(nscenef, scene, NULL);
168                                          /* set initial view */
169          dev_view(currentview < 0 ? &thisview : vwl[currentview].v);
170                                          /* input/render loop */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines