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.24 by gwlarson, Thu Dec 10 10:45:54 1998 UTC vs.
Revision 3.25 by gwlarson, Fri Dec 18 11:56:09 1998 UTC

# Line 320 | Line 320 | register VIEW  *nv;
320   }
321  
322  
323 + dev_section(ofn)                /* add octree for geometry rendering */
324 + char    *ofn;
325 + {
326 +        /* unimplemented */
327 + }
328 +
329 +
330   dev_auxcom(cmd, args)           /* process an auxiliary command */
331   char    *cmd, *args;
332   {
# Line 703 | Line 710 | register VIEW  *vp;
710          double  d, xmin, xmax, ymin, ymax;
711  
712          if (mindpth >= maxdpth) {
713 <                dev_zmin = 0.1;
713 >                dev_zmin = 1.;
714                  dev_zmax = 100.;
715          } else {
716                  dev_zmin = 0.5*mindpth;
717                  dev_zmax = 1.5*maxdpth;
718 <                if (dev_zmin > dev_zmax/100.)
719 <                        dev_zmin = dev_zmax/100.;
718 >                if (dev_zmin > dev_zmax/5.)
719 >                        dev_zmin = dev_zmax/5.;
720          }
721          if (odev.v.vfore > FTINY)
722                  dev_zmin = odev.v.vfore;
723          if (odev.v.vaft > FTINY)
724                  dev_zmax = odev.v.vaft;
725 <        if (dev_zmin < dev_zmax/5000.)
726 <                dev_zmin = dev_zmax/5000.;
725 >        if (dev_zmin < dev_zmax/100.)
726 >                dev_zmin = dev_zmax/100.;
727          xmax = dev_zmin * tan(PI/180./2. * odev.v.horiz);
728          xmin = -xmax;
729          d = odev.v.hoff * (xmax - xmin);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines