From: Ippolito, Marco (MARCO.IPPOLITO++at++ca.com)
Date: 01/24/2001 13:12:18
Hello Tammi,
Unfortunately, there is no way to access any of the IR data associated with a face at this time. You can, however, use a flt pfdConverterMode flag to install a callback that will place the SMC and FID attributes in the pfUserData field of the geometry's pfGeoState, adding the line below after init, but before pfdLoadFile is called should do the trick!
pfdConverterMode_flt( PFFLT_SORT_FEATURE, FLT_FTR_FACES );
To retrieve the data use:
-----Original Message-----
From: Martin, Tammy [mailto:tammy.martin++at++baesystems.com]
Sent: Wednesday, January 24, 2001 2:17 PM
To: info-performer++at++sgi.com
Subject: IR codes and IR materials
Hi,
In MultiGen Creator there is a way to assign an Infared code ( 0-4095) and a
infared material property that is different from the properties of the
visual database . My question is how do I access this data inside
Performer? Is there anything already inside the Performer API that deals
with these values or does something need to be written to access this data
from an OpenFlight database? Any help that can be provided would be greatly
appreciated.
Thanks,
Tammy Martin
Tammy.Martin++at++baesystems.com
-----------------------------------------------------------------------
List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
Open Development Project: http://oss.sgi.com/projects/performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2b29 : Wed Jan 24 2001 - 13:16:22 PST