Re: need pfColortable help

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Thu, 02 Nov 95 03:56:33 -0800


> The color channel would
> simply use the geometry colors as modelled. For the greyscale channel, I
> would need to use pfColortable(s) to specify the alternative colors.

#1 would work, but the easiest solution would probably be to make all
of the pfGeoSets indexed and place all of the colors into a single
large color array for the entire scene. One approach would use this
array as a pfColortable in the color channel and use a monochrome
version of it as a pfColortable in the gray-scale channel.
Alternately, you could make the color array of pfVec4's the color
attribute array for all of the pfGeoSets and only use a pfColortable
in the gray-scale channel.

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:52:00 PDT

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