POV-Ray : Newsgroups : povray.binaries.images : 7*55,000 triangles and a blob (~170kau) Server Time
2 Oct 2024 04:20:01 EDT (-0400)
  7*55,000 triangles and a blob (~170kau) (Message 11 to 11 of 11)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Chris Huff
Subject: Re: 7*55,000 triangles and a blob (~170kau)
Date: 28 Jun 2000 12:28:30
Message: <chrishuff-E53771.11283228062000@news.povray.org>
In article <395a220b@news.povray.org>, "Bob Hughes" 
<per### [at] aolcom?subject=PoV-News:> wrote:

> Disks are just plain slow for using as "virtual" memory anyway. From 
> what I've seen personally, the declaration of a set of objects and 
> reusing them simply eats up the memory far more than seems necessary. 

Actually, if the objects are meshes, declaring and reusing them is much 
more efficient, since each "clone" shares the same mesh data. The larger 
the mesh and the more clones, the more efficient the memory usage.


> It might be because of the final placements of the previously defined 
> things that makes memory increase so drastically.  It would seem to 
> reason that if you have one complete object made and then use it 
> twice or two thousand times that it would remain nearly the same 
> consumption of memory as a single instance of that object, plus some 
> transformation info is all.  So I think POV-Ray must be using almost 
> the same amount of memory to recreate each new "clone" as it would 
> were there as many written out in the scene file individually.

It is this way for most objects, only a few objects(meshes, and maybe 
height fields) share data. Also, I think image_maps are shared, as well 
as other uses of images, though I could be wrong.

-- 
Christopher James Huff - Personal e-mail: chr### [at] maccom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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