Re: Multiple sensor views - single scene graph

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Wed, 28 Sep 94 11:11:08 -0700


The real solution is coming in 2.0: indexable geostates. All you'd
need to do then is to change the geostate table when switching between
FLIR and OTW. You can even use the same scene graph in different
channels with different geostate tables.

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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:33 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.