POV-Ray : Newsgroups : povray.binaries.images : A Quandary : Re: A Quandary Server Time
3 Oct 2024 15:12:01 EDT (-0400)
  Re: A Quandary  
From: Mark Wagner
Date: 10 Feb 2000 01:09:06
Message: <38a25602@news.povray.org>
/*
Josh English wrote in message <38A### [at] spiritonecom>...
>sphere { <1,0,0> 0.5 pigment { rgb 1 } light_group "one" }
>light_source { <1,3000,0> rgb <1,0,0> groups "one"
>                      projected_through { sphere { <1,0,0> 0.51 } light
>group "one" }
>
>This at least creates the same effect, but the colors get washed out.
>Perhaps you fix this with radiosity?


Get rid of the projected_through and you've got it.

The source:
*/
sphere{<2,0,0>, 1 light_group "A" pigment{rgb 1} rotate y*60}
sphere{<2,0,0>, 1 light_group "B" pigment{rgb 1} rotate y*120}
sphere{<2,0,0>, 1 light_group "C" pigment{rgb 1} rotate y*180}
sphere{<2,0,0>, 1 light_group "D" pigment{rgb 1} rotate y*240}
sphere{<2,0,0>, 1 light_group "E" pigment{rgb 1} rotate y*300}
sphere{<2,0,0>, 1 light_group "F" pigment{rgb 1} rotate y*0}
sphere{<0,0,0>, 1 light_group "G" pigment{rgb 1} }

plane{y, -6 pigment{checker rgb 1, rgb .9 }}

light_source{ <100,300,0>*100, red 1   groups "C,D,E,G"  rotate y*240}
light_source{ <100,300,0>*100, green 1 groups "E,F,A,G"  rotate y*0}
light_source{ <100,300,0>*100, blue 1  groups "A,B,C,G"  rotate y*120}

camera{ location <0,5,10> look_at y*-2}
/* The colors come from color addition and color subtraction.*/

/* Mark */


Post a reply to this message

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