From: Eric Heft (eheft++at++dnaco.net)
Date: 05/21/2001 10:45:57
Hello,
I need to convert a database to a "greenscale". I've search
the performer archives and found this quote:
> No, there is no call that does this, but you could traverse
> the scenegraph, extract all colors from the materials, and
> replace the material colors with shades of grey.
>
> Take a look at the documentation for indexed pfGeoStates
> (man pfGeoState and pfChannel)
Does anyone have a code snips which traverse the scenegraph?
I've inserted models into the scene graph and maniputed the
DCS nodes but its been a couple years.
My quick hack was using glColorMask to disable the red and
blue channels but that really doesn't do the trick :(
Thank you for your help,
Eric
This archive was generated by hypermail 2b29 : Mon May 21 2001 - 10:43:30 PDT