POV-Ray : Newsgroups : moray.win : color multipling Server Time
28 Jul 2024 10:30:44 EDT (-0400)
  color multipling (Message 1 to 4 of 4)  
From: Arne Kleinophorst
Subject: color multipling
Date: 1 Oct 2000 21:00:29
Message: <39D7DE96.137B740D@debitel.net>
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

From: Ken
Subject: Re: color multipling
Date: 2 Oct 2000 00:29:17
Message: <39D80E1E.EF5D9CF@pacbell.net>
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

From: ryan constantine
Subject: Re: color multipling
Date: 2 Oct 2000 22:56:36
Message: <39D94AF7.6EBD0E9@yahoo.com>
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

From: Arne Kleinophorst
Subject: Re: color multipling
Date: 3 Oct 2000 04:27:59
Message: <39D998FC.1D409ED@debitel.net>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.