POV-Ray : Newsgroups : povray.unofficial.patches : Bug in UVPov? : Bug in UVPov? Server Time
2 Sep 2024 18:21:39 EDT (-0400)
  Bug in UVPov?  
From: Mark Wagner
Date: 18 Aug 1999 02:26:23
Message: <37ba520f@news.povray.org>
When I render the following scene as a 512x384 image with the parameter +k
of 0.54 or 0.86, or probably several other values, UVPOV 5.2 crashes with
the error "UVPOV caused an invalid page fault in module UVPOV.EXE at
015f:00442445." while rendering line 147 of the image.  However, if any of
the lines in the photons block in the global_settings is commented out, or
if a value for +k less than 0.54 is used, this error does not occur.

#include "textures.inc"

#declare phd = 1;

global_settings{
    photons{
      gather 20, 100
      radius 0.1*phd, 2, 0.1*phd
      autostop 0
      jitter .4
      expand_thresholds 0.2, 40
    }
}
camera{
    location <17,10,0>
    look_at <0,0,0>
}

light_source{ <27,0,0> rgb 1 }

box{ <-1,-1,-1>,<0,1,1>
    pigment{rgb 1}
    finish{ambient .2 diffuse .5}
}

intersection
{
    sphere{ <1,0,0>, 1.75 }
    sphere{ <-1,0,0>, 1.75 }
    texture{ Glass2 }
    interior{ior 1.5}
    translate x*(10*sin(clock*2*pi))
    photons{
      refraction on
      separation 0.02*phd
    }
}

--
main(i,_){for(!_||(--i,main(i+2,i["FHhhTBFHdhTBFBQT\2TBF&]zRF$hh*:FHhh+&FBIs
bDF"]));i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_^=_,"\n")),_/=2);} /*-
Mark -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.