POV-Ray : Newsgroups : povray.newusers : Repeated objects and Memory : Re: Repeated objects and Memory Server Time
5 Nov 2024 05:22:32 EST (-0500)
  Re: Repeated objects and Memory  
From: Chris Becker
Date: 28 Mar 2002 13:26:46
Message: <3ca36066$1@news.povray.org>
This is why I ask, while looking for a tree macro I came upon this page:

http://www.netaxs.com/~ptdawson/ptdtree3.htm

which has a picture with a thousand trees and says that it only takes up the
same amount of memory as one tree. Is this because they're made up of
triangles and not other objects?


news:k2n6augfrg9ter7dvmgs39jumui12m3hq6@4ax.com...
> On Thu, 28 Mar 2002 13:10:08 -0500, "Chris Becker" <cmb### [at] ritedu>
wrote:
> > In a scene I have a rather complex object (aka tree) that I want to
repeat
> > several times. The tree consists of about 40 branches all of which are
the
> > same object. Now, does POV-Ray optimize in that if I use the same object
> > (like with #declare blah = object{ or union{) it will only create one of
> > those in memory and just transform and texture it?
>
> You can simple check this comparing memory usage reported in output after
> rendering of one instance and two insttances of your object. But short
answer
> is: in general it is omptimized only for meshes.
>
> ABX


Post a reply to this message

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