Re: about pfGetNodeName

New Message Reply Date view Thread view Subject view Author view

Marcus Barnes (marcus++at++multigen.com)
Mon, 8 Sep 1997 10:56:43 -0700


On Sep 7, 12:23am, czg++at++iname.com wrote:
> But only the names of the groups can be read. What's wrong?

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

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:55:53 PDT

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