POV-Ray : Newsgroups : povray.binaries.images : A Quandary Server Time
3 Oct 2024 13:18:52 EDT (-0400)
  A Quandary (Message 20 to 29 of 29)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Ryan Mooney
Subject: Re: A Quandary
Date: 7 Feb 2000 15:14:02
Message: <389DD83E.E61B875C@earthlink.net>
Are the spheres reflecting the point light(s) to the ground...?
Is the checkered plane transparent...?

Mark Wagner wrote:

> Matt Giwer wrote in message <389BD097.7720A07E@ij.net>...
> >Mark Wagner wrote:
> >
> >> Note the colors of the spheres.
> >> Note the colors on the ground.
> >>
> >> How was this done?
> >
> >    Colored lights layed out with the color of the
> >light a mirror image of the colors of the spheres.
>
> No.  The spheres are all white.
>
> Mark


Post a reply to this message

From: Ron Parker
Subject: Re: A Quandary
Date: 7 Feb 2000 17:01:33
Message: <slrn89ug27.v8.ron.parker@ron.gwmicro.com>
On Sun, 6 Feb 2000 00:36:43 -0500, Mark Wagner wrote:
>
>Matt Giwer wrote in message <389BD097.7720A07E@ij.net>...
>>Mark Wagner wrote:
>>
>>> Note the colors of the spheres.
>>> Note the colors on the ground.
>>>
>>> How was this done?
>>
>>    Colored lights layed out with the color of the
>>light a mirror image of the colors of the spheres.
>
>
>No.  The spheres are all white.

I assume you used light groups.  The "red" sphere is set to interact with
the red light (and the yellow and magenta lights) and set to block light
from all but the red light.

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

From: Peter Popov
Subject: Re: A Quandary
Date: 7 Feb 2000 19:48:24
Message: <kE+fOMYLhc1fn=OzmkHQM0SMigXL@4ax.com>
On Sun, 6 Feb 2000 00:37:03 -0500, "Mark Wagner"
<mar### [at] gtenet> wrote:

>
>Peter Popov wrote in message ...
>>The spheres have no_shadow and there are 7 spotlights (one is
>>negative) of equal radius and falloff?
>
>
>No, only point lights were used.
>
>Mark

intersection
{
  union
  {
    sphere { 2*x, 1 pigment { Red } }
    sphere { 2*x, 1 rotate 60*y pigment { Yellow } }
    ...
  }
  plane { y, 0 }
  pigment { White }
}

?

This should report the CSG as a single infinite object (untested).


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

From: Mark Wagner
Subject: Re: A Quandary
Date: 8 Feb 2000 01:12:47
Message: <389fb3df@news.povray.org>
Ron Parker wrote in message ...
>I assume you used light groups.  The "red" sphere is set to interact with
>the red light (and the yellow and magenta lights) and set to block light
>from all but the red light.


Close, but no cigar.

Mark


Post a reply to this message

From: Mark Wagner
Subject: Re: A Quandary
Date: 8 Feb 2000 01:12:48
Message: <389fb3e0@news.povray.org>
Simen Kvaal wrote in message <389eefc9@news.povray.org>...
>You used six lights whose colors add up to 1 and placed them above the
>spheres, so that the spheres appear to be transparent when you look at the
>shawows. Right?
>
Wrong.

Mark


Post a reply to this message

From: Mark Wagner
Subject: Re: A Quandary
Date: 8 Feb 2000 01:14:37
Message: <389fb44d@news.povray.org>
Peter Popov wrote in message ...
>intersection
>{
>  union
>  {
>    sphere { 2*x, 1 pigment { Red } }
>    sphere { 2*x, 1 rotate 60*y pigment { Yellow } }
>    ...
>  }
>  plane { y, 0 }
>  pigment { White }
>}
>
>?
>
>This should report the CSG as a single infinite object (untested).



Yes, it is reported as a single object.  No, it is not reported as infinite.
No, this is not how I did it.

Mark


Post a reply to this message

From: Peter Popov
Subject: Re: A Quandary
Date: 8 Feb 2000 04:41:28
Message: <FeSfOAJidJ0V6RMRF70ZfOlBlOIQ@4ax.com>
On Tue, 8 Feb 2000 01:16:26 -0500, "Mark Wagner"
<mar### [at] gtenet> wrote:

>>No, this is not how I did it.

I am sure someone with more math brains than myself can come up with
an isosurface function to colorise the floor plane in this way.


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

From: Josh English
Subject: Re: A Quandary
Date: 9 Feb 2000 17:41:16
Message: <38A1ED0D.67A5CA8@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?

Mark Wagner wrote:

> Note the colors of the spheres.
> Note the colors on the ground.
>
> How was this done?
>
> Mark
>
>  [Image]

--
Josh English
eng### [at] spiritonecom
"May your hopes, dreams, and plans not be destroyed by a few zeros."


Post a reply to this message

From: Mark Wagner
Subject: Re: A Quandary
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

From: Josh English
Subject: Re: A Quandary
Date: 10 Feb 2000 12:07:08
Message: <38A2F047.77972134@spiritone.com>
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] 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 */

--
Josh English
eng### [at] spiritonecom
"May your hopes, dreams, and plans not be destroyed by a few zeros."


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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