From: Dorosky, Christopher G (christopher.g.dorosky++at++lmco.com)
Date: 10/15/2005 06:37:30
Hi,
I have way to much culture to load at once.
To page, I have been detaching nodes from the group, and deleting.
Everything is fine except pfTextures and pfGeoStates.
Here is a short piece of the algorithm
Main Group -> for all Children -> for all Geodes -> for all Geosets
Delete Gset Attrs
Get Geostate
Set Geostate attr to NULL
Get texture from geostate
Set texture attr to null
pfDelete texture
pfDelete geostate
Do all the remove childs, etc... above and pfDelete geoset, geodes,
groups, etc...
Everything works except the pfDelete of Geostates and textures.
I always have a reference count of 1.
I am doing pfdLoadFiles on .flt objects.
I am using Performer 3.2 for Linux.
Color Index attributes for geosets also fail to delete (getRef is >0)
I also tried detaching, putting stuff in a list to delete later, etc....
No avail.
I am pretty experienced Performer / OSG programmer, so I don't think
this is anything trivial.
Is there a bug deleting previously attached geostates or textures?
If not, how on earth can I find who is referencing the textures or
geostates?
Even a pfprint (full_debug_verbose) shows no reference to the hex
address of the offending items.
Help!
Thanks,
Chris
This archive was generated by hypermail 2b29 : Sat Oct 15 2005 - 06:37:53 PDT