Marcus Barnes (marcus++at++multigen.com)
Thu, 7 Nov 1996 18:31:03 -0800
The loader doesn't use the object flags, but it does export them to the
application via the loader callback. Once you have the flag values you can
control the drawing of the object's pfGeode using traversal masks or by
inserting your own pfSwitch node.
The bit positions and masks for the day/night/dusk flags are (big endian):
not daylight 31 0x80000000
not dusk 30 0x40000000
not night 29 0x20000000
... as interpreted from the OpenFlight spec.
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:53:54 PDT