|
![](/i/fill.gif) |
Arne Kleinophorst wrote:
>
> Hi there,
>
> got a problem with a premade povray scene i wanted to export to moray.
> Now i have a texture which is using a predefined color (rgb
> <bla,bla,bla>) and then uses this color as a reference, but multiplies
> it.
>
> e.g.: color*0.6
>
> is there any way i can do that with moray or which is the correct
> formula to calculate those values by hand?
> Help would be appreciated
POV-Ray as you guessed takes care of the math for you. If you need
to convert a multiplied color vector <> then you will have to do
so for each color in the vector statement.
Examples:
rgb< 1, 1, 1>*0.5 becomes rgb< 0.5, 0.5, 0.5>
rgb< 1, 0.5, 0.25>*0.5 becomes rgb< 0.5, 0.25, 0.125>
etc...
--
Ken Tyler
Post a reply to this message
|
![](/i/fill.gif) |