|
![](/i/fill.gif) |
"Terabyte" <nomail@nomail> wrote:
> Hello,
>
> I'm kinda new here, but not new to Pov-Ray.
>
> I'm interested in rendering a menger scene, but up until now I'm stuck by at a
> Menger Sponge of level 7.
>
> Level 0 to Level 6 together in one scene so far is no problem (takes 1 Gig of
> RAM, and 1,5 hour to render a 3200x2400 AA 0.3 scene, with shiny floor and
> texture), but at level 7 I keep getting Out Of Memory errors.
>
> So my question is: Since Menger Sponges are recursive (in fact it's only one
> single cube, copied millions of times), is there a possibility, to save RAM by
> "telling" Pov-Ray to use the same object over and over again, instead of
> creating different copies of the same cube?
>
> Thanks in advance for any help,
>
> Terabyte
Povray only does that for polygon meshes, sadly. It's called mesh instancing.
Thankfully, a cube is pretty simple to write as a mesh.
Post a reply to this message
|
![](/i/fill.gif) |