POV-Ray : Newsgroups : povray.binaries.images : Yet another ruddy knot : Re: Yet another ruddy knot Server Time
4 Nov 2024 20:13:18 EST (-0500)
  Re: Yet another ruddy knot  
From: Bill Pragnell
Date: 13 Feb 2006 04:45:00
Message: <web.43f05483fb3f67d2731f01d10@news.povray.org>
Florian Brucker <tor### [at] torfboldcom> wrote:
> Hm, those memory values are certainly strange. Just to make sure: You're
> using the mesh-copie mechanism (i.e. declaring and referencing objects)?

Yes, but the single knot was not #declared first, and the others are
#declared as unions of meshes. It looks as if (for meshes, at least) the
declaration takes up the same amount of space as the instantiation, so I've
actually got three knots in memory for the 2-knot case and four knots in
memory for the 3-knot case. So large unions should probably not be
#declared and copied unless the code takes up a *lot* of space!

After playing with the composition of my scene a little, I think I may get
away with just one of each type. This will probably fit into memory without
too much of a squeeze...

Bill


Post a reply to this message

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