POV-Ray : Newsgroups : povray.binaries.images : Photons and media image (~25k) and questions/bug reports (mainly for Nathan) Server Time
2 Oct 2024 18:22:36 EDT (-0400)
  Photons and media image (~25k) and questions/bug reports (mainly for Nathan) (Message 1 to 10 of 16)  
Goto Latest 10 Messages Next 6 Messages >>>
From: Warp
Subject: Photons and media image (~25k) and questions/bug reports (mainly for Nathan)
Date: 27 Mar 2000 08:57:42
Message: <38df68d5@news.povray.org>
I tried the photon mapping in media feature and got this image. The light
reflecting from the lens looks very cool.
  It also raised some questions.


Post a reply to this message


Attachments:
Download 'photontest.jpg' (23 KB)

Preview of image 'photontest.jpg'
photontest.jpg


 

From: Eric Freeman
Subject: Yeah??? Two Can Play That Game!!! <70 k jpg>
Date: 27 Mar 2000 09:33:31
Message: <38df713b@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message
news:38df68d5@news.povray.org...
>   I tried the photon mapping in media feature
> and got this image. The light reflecting from
> the lens looks very cool.

Very nice.  Coincidentally, I am working on the same theme.  Here's my
latest.  Still much work to do.

Eric
--------------------
http://www.datasync.com/~ericfree
--------------------
"I don't like it, and I'm sorry I ever had anything to do with it."
- Erwin Schrodinger talking about Quantum Mechanics.


Post a reply to this message


Attachments:
Download 'beam_splitter-04.jpg' (70 KB)

Preview of image 'beam_splitter-04.jpg'
beam_splitter-04.jpg


 

From:
Subject: Re: Yeah??? Two Can Play That Game!!! <70 k jpg>
Date: 27 Mar 2000 09:51:37
Message: <k8esnxcjwjl.fsf@jeeves.stud.ntnu.no>
Neat laser <g> Love the switch!

-- 
Sigmund Kyrre Aas


Post a reply to this message

From:
Subject: Re: Photons and media image (~25k) and questions/bug reports (mainly for Nathan)
Date: 27 Mar 2000 10:07:30
Message: <38df7932@news.povray.org>
Warp wrote:
>  I tried the photon mapping in media feature and got this image. The light
>reflecting from the lens looks very cool.
It sure does.

>  It also raised some questions.

I can't find these questions anywhere... :(

Jide


Post a reply to this message

From: Bob Hughes
Subject: Re: Photons and media image (~25k) and questions/bug reports (mainly for Nathan)
Date: 27 Mar 2000 15:13:38
Message: <38dfc0f2@news.povray.org>
Show-off!  :-D
That sharp line looks almost like it could be related to alignment with the
camera plane.
Bugs or not this looks pretty darned neat.

Bob


Post a reply to this message

From: Bob Hughes
Subject: Re: Yeah??? Two Can Play That Game!!! <70 k jpg>
Date: 27 Mar 2000 15:20:36
Message: <38dfc294@news.povray.org>
Looking alright, except...  it's almost as though I'm seeing a laboratory
section of a doll house.  Kind of odd, but doesn't surprise me the way Barbie is
going these days.  Sorry if I seem to be mocking your laser render, don't mean
to be.

Bob


Post a reply to this message

From: Nathan Kopp
Subject: Re: Photons and media image (~25k) and questions/bug reports (mainly for Nathan)
Date: 27 Mar 2000 15:22:20
Message: <38dfc2fc@news.povray.org>
>   1) As you see, the light beam coming directly from the light source
seems
> to be more dense than the reflected light beams. It looks like the density
> is calculated twice: Once for the light itself and then for the photons.
> Is this so?

Kind of, but not really.  The photons are treated as an extra light source.
For each step through the media, MegaPov will sum up the light contribution
for all light sources plus the light gathered from photons.

>  The mirrors have reflection 1 so they should not diminish the
> reflected light (as you can see in the second mirror: the reflected
> beam is equally dense as the incoming beam).

Yes. I think there is a bug in there.  :-(  When I get time I'll take
another look at that code.

>   2) You can also see a sharp line at the beginning of the first reflected
> ray. Is this caused by the double density effect? Is it a bug? Note that
> this kind of sharp line does not appear at the beginning of the second
> reflection.

When your ray passes through a spotlight, POV will create multiple
intervals.  In this scene, you have two "unlit" intervals and one "lit"
interval.  POV will then only check light sources for the lit intervals,
which can save a lot of computation time.  If you don't hit the spotlight's
cone, POV only creates a single interval.  Unfortuantely, this is causing
problems.  This may be a bug with media method 3 (try using method 2 instead
and see if it makes a difference).

>   3) In order to get this image I had to confine the media inside a box
and
> I had to scale the box so that the light source got inside it. If the box
> is smaller (so that the light source is outside the box) or there's no
> box at all (ie. using only global media), no reflection beams is seen.
> Why? Is it also a bug? Or a deliberate limitation?

For the smaller box (with the light source outside the box), just put
"photons{pass_through}" in the media container object.  (I think that
"no_shadow" might work, too).

The global media is an unintentional limitation (bug).  I currently don't
know of an elegant solution, though.... but I will work on it.

>   4) I have a second light source illuminating the scene. I wanted to
> turn of photon mapping for it by specifying
> photons { reflection off refraction off } in it. However, when I did it,
> no photons are shot at all. I had to remove this line in order to get
photons.
> I suppose it's also a bug.

This bug has been fixed.

-Nathan


Post a reply to this message

From: Mark Wagner
Subject: Make that three!
Date: 28 Mar 2000 01:45:24
Message: <38e05504@news.povray.org>
Eric Freeman wrote in message <38df713b@news.povray.org>...
>"Warp" <war### [at] tagpovrayorg> wrote in message
>news:38df68d5@news.povray.org...
>>   I tried the photon mapping in media feature
>> and got this image. The light reflecting from
>> the lens looks very cool.
>
>Very nice.  Coincidentally, I am working on the same theme.  Here's my
>latest.  Still much work to do.


See "Now Possible..." in p.b.a for the full animation.

Mark


Post a reply to this message


Attachments:
Download 'LASER.JPG' (33 KB)

Preview of image 'LASER.JPG'
LASER.JPG


 

From: Bob Hughes
Subject: Re: Make that three!
Date: 28 Mar 2000 04:37:14
Message: <38e07d4a@news.povray.org>
Why does the light beam disappear at the glass lens?  Not hollow?

Bob

"Mark Wagner" <mar### [at] gtenet> wrote in message
news:38e05504@news.povray.org...
|
| See "Now Possible..." in p.b.a for the full animation.


Post a reply to this message

From: Warp
Subject: Re: Photons and media image (~25k) and questions/bug reports (mainly for Nathan)
Date: 28 Mar 2000 05:11:12
Message: <38e0853f@news.povray.org>
Ok, the pass_through helped.
  It's just not very intuitive. If the light passes through transparent
objects, why not the photons? I think many people will be confused by this
feature.
  Of course adding pass_through to the box made the second light source to
send photons to the media too. I, however, found a temporary fix: Adding
looks_like { sphere { 0,.1 pigment { rgbt 1 } } }
to the light source has the same effect as
photons { reflection off refraction off }
should have.

  I made the container box a lot smaller and it looks a lot better now.
The reflected beams are denser and the sharp line is much less obvious now.
  The second image uses method 2. There's a strange non-lit line where there
was a sharp edge before (at the beginning of the first reflected beam). Also
the light reflected from the lens is almost gone.


Post a reply to this message


Attachments:
Download 'photontest.jpg' (26 KB) Download 'photontest2.jpg' (14 KB)

Preview of image 'photontest.jpg'
photontest.jpg

Preview of image 'photontest2.jpg'
photontest2.jpg


 

Goto Latest 10 Messages Next 6 Messages >>>

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