POV-Ray : Newsgroups : povray.advanced-users : Help needed! Forest memory problems : Re: Help needed! Forest memory problems - I give up! Server Time
29 Jul 2024 10:28:32 EDT (-0400)
  Re: Help needed! Forest memory problems - I give up!  
From: Christoph Hormann
Date: 20 Dec 2002 07:42:04
Message: <3E03101C.C39DAD00@gmx.de>
Tek wrote:
> 
> Hmm... my code doesn't quite look like that. I do this:
> 
> #declare Mesh = #include "mesh.inc"
> 
> #declare Forest =
>     union {
>         #local nTree = 0;
>         #while (nTree < 8000)
>             object { Mesh transform { ... } }
> 
>             #local nTree = nTree + 1;
>         #end
>     }
> 
> The union couldn't cause problems could it?

Well, if it does not work i would try dropping the union.  As i said the
code i suggested has proven to work in many cases.  

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 07 Dec. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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