Changing colors of models

New Message Reply Date view Thread view Subject view Author view

tmartin++at++metricsys.com
Tue, 9 Feb 1999 09:29:00 -0600 (CST)


We our doing a port of our application from OpenGVS to Performer. We need
to import MultiGen models of aircraft in our Performer application. The
users like to color code these models dynamically. That is the users choose
the color of the aircraft from the application code. The aircraft models
have 3 LODs the highest level having texture, the 2 lower levels are
untextured models. The untextured models need to change color the textured
models should not. In the current OpenGVS application we put the comment
#ignore_color in the LOD bead, (LOD attribute dialog box under comments or
attribute extensions) in MultiGen and use a glColor call in a draw callback
on the model in OpenGVS to change the color to what the user has selected.
        In Performer, when I use a glColor call in a draw callback on that
aircraft model the color will not change. So I was wondering if you know
the appropriate way to change the color of the aircraft dynamically?
        Any help you can provide is greatly appreciated.
Thanks.
Tammy C. Martin
tmartin++at++metricsys.com
Metric Systems Corporation
749 N.W. Beal Parkway
Fort Walton Beach, Florida 32547-3076
850-302-3785

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Feb 09 1999 - 07:30:28 PST

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