POV-Ray : Newsgroups : povray.newusers : Repeated objects and Memory : Re: Repeated objects and Memory Server Time
5 Sep 2024 00:19:13 EDT (-0400)
  Re: Repeated objects and Memory  
From:
Date: 28 Mar 2002 13:11:42
Message: <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.