Marcus Barnes (marcus++at++multigen.com)
Tue, 7 Nov 1995 10:24:56 -0800
[munch]
> > > 2). How does one 'get a handle' on Multigen models when
> > > they are loaded. What I want to do (and yes I am aware of
>
> > been posted. There is also the registerNode callback mechanisms
> > provided with the multigen loader, but I've never tried this.
>
> It worked quite well for me but I had to disable the PFFLT_FLATTEN
> and PFFLT_CLEAN modes of the loader. Otherwise you are not sure if
> the names (and maybe other attributes) you give to your models in
> the modeller will survive the loader(MultiGen 14.1).
PFFLT_FLATTEN tells the OpenFlight loader to call pfFlatten() for you.
pfFlatten's clones branch nodes and preserves their names. However, in 1.2
there's a bug where it breaks. If I remember correctly, it breaks when a pfSCS
has a pfDCS as its first child and the pfDCS has right hand siblings. The
siblings are not correctly transformed.
PFFLT_CLEAN tells the loader to delete all unneccesary pfGroup's and pfSCS
(flattened to identity) nodes. In the R14.2 loader the CB_CLEANNODE callback
allows the user to veto the deletion.
>
> Markus Nikolopoulos
> Ericsson InfoCom AB
> Box 1038
> S-65115 KARLSTAD
> SWEDEN
>
> Tel. +46 (0)54 294832
> Fax. +46 (0)54 294001
> e-mail:mani++at++einku.ericsson.se
>
>-- End of excerpt from Markus Nikolopoulos
Regards.
--
__ ___ ____ _ ______ Marcus Barnes, Member Tech. Staff
/ |/ /_ __/ / /_( ) ____/__ ____ MultiGen Inc, 550 S. Winchester
/ /|_/ / / / / / __/ / / __/ _ \/ __ \ Blvd. STE 500, San Jose CA 95128
/ / / / /_/ / / / / / /_/ / __/ / / / PH:1-408-556-2654 FX:1-408-261-4102
/_/ /_/\__,_/_/\_\/_/\____/\___/_/ /_/ EMAIL: marcus++at++engr.multigen.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:01 PDT