Marcus Barnes (marcus++at++multigen.com)
Mon, 8 Sep 1997 10:56:43 -0700
By default, the OpenFlight loader cleans the scene graph. This means that all
unneccesary nodes are deleted for performance reasons. If you _really_ need,
you can disabled this mode (see below) ...
> void
> InitScene(void)
> {
> int loaded = 0;
> pfScene *scene = NULL;
>
> pfuTraverser trav;
>
> /* Read in any databases specified on cmd line */
> ViewState->scene = scene = pfNewScene();
/* don't clean the scene graph */
pfdConverterMode( "flt", PFFLT_CLEAN, PF_OFF );
> /* Read all files mentioned on command line */
> loaded = initSceneGraph(scene);
... and also don't call pfdCleanTree() which does similar things.
Regards.
--
+ Marcus Barnes, Technical Staff mailto:marcus++at++multigen.com +
+ Multigen Inc. http://www.multigen.com +
+ 550 S. Winchester Blvd. phoneto:1-408-556-2654 +
+ Suite 500 San Jose CA 95128 faxto:1-408-261-4102 +
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:53 PDT