|
 |
OOOOH.. I was so close. Projected_through was the only way I could get the
shadow to be colored properly, with out it the colors of the shadows seemed
to be rotated 180*y under their spheres....
I personally want to thank you for posting a challenge that forced me to
look into the newer features of MegaPov that I probably wouldn't have looked
at before. It was a learning experience.
Mark Wagner wrote:
> /*
> Josh English wrote in message <38A### [at] spiritone com>...
> >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 */
--
Josh English
eng### [at] spiritone com
"May your hopes, dreams, and plans not be destroyed by a few zeros."
Post a reply to this message
|
 |