--- ray/src/hd/rhd_ogl.c 1999/06/28 16:30:22 3.17 +++ ray/src/hd/rhd_ogl.c 1999/07/19 20:15:16 3.18 @@ -867,8 +867,8 @@ setglpersp() /* set perspective view in GL */ dev_zmin = odev.v.vfore; if (odev.v.vaft > FTINY) dev_zmax = odev.v.vaft; - if (dev_zmin < dev_zmax/100.) - dev_zmin = dev_zmax/100.; + if (dev_zmin*500. < dev_zmax) + dev_zmax = dev_zmin*500.; setzrat(); xmax = dev_zmin * tan(PI/180./2. * odev.v.horiz); xmin = -xmax;