|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
RAY <RAY### [at] yahoocom> wrote:
> So there are no visible reasons for POV to calculate photons as particles,
> as waves are more realistic for photons?
Didn't you read what I wrote?
For caustics, which photons are used for, it doesn't matter how you model
the light. It's just that modelling light as rays is easier and faster and
more accurate.
Why do something a lot harder and slower to get the exact same image (or
even a worse image)?
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> > So there are no visible reasons for POV to calculate photons as
particles,
> > as waves are more realistic for photons?
>
> Didn't you read what I wrote?
> For caustics, which photons are used for, it doesn't matter how you
model
> the light. It's just that modelling light as rays is easier and faster and
> more accurate.
> Why do something a lot harder and slower to get the exact same image (or
> even a worse image)?
To do realistic refraction (two slit experiment) and if you can have the
camera rays do this, bending of light around objects (it's there, just VERY
slight).
--
__________________
RAY
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> >Would it be possible to simulate photons with the wave model of light?
I'm
> >not a programmer, but I think this can be done.
>
> Frequency and phase, and thus interference, can be calculated quite
> easily using the wave propagation equation. All you need is to convert
> the rgb color of a ray into spectral data <g>
Yes, I you could use the irid_wavelength for interference and diffraction
> As of wave effects such as diffraction, I suppose the right answer
> would be "no."
I once saw some diffraction equations on a website. They were only for
slits, but I bet there are some formulas somewhere.
You could make a nice CD this way (or a diffraction grating) and have real
effects.
--
__________________
RAY
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
RAY <RAY### [at] yahoocom> wrote:
> To do realistic refraction (two slit experiment)
That's not refraction but interference, which is a completely different
phenomenon.
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"RAY" <RAY### [at] yahoocom> wrote in message news:3c995155@news.povray.org...
> To do realistic refraction (two slit experiment) and if you can have the
> camera rays do this, bending of light around objects (it's there, just
VERY
> slight).
This is not refraction, but interference. Check Young's Experiment on this
subject.
Maan
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> That's not refraction but interference, which is a completely different
> phenomenon.
The light refracts through the slits, causing the light not to be two
parallel lines.
--
__________________
RAY
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3c9a743a$1@news.povray.org>, "RAY" <RAY### [at] yahoocom>
wrote:
> > That's not refraction but interference, which is a completely different
> > phenomenon.
> The light refracts through the slits, causing the light not to be two
> parallel lines.
That isn't refraction, it is diffraction. Refraction is bending of light
at the interface of two media with different optical densities (which
doesn't have anything to do with their physical density).
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>That isn't refraction, it is diffraction
They all sound the same ;-)
--
__________________
RAY
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
RAY wrote:
> Would it be possible to simulate photons with the wave model of light? I'm
> not a programmer, but I think this can be done. Also, are there any
It is possible. Here is how I did it (crappily) a good while ago:
1. Sample a wavefront into a 2D matrix of complex values. This is
your light source.
2. Propagate this through the scene by either integration in the
space-domain (costly) or an appropriate fourier transform in
the frequency-domain.
3. Every intersection with an interface is a scalar adjustment to
the matrix.
4. Finally run the matrix thru a simulated lens to generate an
image.
Modern computers are not yet there to do this on anything but the
most primitive test scenes (ie Youngs slits experiment)
-tore
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Do you have a pic of the results? I'm very interested in this kind of
experiments.
--
Apache
http://geitenkaas.dns2go.com/experiments/
apa### [at] yahoocom
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |