POV-Ray : Newsgroups : povray.binaries.images : Checker illusion Server Time
5 Nov 2024 18:23:18 EST (-0500)
  Checker illusion (Message 1 to 9 of 9)  
From: Slime
Subject: Checker illusion
Date: 11 Jul 2005 23:25:02
Message: <42d3380e@news.povray.org>
A version of this has been floating around on the web (google image search
"same color illusion") and I felt like making a raytraced version. (This
might have already been shown here, or even already raytraced by someone
else.)

I used a parallel light source to ensure exact uniform lighting.

I'm not sure mine is as baffling as the original, but maybe that's just
because I've been staring at it too long...

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message


Attachments:
Download 'checkerillusion.jpg' (38 KB)

Preview of image 'checkerillusion.jpg'
checkerillusion.jpg


 

From: Slime
Subject: Re: Checker illusion
Date: 11 Jul 2005 23:26:39
Message: <42d3386f@news.povray.org>
And to help see it...

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message


Attachments:
Download 'checkerillusioncomfirmation.jpg' (8 KB)

Preview of image 'checkerillusioncomfirmation.jpg'
checkerillusioncomfirmation.jpg


 

From: Kyle
Subject: Re: Checker illusion
Date: 11 Jul 2005 23:59:06
Message: <nmf6d193tngem7pdcivosccaa2vpc9r6j0@4ax.com>
Wow, that's pretty cool.  I would have bet they were different colors,
even though I understand why our eyes see the shades differently.  I
actually had to open it in Gimp to see if you were trying to fool us!
;-)  The colors are definitely the same, though.  I like it.


Kyle


Post a reply to this message

From: aaglo
Subject: Re: Checker illusion
Date: 12 Jul 2005 01:25:00
Message: <web.42d353ce88fda25eb3ed5a4f0@news.povray.org>
"Slime" <fak### [at] emailaddress> wrote:
> A version of this has been floating around on the web (google image search
> "same color illusion") and I felt like making a raytraced version. (This
> might have already been shown here, or even already raytraced by someone
> else.)
>
> I used a parallel light source to ensure exact uniform lighting.
>
> I'm not sure mine is as baffling as the original, but maybe that's just
> because I've been staring at it too long...
>
>  - Slime
>  [ http://www.slimeland.com/ ]

The illusion is not new to me. But the thing is, that how did you do it with
pov-ray?!?
By trial and error (I hope not)? :)


My civ3-units - modelled and animated with pov-ray:
http://forums.civfanatics.com/showpost.php?p=2036938&postcount=4


Post a reply to this message

From: Slime
Subject: Re: Checker illusion
Date: 12 Jul 2005 02:03:02
Message: <42d35d16$1@news.povray.org>
> The illusion is not new to me. But the thing is, that how did you do it
with
> pov-ray?!?
> By trial and error (I hope not)? :)

I just had to make sure that POV-Ray's lighting calculations would create
the same colors. So I wanted

dark square color * (light source color * cos(angle to light) * surface
diffuse + surface ambient) = light square color * surface ambient

To simplify this, I made the light source color 1/cos(angle to light):

dark square color * (surface diffuse + surface ambient) = light square color
* surface ambient

I also required that the diffuse + ambient = 1:

dark square color = light square color * surface ambient

So then I was able to choose any diffuse/ambient values as long as they
summed to 1, and as long as the dark square color was the same as the light
square color times the ambient value.

I guess I made this seem pretty complicated. in my head it was a lot
simpler, like "If I make sure the amount of light hitting the surface is
exactly 1, and the color of the dark square is the same as the ambient
light, it will work."

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: PM 2Ring
Subject: Re: Checker illusion
Date: 12 Jul 2005 02:30:00
Message: <web.42d3632488fda25ead93754b0@news.povray.org>
> I guess I made this seem pretty complicated. in my head it was a lot
> simpler, like "If I make sure the amount of light hitting the surface is
> exactly 1, and the color of the dark square is the same as the ambient
> light, it will work."

To a genius, everything is simple. :)

This is one of the most powerful optical illusions I've ever seen. I first
saw it on Pickover's "Reality Carnival" page.

>
>  - Slime
>  [ http://www.slimeland.com/ ]


Post a reply to this message

From: scott
Subject: Re: Checker illusion
Date: 12 Jul 2005 05:03:59
Message: <42d3877f$1@news.povray.org>
Slime wrote:
> A version of this has been floating around on the web (google image
> search "same color illusion") and I felt like making a raytraced
> version. (This might have already been shown here, or even already
> raytraced by someone else.)
>
> I used a parallel light source to ensure exact uniform lighting.
>
> I'm not sure mine is as baffling as the original, but maybe that's
> just because I've been staring at it too long...

It certainly looks pretty good to me.

FYI I have this page bookmarked:

http://www.michaelbach.de/ot/index.html

Has a lot of illusions with good explanations.


Post a reply to this message

From: Jellby
Subject: Re: Checker illusion
Date: 12 Jul 2005 10:40:05
Message: <mv0dq2-f35.ln1@badulaque.unex.es>
Among other things, Slime saw fit to write:

> A version of this has been floating around on the web (google image search
> "same color illusion") and I felt like making a raytraced version. (This
> might have already been shown here, or even already raytraced by someone
> else.)

Brilliant! I've seen a coloured version of this illusion somewhere. It had
two Rubik-like cubes under coloured light, it showed we perceive equal
colours when they're not and vice-versa. Could you do that? ;-)

-- 
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby


Post a reply to this message

From: Dave Matthews
Subject: Re: Checker illusion
Date: 13 Jul 2005 10:10:01
Message: <web.42d5203188fda25e7196f5900@news.povray.org>
"Slime" <fak### [at] emailaddress> wrote:
> I just had to make sure that POV-Ray's lighting calculations would create
> the same colors. So I wanted
>
> dark square color * (light source color * cos(angle to light) * surface
> diffuse + surface ambient) = light square color * surface ambient
>
> To simplify this, I made the light source color 1/cos(angle to light):
>
> dark square color * (surface diffuse + surface ambient) = light square color
> * surface ambient
>
> I also required that the diffuse + ambient = 1:
>
> dark square color = light square color * surface ambient
>
> So then I was able to choose any diffuse/ambient values as long as they
> summed to 1, and as long as the dark square color was the same as the light
> square color times the ambient value.
>
> I guess I made this seem pretty complicated. in my head it was a lot
> simpler, like "If I make sure the amount of light hitting the surface is
> exactly 1, and the color of the dark square is the same as the ambient
> light, it will work."
>
>  - Slime
>  [ http://www.slimeland.com/ ]

That is really excellent, and it's given me a few other ideas....don't know
if they'll work.

Thanks for the picture and the analysis.

Dave Matthews


Post a reply to this message

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