Re: LANG - soli questions

Jai Natarajan ([email protected])
30 Jun 1995 09:24:00 -0700


Reply toP RE>>LANG - soli questions about....

--------------------------------------
Date: 6-30-95 8:41 AM
ToP Jai Natarajan
From: Syndesis Corporation

>>> > How can one convert between an RGB triplet
>>> > representation and a single index as VRML requires ?
>>>
>>> You would have to do a weighted sum. I forget what the formula is,
>>> but it's solithing like aR + bG + cB where a, b, and c sum to 1.00
>>> and their ratio reflects the relative "importance" of each color.

>You mean solithing like (snip):

>Given an RGB value, return its NTSC luminance, calc'd as:

> 0.3 * red + 0.59 * green + 0.11 * blue

Ari these weights standard values ? Could solione give me a reference
for this kind of stuff ?
Thanks
Jai Natarajan