Cloning pfGeodes 243K per geodegroup?

New Message Reply Date view Thread view Subject view Author view

Jonas Andersson (jonasa++at++cs.umu.se)
Tue, 2 Jun 1998 13:03:53 +0200 (MDT)


Questions:

Are there any routines that will duplicate a geode and its geosets?
How can I compute/check how much space a given subtree is using?
Is it reasonably that two groups and three geodes with three quads each
needs 243K of memory?

Problem:
I have made my own geode-duplication routine which simply
creates a new geode with new geosets.
When using this routine I am first cloning two groups using
pfNode->clone() then calling my duplication routine on three geodes
containing three quads each with normals, colors, and texture coords..

After one such clone and duplication _243K_ has been used!!!

This definitely does not seem reasonably to me, can anybody come up with
any idea or explanation for this?
I am not copying geostates so the memory can not be due to multiple
texture copies.

PS. I have estimated the amount of memory used by counting made clones for
different PFSHAREDSIZES, for example 1600 clones with arenasize ~323Mb.DS.

Thanks in advance for any replies
  Jonas

________________________________________________________________________________
Jonas Andersson jonasa++at++cs.umu.se, http://www.cs.umu.se/~jonasa

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:30 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.