![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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](/povray.binaries.images/attachment/%3Cweb.4831c3ec665cb59488f191100%40news.povray.org%3E/glory3.jpg?ttop=443866&toff=3250&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
, and the code for that image
Post a reply to this message
Attachments:
Download 'glory3.pov.txt' (101 KB)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"alphaQuad" <alp### [at] earthlink net> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Cousin Ricky" <ric### [at] yahoo com> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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](/povray.binaries.images/attachment/%3Cweb.48322a86d2ad962988f191100%40news.povray.org%3E/galilean_view_eyepiece.png?ttop=443866&toff=3250&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
alphaQuad nous illumina en ce 2008-05-19 19:28 -->
> "Cousin Ricky" <ric### [at] yahoo com> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"alphaQuad" <alp### [at] earthlink net> 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](/povray.binaries.images/attachment/%3Cweb.4832eb72d2ad962985de7b680%40news.povray.org%3E/glory-poc-ed.jpg?ttop=443866&toff=3250&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Cousin Ricky" <ric### [at] yahoo com> wrote:
> "alphaQuad" <alp### [at] earthlink net> 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](/povray.binaries.images/attachment/%3Cweb.4832ece6d2ad962985de7b680%40news.povray.org%3E/glory-poc-10.jpg?ttop=443866&toff=3250&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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](/povray.binaries.images/attachment/%3Cweb.4834542dd2ad9629705d13a50%40news.povray.org%3E/caustic%20rainbow4.jpg?ttop=443866&toff=3250&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |