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

Comparing ray/src/hd/rhd_glx.c (file contents):
Revision 3.25 by gwlarson, Fri Dec 18 11:56:09 1998 UTC vs.
Revision 3.27 by gwlarson, Sun Jan 3 13:40:25 1999 UTC

# Line 308 | Line 308 | register VIEW  *nv;
308                          dev_input();    /* get resize event */
309                  }
310                  copystruct(&odev.v, nv);        /* setview() already called */
311 +        }
312   #ifdef STEREO
313 <                copystruct(&vwright, nv);
314 <                d = eyesepdist / sqrt(nv->hn2);
315 <                VSUM(vwright.vp, nv->vp, nv->hvec, d);
316 <                /* setview(&vwright);   -- Unnecessary */
313 >        copystruct(&vwright, nv);
314 >        d = eyesepdist / sqrt(nv->hn2);
315 >        VSUM(vwright.vp, nv->vp, nv->hvec, d);
316 >        /* setview(&vwright);   -- Unnecessary */
317   #endif
317        }
318          wipeclean();
319          return(1);
320   }
321  
322  
323 < dev_section(ofn)                /* add octree for geometry rendering */
324 < char    *ofn;
323 > dev_section(gfn, pfn)           /* add octree for geometry rendering */
324 > char    *gfn, *pfn;
325   {
326          /* unimplemented */
327   }
# Line 714 | Line 714 | register VIEW  *vp;
714                  dev_zmax = 100.;
715          } else {
716                  dev_zmin = 0.5*mindpth;
717 <                dev_zmax = 1.5*maxdpth;
718 <                if (dev_zmin > dev_zmax/5.)
719 <                        dev_zmin = dev_zmax/5.;
717 >                dev_zmax = 5.0*maxdpth;
718          }
719          if (odev.v.vfore > FTINY)
720                  dev_zmin = odev.v.vfore;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines