|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
Thanks in Advance Arne Kleinophorst
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
if it's more than 1.0 after you multiply like ken suggested, you can
click on the range button and set the range of the colors all the way up
to ten i think. i do it all the time.
Ken wrote:
>
> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
ryan constantine schrieb:
>
> if it's more than 1.0 after you multiply like ken suggested, you can
> click on the range button and set the range of the colors all the way up
> to ten i think. i do it all the time.
>
well, that helped a bit, but still it's looking different, thanks
anyway. I think i can do it somehow with the accustomied range.
Arne Kleinophorst
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|