POV-Ray : Newsgroups : povray.unofficial.patches : photon mapping problem : Re: photon mapping problem Server Time
2 Sep 2024 08:19:08 EDT (-0400)
  Re: photon mapping problem  
From: Nathan Kopp
Date: 5 Apr 2000 09:19:11
Message: <38eb3d4f$1@news.povray.org>
daishi <das### [at] x-pressnet> wrote...
> b) never stops building the map, it gets to about 78500 photons hit the
> object and then it just continues to shoot photons, but the number of
> photons that actully strike the object never goes up and it just keeps
> shooting photons at it until it runs out of memory (it tried to
> allocated 327mb for the photon map)

If you're using spacing (as opposed to count), use a larger spacing.  Also,
try manually bounding the object (as previously suggested, and make sure you
tell POV not to remove your manual bounds).  Finally, use an autostop of 0.5
or so.  Autostop of zero doesn't work because the object has a hole in the
middle.  If the photons quit striking the object, POV shouldn't try to
allocate any more memory.  WinMegaPov displays a total number of photons as
it builds the map, and if that number stops going up (meaning that the
remaining photons are missing their target), you shouldn't get any more
memory allocated for the photon map.

-Nathan


Post a reply to this message

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