Ran Yakir (rany++at++bvr.co.il)
Mon, 02 Mar 1998 09:56:57 +0200
> On Feb 22, 7:57am, Ran Yakir wrote:
> >Is there a way to get the feature id (FID) of a face from the Multigen
> >loader ?
>
> yes, but you must have the OpenFlight loader revision R15.4d or newer.
>
> >I saw a load mode called PFFLT_SORT_FEATURE in pfflt.h. Does that mean
> >that the loader can sort by feature also ?
>
> yes. the feature object includes the FID and SMC fields from the OpenFlight
> face and/or light point attributes. you must enable this loader mode in order
> for this data to be attached to the geostates and/or lpstates. the result will
> be state objects that are uniquely separable by FID and SMC.
>
> >Does that mode imply that I can then get the pfFeature from the pfGeoState's
> ^^^^^^^^^
> no ... fltFeature
>
> >user data ?
>
> yes. however, note that this is a loader extension to the geostate.
>
After I got it working, just one minor doccumentation mistake: the fltFeature is
attached to the geostate's user data slot #1, and not the default user data (slot
#0), as doccumented.
Ran
--
__ | Ran Yakir
/_) _ __ \ / _ / o __ | BVR Technologies Ltd.
/ )_ (_(_) ) \/ (_(_/<_(_)( |
_/ |
-------------------------------------+--------------------------------
Phone : | E-mail : rany++at++bvr.co.il
Work : 972-3-5715671 #166,#177 |
Res. : 972-9-7489974 |
Fax : 972-3-5715668 |
=======================================================================
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:56:57 PDT