Multiple presentation of the same geometry in different channels.

New Message Reply Date view Thread view Subject view Author view

Oyvind Roa (oyvind.roa++at++ks-t.no)
Tue, 21 Jul 1998 13:49:06 +0200


Hello all,

I am currently working on a tank (German LEO) simulator,
where we have geospesific terrain. Our database supplier
(third part) has delivered the database in 4 versions :
Summer, Summer IR, Winter and Winter IR. All the geometry
are equal in the database versions, the only difference is in
the geostates (textures and for IR also the materials). The tank
simulator cabins have approx. 20 different channels defined, and
one of them simulates an IR (InfraRed) monitor.

To me it seems stupid to load the geometry twice (which I currently
have to do) to be able to view the same terrain just with a different
presentation (geostates) in one or more of the channels. It might
get even worse on my instructor host computer which should be able
to arbitrarily monitor any ongoing exercise, which again means that
one or more of the database tiles might be loaded in all versions
simultaneously(4 times).

The difference between Summer and Winter is only textures, so I
tried to use pfTexList, and just switching them with pfTexFrame.
This works fine from APP, but takes effect in all channels. Does
anyone know if is possible display different textures in different
channels simultaneously ?

When it comes to the IR versions I also have to change the material
between channels. The way to do this seems to have a global geostate
table. I have briefly seen from the manuals that this should be possible,
but is it possible to switch it per. channel (preferably in the chan trav
callback).

pfClone would not help I guess, since geodes are shared and geostates
are associated with geodes ?

If anyone have worked with the same problems, I would appreciate a lot
any response which might lead me to a solution were I do not have to load
the same geometry several times.

Thanks in advance,
Oyvind

----------------------------------------------------------------
Oyvind Roa
Senior Software Engineer

Kongsberg Defence & Aerospace A/S
P.O. Box 1003
3600 Kongsberg
NORWAY

E-maill : oyvind.roa++at++kongsberg.com
----------------------------------------------------------------

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


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:57:43 PDT

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