RE: Model textures

New Message Reply Date view Thread view Subject view Author view

Wear, Mark (mark.wear++at++lmco.com)
Thu, 21 Oct 1999 07:50:39 -0600


I can use two separate channels, one color and one monochrome. I'm not very
familiar with the use of a pfColortable. Is it possible to map a RGBA color
texture to a monochrome texture using one? The man page suggests (to me at
least) that the table takes an intensity or color component value and maps
it to a color vector. I don't see how to use that to map a color texture to
a monochrome texture. What am I missing?

Mark E. Wear
Senior Electronic Systems Engineer:
Real-Time Simulation
Lockheed Martin Missiles and Fire Control
(972) 603-2758
mark.wear++at++lmco.com

> ----------
> > I need to be able to render both color and monochrome versions of the
> same
> > OpenFlight model simultaneously. I would like to derive the monochrome
> > version from a model with color texture during initialization. Are there
> any
> > shortcuts to doing this?
> >
> > Thanks,
> > Mark
>
> I suggest you modify the color table at runtime. Is it possible that you
> use
> two separate channels (one color, one monochrome)? That way you won't
> have to
> toggle the state every time you draw the object.
>
> You might also be able to do this by using color conversion while doing a
> glCopyPixel but even if it is possible, it would probably be slower than
> using
> the color table.
>
> regards, Sylvain


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu Oct 21 1999 - 06:52:02 PDT

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