[info-performer] pfTexture swallows my Memory

Date view Thread view Subject view Author view

From: Ludwig, Thomas (Thomas.Ludwig++at++dlr.de)
Date: 06/14/2004 07:03:26


Hi,
I am trying to write my own texture-paging-system for aerial-
photos and facing the problem of ongoing memory-consumption.
 
I build a quadtree-structure with a pfTexture in every leaf. By
testing against the viewfrustum I decide which to load and which
to give up. Depending on the distance to the viewpoint I load
different texture-qualities. If the viewpoint comes closer to a texture
I replace it with a better version using setImage().
 
By now everything works fine, but everytime I use setImage() my
software swallows more and more memory. I tried a dozen combinations
of freeImage(), subload(), setImage(), freeGLHandle(), etc. but there
seems to be no remedy...
 
Could someone give me a hint or maybe give me a view on the inner
structure of setImage()?
 
Thanks for any help,
Thomas Ludwig
 
Tim Rambau
German Aerospace Center DLR
Member of the Helmholtz Association
Institut of Flight Guidance
Germany
mail: thomas.ludwig++at++dlr.de


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Jun 14 2004 - 07:04:56 PDT