POV-Ray : Newsgroups : povray.newusers : Matte white material Server Time
5 Nov 2024 05:25:42 EST (-0500)
  Matte white material (Message 1 to 2 of 2)  
From: Eric
Subject: Matte white material
Date: 26 Apr 2004 21:55:00
Message: <web.408dbc7da242639a1eeaa5a70@news.povray.org>
I want to create a simple scene with a matte white object (in my case some
text) illuminated by a red, a green and a blue light.  I can't seem to come
up with a material definition that works like it would in real life (i.e.
the part closest to the red light being red, etc.).

How can I do this?

Thanks,

Eric


Post a reply to this message

From: Hughes, B 
Subject: Re: Matte white material
Date: 27 Apr 2004 00:20:14
Message: <408ddf7e$1@news.povray.org>
"Eric" <pov### [at] johannsenus> wrote in message
news:web.408dbc7da242639a1eeaa5a70@news.povray.org...
> I want to create a simple scene with a matte white object (in my case some
> text) illuminated by a red, a green and a blue light.  I can't seem to
come
> up with a material definition that works like it would in real life (i.e.
> the part closest to the red light being red, etc.).


The diffuse finish is the part of the material that will be most affected by
the light sources. Although the real problem is that lights don't fade with
distance, so each has equal intensity for all distances (if all begin
equal). The following might look okay.

light_source {<-10,10,-10>, color Red fade_distance 8 fade_power 2}
light_source {<0,10,-15>, color Green fade_distance 8 fade_power 2}
light_source {<+10,10,-10>, color Blue fade_distance 8 fade_power 2}

Spotlights would work even better, that way you have more precise control
where the colors go.
-- 
Bob H.
http://www.3digitaleyes.com


Post a reply to this message

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