POV-Ray : Newsgroups : povray.general : Too many nested refracting objects? : Re: Too many nested refracting objects? Server Time
1 Aug 2024 14:34:32 EDT (-0400)
  Re: Too many nested refracting objects?  
From: Daniel Hulme
Date: 14 Sep 2005 04:50:21
Message: <20050914095021.15f8ce9b@dh286.pem.cam.ac.uk>
> "Rendering Error: Too many nested refracting objects."

> Is there any way I can get POV-Ray to up the limit on whatever is
> happening? Or a better way to get around the issue? There are probably
> no more than 2-300 overlapping objects in any one ray -- that
> shouldn't be too much to choke a raytracer in this day and age, right?

Get the POV-Ray sources, open source/frame.h, grep for the line
#define MAX_CONTAINING_OBJECTS 100
change it to whatever you feel like and recompile. Don't set it too
high, though, as it will make POV-Ray use quite a bit more memory, and
run slightly slower.

POV-Ray was not written with the zero-one-infinity rule in mind.

-- 
"Of all  things,  good sense is  the most fairly  distributed:  everyone
thinks  he is  so well  supplied  with it  that even  those who  are the
hardest to satisfy in  every other respect never  desire more of it than
they already have."   --  Descartes, 1637      http://surreal.istic.org/


Post a reply to this message

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