Deleting a model

New Message Reply Date view Thread view Subject view Author view

Svend Tang-Petersen (svend++at++digi.lego.com)
Tue, 17 Mar 1998 20:40:12 +0100


Hi pfAll

I'm loading a number of pfb files in a loop to extract information from
the files without attaching
the model to the scene, i.e. something like:

 for ( i = 0; i < max; i++ ) {
     model = pfdLoadFile( filename[i] );
     // extract information from model
  }

which is the correct method of deleting and freeing the memory
referenced by model before
the next iteration, i.e. is there a method that recursively deletes and
frees the nodes referenced by
model and its children ?

--

Svend Tang-Petersen, MSc

LEGO Kloevermarken 120 7190 Billund Denmark

e-mail: svend++at++digi.lego.com

======================================================================= 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:02 PDT

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