POV-Ray : Newsgroups : povray.beta-test : Photons broken in 3.7 - beta 34? Server Time
2 Jul 2024 10:22:22 EDT (-0400)
  Photons broken in 3.7 - beta 34? (Message 1 to 6 of 6)  
From: TC
Subject: Photons broken in 3.7 - beta 34?
Date: 24 Oct 2009 04:00:32
Message: <4ae2b420$1@news.povray.org>
I tried o get familiar with photons and dispersion under povray. I found 
this file on the net:

http://povray.sitewww.ch/?p=177

(For copyright reasons I will just post the link, not the file itself)

Now: under 3.7 I get a grey background, under 3.6 everything is fine. What 
am I doing wrong? Have there been changes to the behaviour of photons? Or is 
something broken in 3.7?

Are there any disperion examples availabe that work with 3.7?


Post a reply to this message

From: clipka
Subject: Re: Photons broken in 3.7 - beta 34?
Date: 24 Oct 2009 06:41:16
Message: <4ae2d9cc@news.povray.org>
TC schrieb:

> Now: under 3.7 I get a grey background, under 3.6 everything is fine. What 
> am I doing wrong? Have there been changes to the behaviour of photons? Or is 
> something broken in 3.7?

Apparently there is a /lot/ of stuff wrong in 3.7 regarding this scene.

So far I found the following issues:

* Cylindrical light sources and photons don't appear to mix well in 
POV-Ray 3.7.

* POV-Ray 3.7's current dispersion implementation is bogus in the 
multiple respects:

- At the first interface taking account dispersion, POV-Ray 3.7 does 
split up the RGB ray into multiple "spectral" ones, but fails to apply 
dispersion at this initial interface.

- When transmitting from one object that has dispersion directly into 
another one that doesn't, POV-Ray 3.7 fails to take into account the 
dispersion effects that should occur at this interface.

- At all other subsequent interfaces, POV-Ray erroneously applies the 
same correctional factor to the IOR that should have been applied at the 
very first dispersion interface.


I'll file a bug report to bugs.povray.org, and try to clean up that mess.


Post a reply to this message

From: clipka
Subject: Re: Photons broken in 3.7 - beta 34?
Date: 24 Oct 2009 11:20:53
Message: <4ae31b55$1@news.povray.org>
clipka schrieb:

> * POV-Ray 3.7's current dispersion implementation is bogus in the 
> multiple respects:
> 
> - At the first interface taking account dispersion, POV-Ray 3.7 does 
> split up the RGB ray into multiple "spectral" ones, but fails to apply 
> dispersion at this initial interface.

This has actually turned out a misinterpretation of the source code on 
my behalf. The other issues, however, still need fixing.


Post a reply to this message

From: nemesis
Subject: Re: Photons broken in 3.7 - beta 34?
Date: 24 Oct 2009 15:10:01
Message: <web.4ae350fb9ef6010b4b82e1ae0@news.povray.org>
"TC" <do-not-reply@i-do get-enough-spam-already-2498.com> wrote:
> I tried o get familiar with photons and dispersion under povray. I found
> this file on the net:
>
> http://povray.sitewww.ch/?p=177
>
> (For copyright reasons I will just post the link, not the file itself)
>
> Now: under 3.7 I get a grey background, under 3.6 everything is fine. What
> am I doing wrong? Have there been changes to the behaviour of photons? Or is
> something broken in 3.7?
>
> Are there any disperion examples availabe that work with 3.7?

sure, Gaf just posted his water glass scene in p.b.i.

http://news.povray.org/povray.binaries.images/thread/%3Cweb.4adcba99fcd38e4fd84acf040%40news.povray.org%3E/?mtop=14

It uses caustics and cromatic dispersion in 3.7 beta 34.


Post a reply to this message

From: TC
Subject: Re: Photons broken in 3.7 - beta 34?
Date: 24 Oct 2009 16:50:37
Message: <4ae3689d$1@news.povray.org>
Thank you for the reminder - I had seen the picture but did not notice the 
source.


Post a reply to this message

From: TC
Subject: Re: Photons broken in 3.7 - beta 34?
Date: 24 Oct 2009 17:04:05
Message: <4ae36bc5@news.povray.org>
I tried to render the file with point lightsource (I see dispersion though I 
am pretty sure I should see a strip, not circles - 3.6 renders a strip).

With parallel light source the render fails after 5 minutes under 3.7. 
Parallel light source stops with a "Slab building error" under 3.6 - it 
gobbles up 2.5 GB of memory. (I am getting old - my first VIC had just 5kB 
of memory - video and main-storage together).

I hope this helps.


Post a reply to this message

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