POV-Ray : Newsgroups : povray.beta-test : Out of memory with many transparent objects : Out of memory with many transparent objects Server Time
28 Sep 2024 15:04:12 EDT (-0400)
  Out of memory with many transparent objects  
From: Christian Froeschlin
Date: 19 Oct 2010 06:03:29
Message: <4cbd6cf1$1@news.povray.org>
I seem to be hitting a wall when stacking more than 64
transparent objects ("Fatal error in renderer: Out of memory").
The actual memory used by the process was only a few MB. Also,
it doesn't help to set "max_trace_level" to a larger value,
but AFAIU passing through transparency without reflection no
longer adds to the trace level in 3.7 anyway (using beta 39).

#declare SHEET = plane
{
   z, 0
   pigment {color rgbt 1}
}

#declare NUM = 65; // 64 seems ok
#declare I = 0;
#while (I < NUM)
   object {SHEET translate z}
   #declare I = I + 1;
#end

In case you're wondering, I was trying to simulate
furry objects by stacking thinly stranded textures ;)


Post a reply to this message

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