POV-Ray : Newsgroups : povray.newusers : memory use : Re: memory use Server Time
2 Nov 2024 11:23:07 EDT (-0400)
  Re: memory use  
From: Felbrigg
Date: 24 Mar 2004 04:52:16
Message: <40615a50@news.povray.org>
I dont know the answer, but if you knock up a couple of scenes with multiple
instances of each case you should be able to compare the stats in the
messages window.


"Bill Hails" <bil### [at] europeyahoo-inccom> wrote in message
news:406146ef@news.povray.org...
> Hi,
> hopefully this is a simple question.
> I'm not asking about specifics of rotation,
> translation, texture etc. but in general about
> object modifiers.
>
> My question is:
> In general does something like:
>
> #local A = object {
>         Blah
>         rotate 20 * x
>         texture { ... }
> }
> #declare B = object {
>         A
>         translate 10 * z
> }
>
> consume more memory than the equivalent:
>
> #declare B = object {
>         Blah
>         rotate 20 * x
>         texture { ... }
>         translate 10 * z
> }
>
> or does the one get flattened to the
> other internally?
>
> I'm asking because I have a gazillion
> copies of this kind of thing and I'm
> starting to run into swap.
>
> -- 
> Bill Hails


Post a reply to this message

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