| |
 |
|
|
Science Forum Index » Optics Forum » backward ray tracing
Page 2 of 2 Goto page Previous 1, 2
|
| Author |
Message |
| Dave Bell |
Posted: Fri Feb 22, 2008 1:18 am |
|
|
|
Guest
|
Skywise wrote:
Quote: Helpful person <rrllff@yahoo.com> wrote in news:3cc0512f-a127-4ca8-8cf3-
ea94cff7ef4b@b29g2000hsa.googlegroups.com:
There was definately an accuracy problem in the old days of double
precision ForTran programs. However, although this should not still
be the case I have found it to be so.
Haven't they heard of arbitray precision? A fractal program I had
from the old days of DOS could do arbitrary precision to mind-numbingly
large values that were only limited by your CPU power and patience.
Back in the days of 386's, you had to be REALLY patient.
Brian
You don't know patience until you tried doing math on an 8080 at 2 MHz!
Dave
..... kids these days. Humph! |
|
|
| Back to top |
|
| Helpful person |
Posted: Fri Feb 22, 2008 3:15 am |
|
|
|
Joined: 22 Jun 2004
Posts: 678
|
On Feb 21, 7:31 pm, Phil Hobbs
Quote: Helpful person wrote:
I believe that thin films with absorbing (metal) layers are not the
same if reversed.
As Prof. S. pointed out, you have to replace loss with gain when you do
the time reversal.
Cheers,
Phil Hobbs
I'm not familiar with Prof S., probably after my time. However, I can
imagine how the mathematics could be made to work. (Brings to mind
negative refractive indices after reflections.) |
|
|
| Back to top |
|
| Helpful person |
Posted: Fri Feb 22, 2008 8:19 am |
|
|
|
Joined: 22 Jun 2004
Posts: 678
|
On Feb 22, 12:16 pm, AES <sieg...@stanford.edu> wrote:
Quote: In article
c76cef5f-e264-4f26-be29-e759e9033...@h11g2000prf.googlegroups.com>,
Helpful person <rrl...@yahoo.com> wrote:
I'm not familiar with Prof S., probably after my time.
I'm afraid I was probably *before* your time . . .
--Prof S. (still around, though fading steadily)
Then you must remember using Conrady's formulae for ray tracing using
Monroe and Marchant calculators. (Just a little before my time.) |
|
|
| Back to top |
|
| AES |
Posted: Fri Feb 22, 2008 1:16 pm |
|
|
|
Guest
|
In article
<c76cef5f-e264-4f26-be29-e759e9033ff5@h11g2000prf.googlegroups.com>,
Helpful person <rrllff@yahoo.com> wrote:
Quote: I'm not familiar with Prof S., probably after my time.
I'm afraid I was probably *before* your time . . .
--Prof S. (still around, though fading steadily)
[But despite that, if anyone can point to a good, clear textbook
discussion of time-reversal symmetry in e-m and optics problems, that's
a favorite of theirs, and that specifically includes loss and gain, I'd
be glad to hear of it. I'm pretty sure I understand the topic, but I'd
be glad to check my understanding against someone else.] |
|
|
| Back to top |
|
| AES |
Posted: Fri Feb 22, 2008 1:18 pm |
|
|
|
Guest
|
In article <13rsnc2fcocme25@corp.supernews.com>,
Skywise <into@oblivion.nothing.com> wrote:
Quote: Except that linear gain (e.g., laser gain) has to be turned into linear
loss, and v.v., on time reversal -- which can make for some interesting
and even controversial discussions when one or both are present.
Entropy?
Hadn't thought of that . . . |
|
|
| Back to top |
|
| Timo A. Nieminen |
Posted: Fri Feb 22, 2008 2:50 pm |
|
|
|
Guest
|
On Fri, 22 Feb 2008, AES wrote:
Quote: [But despite that, if anyone can point to a good, clear textbook
discussion of time-reversal symmetry in e-m and optics problems, that's
a favorite of theirs, and that specifically includes loss and gain, I'd
be glad to hear of it. I'm pretty sure I understand the topic, but I'd
be glad to check my understanding against someone else.]
I don't know of any [1]. Perhaps you should write one?
[1] I know two good research-oriented books on symmetry in general in
electromagnetism, but I wouldn't call them clear.
--
Timo Nieminen - Home page: http://www.physics.uq.edu.au/people/nieminen/
E-prints: http://eprint.uq.edu.au/view/person/Nieminen,_Timo_A..html
Shrine to Spirits: http://www.users.bigpond.com/timo_nieminen/spirits.html |
|
|
| Back to top |
|
| AES |
Posted: Fri Feb 22, 2008 3:14 pm |
|
|
|
Guest
|
In article
<1541eaea-7a55-4ec7-bcc8-9a0bf85936c7@q33g2000hsh.googlegroups.com>,
Helpful person <rrllff@yahoo.com> wrote:
Quote: Then you must remember using Conrady's formulae for ray tracing using
Monroe and Marchant calculators. (Just a little before my time.)
Nope -- but only because I've never personally done ray tracing.
But there was indeed a room upstairs in the lab with half a dozen to a
dozen young women (at least, almost all women) staffers sitting at huge
Monroe and Marchant calculators doing numerical integration,
differential equation solving, and the like for grad student and faculty
researchers.
[It was next door to the "Drafting Room", with the big drawing tables
and draftsmen, making plots of the results .] |
|
|
| Back to top |
|
| Lineshape |
Posted: Fri Feb 22, 2008 4:52 pm |
|
|
|
Guest
|
On Feb 22, 4:50 pm, Phil Hobbs <pcdhSpamMeSensel...@pergamos.net>
wrote:
Quote: Skywise wrote:
Phil Hobbs <p...@SpamMeSenseless.pergamos.net> wrote in
news:47BDC86B.4050502@SpamMeSenseless.pergamos.net:
Okay, since we've done the OP's homework for him: Since ray tracing is
time reversal invariant, including scattering and thin film effects, why
doesn't backward ray tracing accurately render the visual image of a
caustic or a colour shift?
snip
In POVRay, the software I've been playing with for years, caustics
used to be simulated and were confined to being within the shadow
of the object.
Now, real caustics can be computed. The software first does a
relatively low resolution forward trace from the light source,
through the object casting the caustic, and onto any surfaces it
then encounters. This information is stored and used to modify the
results of the backward rays later on. Now, when we trace the above
example ray to the surface, there is information about the result
of the caustics. Due to the resolution of the forward ray image,
the result may be interpolated.
This technique can be utilized to simulate quite realistic scenery.
I myself once made a rotating diamond animation that was just
stunning. All the sparkles, reflections, color refraction, caustics,
etc... were calculated with amazing reality.
The price you pay is that the more realistic you want the caustics
there's an exponential cost in CPU time.
Okay, so if I understand this correctly, the problem is not so much the
caustics themselves as it is the diffuse scattering surface that makes
them visible. To model the caustic with the same accuracy as the main
ray trace, you'd need as many rays per unit area on the diffuser as on
the eyeball, which could get expensive. To do it efficiently, you'd
need to trace forwards to get the caustic, and then trace backwards to
see what it looks like to the eye.
Cheers,
Phil Hobbs
Yes, that's a pretty good way of putting it.
I've been out of computer graphics for years, but I think in CG the
more common term for "forward ray tracing" is "radiosity", and
"backward ray tracing" is just called "ray tracing". IIRC, radiosity
algorithms for illumination are generally camera viewpoint
independent, while ray tracing algorithms intrinsically are not.
Initial overhead is larger for radiosity, but if illumination is
constant and only the viewpoint changes, it can be less expensive
overall.
A search on radiosity and ray tracing will "shed more light" on this.
Frank |
|
|
| Back to top |
|
| Phil Hobbs |
Posted: Fri Feb 22, 2008 5:50 pm |
|
|
|
Guest
|
Skywise wrote:
Quote: Phil Hobbs <pcdh@SpamMeSenseless.pergamos.net> wrote in
news:47BDC86B.4050502@SpamMeSenseless.pergamos.net:
Okay, since we've done the OP's homework for him: Since ray tracing is
time reversal invariant, including scattering and thin film effects, why
doesn't backward ray tracing accurately render the visual image of a
caustic or a colour shift?
snip
In POVRay, the software I've been playing with for years, caustics
used to be simulated and were confined to being within the shadow
of the object.
Now, real caustics can be computed. The software first does a
relatively low resolution forward trace from the light source,
through the object casting the caustic, and onto any surfaces it
then encounters. This information is stored and used to modify the
results of the backward rays later on. Now, when we trace the above
example ray to the surface, there is information about the result
of the caustics. Due to the resolution of the forward ray image,
the result may be interpolated.
This technique can be utilized to simulate quite realistic scenery.
I myself once made a rotating diamond animation that was just
stunning. All the sparkles, reflections, color refraction, caustics,
etc... were calculated with amazing reality.
The price you pay is that the more realistic you want the caustics
there's an exponential cost in CPU time.
Okay, so if I understand this correctly, the problem is not so much the
caustics themselves as it is the diffuse scattering surface that makes
them visible. To model the caustic with the same accuracy as the main
ray trace, you'd need as many rays per unit area on the diffuser as on
the eyeball, which could get expensive. To do it efficiently, you'd
need to trace forwards to get the caustic, and then trace backwards to
see what it looks like to the eye.
Cheers,
Phil Hobbs |
|
|
| Back to top |
|
| Skywise |
Posted: Fri Feb 22, 2008 10:51 pm |
|
|
|
Guest
|
Dave Bell <dbell@TheSPAMFREEBells.net> wrote in news:ABtvj.6994$xq2.465
@newssvr21.news.prodigy.net:
Quote: Skywise wrote:
Helpful person <rrllff@yahoo.com> wrote in news:3cc0512f-a127-4ca8-8cf3-
ea94cff7ef4b@b29g2000hsa.googlegroups.com:
There was definately an accuracy problem in the old days of double
precision ForTran programs. However, although this should not still
be the case I have found it to be so.
Haven't they heard of arbitray precision? A fractal program I had
from the old days of DOS could do arbitrary precision to mind-numbingly
large values that were only limited by your CPU power and patience.
Back in the days of 386's, you had to be REALLY patient.
Brian
You don't know patience until you tried doing math on an 8080 at 2 MHz!
Dave
.... kids these days. Humph!
My first CPU was 8 bit at .89 Mhz. Ahhhh...the good ol' days.
(I'm sure there's folks who predate us both)
Brian
--
http://www.skywise711.com - Lasers, Seismology, Astronomy, Skepticism
Seismic FAQ: http://www.skywise711.com/SeismicFAQ/SeismicFAQ.html
Quake "predictions": http://www.skywise711.com/quakes/EQDB/index.html
Sed quis custodiet ipsos Custodes? |
|
|
| Back to top |
|
| Skywise |
Posted: Fri Feb 22, 2008 11:00 pm |
|
|
|
Guest
|
Phil Hobbs <pcdhSpamMeSenseless@pergamos.net> wrote in news:13rugujjvpubfd9
@corp.supernews.com:
Quote: Okay, so if I understand this correctly, the problem is not so much the
caustics themselves as it is the diffuse scattering surface that makes
them visible. To model the caustic with the same accuracy as the main
ray trace, you'd need as many rays per unit area on the diffuser as on
the eyeball, which could get expensive. To do it efficiently, you'd
need to trace forwards to get the caustic, and then trace backwards to
see what it looks like to the eye.
That's pretty much it.
If the the object casting the caustics is distant or small in the
scene, you can get away with a low resolution forward trace. But
if you have a closeup of the object is question (like my diamond)
then you need all the forward rays you can get or else the pattern
seen by the backwards rays will be pixelated.
I haven't played with POVRay in a while, so I think I'll try to
whip a demo of this if I can remember how.
In the mean time, if you want to see some amazing examples of
this totally open source programs capabilities, take a gander over
to http://www.povray.org/ and check out the Hall Of Fame gallery
on the right side.
Brian
--
http://www.skywise711.com - Lasers, Seismology, Astronomy, Skepticism
Seismic FAQ: http://www.skywise711.com/SeismicFAQ/SeismicFAQ.html
Quake "predictions": http://www.skywise711.com/quakes/EQDB/index.html
Sed quis custodiet ipsos Custodes? |
|
|
| Back to top |
|
| Harvey Spencer |
Posted: Fri Feb 22, 2008 11:35 pm |
|
|
|
Guest
|
ZEMAX is prone to giving inaccurate answers?
"Helpful person" <rrllff@yahoo.com> wrote in message
news:1cb9b251-2763-4111-8f60-900806b8fbde@e60g2000hsh.googlegroups.com...
On Feb 21, 11:32 am, surface2air <johnnas...@gmail.com> wrote:
Quote: can any on explain what this phenomenon actually is and why its better
than forward ray tracing.
In analyzing and designing an optical system one should always (if
possible) trace rays towards the short conjugate. This gives better
accuracy in the calculations. (This is easily seen in Zemax which
seems very prone to giving inaccurate answers.) |
|
|
| Back to top |
|
| Helpful person |
Posted: Sat Feb 23, 2008 3:31 am |
|
|
|
Joined: 22 Jun 2004
Posts: 678
|
On Feb 22, 2:14 pm, AES <sieg...@stanford.edu> wrote:
Quote: In article
1541eaea-7a55-4ec7-bcc8-9a0bf8593...@q33g2000hsh.googlegroups.com>,
Helpful person <rrl...@yahoo.com> wrote:
Then you must remember using Conrady's formulae for ray tracing using
Monroe and Marchant calculators. (Just a little before my time.)
Nope -- but only because I've never personally done ray tracing.
But there was indeed a room upstairs in the lab with half a dozen to a
dozen young women (at least, almost all women) staffers sitting at huge
Monroe and Marchant calculators doing numerical integration,
differential equation solving, and the like for grad student and faculty
researchers.
[It was next door to the "Drafting Room", with the big drawing tables
and draftsmen, making plots of the results .]
Well, I sit corrected. You do predate me. |
|
|
| Back to top |
|
| |
Page 2 of 2 Goto page Previous 1, 2
All times are GMT - 5 Hours
The time now is Fri Jul 25, 2008 7:46 pm
|
|