POV-Ray : Newsgroups : povray.binaries.images : New Planting Method : Re: New Planting Method Server Time
2 May 2024 10:07:05 EDT (-0400)
  Re: New Planting Method  
From: Christoph Hormann
Date: 11 Sep 2005 11:35:02
Message: <dg1in5$a72$1@chho.imagico.de>
Norbert Kern wrote:
> I made some trials.
> You are right with the rough proportionality, if you don't reach memory 
> limits.
> Surprisingly it takes only 600000 tree copies to reach the limits of my 2 GB 
> machine. Why?
> If I subtract the base scene file memory need, Povray (v3.5) needs 3 KB per 
> tree.
> The tree is a mesh2 object with 57000 faces, 23 MB memory need and two 
> simple textures.
> For a simple pointer 3 KB seems very much.

Not a simple pointer, you need a lot of other stuff (The transform for 
each instance alone is 256 byte (2*4*4*8)).

IIRC you save a lot if your mesh is textured as a whole and not 
internally (Mesh textures are copied).

Christoph

-- 
POV-Ray tutorials, include files, Landscape of the week:
http://www.tu-bs.de/~y0013390/ (Last updated 24 Jul. 2005)
MegaPOV with mechanics simulation: http://megapov.inetart.net/


Post a reply to this message

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