POV-Ray : Newsgroups : povray.binaries.images : Ping Pong: Glory Challenge Server Time
3 Nov 2024 01:10:32 EDT (-0400)
  Ping Pong: Glory Challenge (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: alphaQuad
Subject: Ping Pong: Glory Challenge
Date: 19 May 2008 14:20:01
Message: <web.4831c3ec665cb59488f191100@news.povray.org>
I'd bet money it can be done, tho I cannot make it at this time.

http://news.povray.org/*/attachment/%3C48202ea0%40news.povray.org%3E/glory.jpg
Glory is your shadow encircled in a rainbow.

Radiosity would not change the colors

"refraction on" was tried.

Need to use a prism shape?


Here's my glider if anyone wants to try this:


Post a reply to this message


Attachments:
Download 'glory3.jpg' (40 KB)

Preview of image 'glory3.jpg'
glory3.jpg


 

From: alphaQuad
Subject: Re: Ping Pong: Glory Challenge
Date: 19 May 2008 14:25:00
Message: <web.4831c5d7d2ad962988f191100@news.povray.org>
, and the code for that image


Post a reply to this message


Attachments:
Download 'glory3.pov.txt' (101 KB)

From: Cousin Ricky
Subject: Re: Ping Pong: Glory Challenge
Date: 19 May 2008 14:50:00
Message: <web.4831cb92d2ad962985de7b680@news.povray.org>
"alphaQuad" <alp### [at] earthlinknet> wrote:
>
> Radiosity would not change the colors
>
> "refraction on" was tried.
>
> Need to use a prism shape?

Have you tried dispersion? (Since that is what a rainbow is.)


Post a reply to this message

From: alphaQuad
Subject: Re: Ping Pong: Glory Challenge
Date: 19 May 2008 19:30:00
Message: <web.48320d0ad2ad962988f191100@news.povray.org>
"Cousin Ricky" <ric### [at] yahoocom> wrote:

> Have you tried dispersion? (Since that is what a rainbow is.)

tried:
  interior { ior 1.33 caustics 1 dispersion 1.01 dispersion_samples 9 }
  interior { ior 1.33 caustics 1 dispersion 1.1 dispersion_samples 100 }
  (just more render time)

still nothing

obviously this is where knowing what you're doing comes in handy.


something about the layer, I havent a clue.

I dont really care, but for the group at least. Something they might use one
day.


Post a reply to this message

From: alphaQuad
Subject: Re: Ping Pong: Glory Challenge
Date: 19 May 2008 21:35:00
Message: <web.48322a86d2ad962988f191100@news.povray.org>
If your'e interested in this and want answers, they might be found here.
Only had the time to grab and render:
galilean_view_eyepiece.pov

http://www.arachnoid.com/raytracing/telescope1.html

Sweet info page from what I've seen so far, I'll need to spend more time on it


Post a reply to this message


Attachments:
Download 'galilean_view_eyepiece.png' (28 KB)

Preview of image 'galilean_view_eyepiece.png'
galilean_view_eyepiece.png


 

From: Alain
Subject: Re: Ping Pong: Glory Challenge
Date: 19 May 2008 23:36:30
Message: <4832473e@news.povray.org>
alphaQuad nous illumina en ce 2008-05-19 19:28 -->
> "Cousin Ricky" <ric### [at] yahoocom> wrote:
> 
>> Have you tried dispersion? (Since that is what a rainbow is.)
> 
> tried:
>   interior { ior 1.33 caustics 1 dispersion 1.01 dispersion_samples 9 }
>   interior { ior 1.33 caustics 1 dispersion 1.1 dispersion_samples 100 }
>   (just more render time)
> 
> still nothing
> 
> obviously this is where knowing what you're doing comes in handy.
> 
> 
> something about the layer, I havent a clue.
> 
> I dont really care, but for the group at least. Something they might use one
> day.
> 
> 
> 
You don't need to use caustics here.

-- 
Alain
-------------------------------------------------
"We returned the General to El Salvador, or maybe Guatemala, it's difficult to 
tell from 10,000 feet."           -- Anon.


Post a reply to this message

From: Cousin Ricky
Subject: Re: Ping Pong: Glory Challenge
Date: 20 May 2008 11:20:00
Message: <web.4832eb72d2ad962985de7b680@news.povray.org>
"alphaQuad" <alp### [at] earthlinknet> wrote:
> I'd bet money it can be done, tho I cannot make it at this time.
>
> http://news.povray.org/*/attachment/%3C48202ea0%40news.povray.org%3E/glory.jpg
> Glory is your shadow encircled in a rainbow.

Here's a proof-of-concept:

#ifndef (Disp) #declare Disp = 0; #end
#ifndef (Reps) #declare Reps = 20; #end
#declare Spacing = <sqrt(3), 0, 1>;

global_settings { assumed_gamma 1 max_trace_level 60 }

camera
{  location Reps * Spacing.x * 2 * y
   look_at 0
   angle 30
   right image_width * x
   up image_height * y
}

light_source { Reps * 1000 *y, rgb 1 }

sky_sphere
{  pigment { gradient y color_map { [0 rgb 0.85][1 rgb 0.50] } }
}

plane { y, -1 pigment { rgb 1 } }

#declare t_Drop = texture
{  pigment { rgbt 1 }
   finish
   {  reflection { 0 1 fresnel } conserve_energy
      specular 1 roughness 0.001
   }
}
#declare i_Drop = interior
{  ior 1.333
   #if (Disp) dispersion 1 + Disp * 0.007 dispersion_samples 10 #end
}
#declare m_Drop = material { texture { t_Drop } interior { i_Drop } }

#declare Half_sheet = union
{  #declare I = 0;
   #while (I < Reps)
      #declare J = 0;
      #while (J < Reps)
         sphere { <J, 0, I> * Spacing, 0.4999 }
         #declare J = J + 1;
      #end
      #declare I = I + 1;
   #end
   translate (1 - Reps) / 2 * Spacing
}

#declare Sheet = union
{  object { Half_sheet translate Spacing/4 }
   object { Half_sheet translate -Spacing/4 }
}

object
{  Sheet
   material { m_Drop }
}

This first image has no dispersion, and was run with declare=Reps=3 on the
command line.


Post a reply to this message


Attachments:
Download 'glory-poc-ed.jpg' (6 KB)

Preview of image 'glory-poc-ed.jpg'
glory-poc-ed.jpg


 

From: Cousin Ricky
Subject: Re: Ping Pong: Glory Challenge
Date: 20 May 2008 11:25:01
Message: <web.4832ece6d2ad962985de7b680@news.povray.org>
"Cousin Ricky" <ric### [at] yahoocom> wrote:
> "alphaQuad" <alp### [at] earthlinknet> wrote:
> > I'd bet money it can be done, tho I cannot make it at this time.
> >
> > http://news.povray.org/*/attachment/%3C48202ea0%40news.povray.org%3E/glory.jpg
> > Glory is your shadow encircled in a rainbow.
>
> Here's a proof-of-concept:

This second image has 10 times the dispersion of water (according to some number
i once saw somewhere in the POV-Ray material).  It was run with declare=Reps=3
declare=Disp=10 on the command line.


Post a reply to this message


Attachments:
Download 'glory-poc-10.jpg' (13 KB)

Preview of image 'glory-poc-10.jpg'
glory-poc-10.jpg


 

From: alphaQuad
Subject: Re: Ping Pong: Glory Challenge
Date: 20 May 2008 16:25:01
Message: <web.48333228d2ad9629f0ad1f150@news.povray.org>
Glider was a scripted output, a script written before I understood much about
pov that has become clear.

output was:
union {
mesh {


today I'd change union to object, (or put matrix inside mesh and declare the
mesh) being that there is no union of triangles which are inside mesh{}. It
could be said the glider code is wrong (doh) even tho it works.


Before I am corrected, all apologies for producing ugly code. I'll do better in
the future.


Post a reply to this message

From: milco2006
Subject: Re: Ping Pong: Glory Challenge
Date: 21 May 2008 13:00:01
Message: <web.4834542dd2ad9629705d13a50@news.povray.org>
I am finding this whole thread pretty interesting and it is something which i
have looked into before. Having played around with these features and building
a setup which has the technicalities of a rainbow taken into account I created
the following image a while back.

Notably this is not quite what you are looking for, the light source comes
through the plane (by means of the blue hole) and the rainbow emerges due to
bending the light back (This may seem a strange idea however if you imagine
that the screen is the observer then by looking at the screen we see the light
that would be seen by the observer).

The set up is similar to what you are trying. This thread has prompted me to
play around with the set up and I have found that oddly enough the setup does
require that caustics be on, this doesnt make sense but appears to be the case.
I will be continuing to play around so will let everyone know what I find with
further investigation.

Malcolm


Post a reply to this message


Attachments:
Download 'caustic rainbow4.jpg' (155 KB)

Preview of image 'caustic rainbow4.jpg'
caustic rainbow4.jpg


 

Goto Latest 10 Messages Next 3 Messages >>>

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