POV-Ray : Newsgroups : moray.win : color multipling : Re: color multipling Server Time
28 Jul 2024 12:26:30 EDT (-0400)
  Re: color multipling  
From: ryan constantine
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

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