POV-Ray : Newsgroups : povray.text.scene-files : Memory(optimization) help. : Memory(optimization) help. Server Time
28 Jul 2024 22:20:27 EDT (-0400)
  Memory(optimization) help.  
From: Spider
Date: 27 Apr 1999 21:10:32
Message: <37265076.74F7658@bahnhof.se>
Hello.
I've been working a bit with the creation of undergrowth for a scene. mostly to
see how It'll look, but anyhow.

This scene doesn't take that very long to parse, but the thing I need help on is
the memory-useage.

As it is currently used, the file creates 10(variable called mI) objects in an
array, then it will create 15*15(mXYZ) copies of theese(looping through them, to
get variety) 

All of the objects in the array are pretextured, and I've unioned as many of
them as possible when creating the copies to reduce the load of translating
them.

Now I wonder, is there a way to make this more memory-efficient?

Attached are the scene-file and the include file(updated) 

Stats currently:
16 129 objects uses 21 426 188bytes memory..

The overhang is bad.....
any ideas/commetns are appreciated..

-- 
//Spider
        [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
                "Marian"
        By: "Sisters Of Mercy"


Post a reply to this message


Attachments:
Download 'land1.pov.txt' (2 KB) Download 'recfrac21.inc.txt' (7 KB)

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