Jim Helman (jimh++at++surreal)
Wed, 28 Sep 94 11:11:08 -0700
If you don't need *simultaneous* FLIR and OTW views, you can do OK in
1.2. Just traverse the scene graph and build up a list of all
pfGeoStates with both OTW and FLIR pfTextures. When you want to
switch, just blast through the list setting the pfTexture for each
pfGeoState with pfGStateAttr. Caveats: Switching will cause a large
pause for texture download unless both sets of textures are resident
in the pipe. When MPed, unless you hold off the CULL and DRAW (e.g.
don't call pfFrame for a couple frame times), you may end up drawing
the scene with a mixed set of textures for a frame since pfGeoStates
are not multibuffered. Or you could do the switch at the beginning of
the CULL or CULLDRAW.
rgds,
-jim helman
jimh++at++surreal.asd.sgi.com
415/390-1151
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:33 PDT