POV-Ray : Newsgroups : povray.newusers : POV-Ray and Colors Server Time
30 Jul 2024 12:26:32 EDT (-0400)
  POV-Ray and Colors (Message 1 to 3 of 3)  
From: SomeOne
Subject: POV-Ray and Colors
Date: 20 Jun 2004 12:57:34
Message: <40d5c1fe@news.povray.org>
Just a small question from a newbie

Given a glass-prism and a ray of white light. Will the prism split the
lightbeam correctly into its constituent colors?

Spin-off questions would then be if I can specify colors as a table of
wavelengths and relative intensities?

How about HSV or CIELAB values?

Does POV-Ray know Monochromatic light?


-- 
SomeOne


Post a reply to this message

From: Warp
Subject: Re: POV-Ray and Colors
Date: 20 Jun 2004 13:57:41
Message: <40d5d015@news.povray.org>
SomeOne <ask### [at] yahoocouknospam> wrote:
> Given a glass-prism and a ray of white light. Will the prism split the
> lightbeam correctly into its constituent colors?

http://povray.org/documentation/view/3.6.0/80/#s02_05_01_05_i1

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Ross
Subject: Re: POV-Ray and Colors
Date: 21 Jun 2004 10:30:19
Message: <40d6f0fb$1@news.povray.org>
"SomeOne" <ask### [at] yahoocouknospam> wrote in message
news:40d5c1fe@news.povray.org...
> Just a small question from a newbie
>
> Given a glass-prism and a ray of white light. Will the prism split the
> lightbeam correctly into its constituent colors?
>
> Spin-off questions would then be if I can specify colors as a table of
> wavelengths and relative intensities?
>
> How about HSV or CIELAB values?
>
> Does POV-Ray know Monochromatic light?
>
>
> -- 
> SomeOne
>
>

I think there are macros in colors.inc for converting to and from HSV. i
have never used them though.


Post a reply to this message

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