POV-Ray : Newsgroups : povray.binaries.images : Question about media_attenuation behavior. Server Time
29 Apr 2024 02:57:08 EDT (-0400)
  Question about media_attenuation behavior. (Message 14 to 23 of 23)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: William F Pokorny
Subject: Re: Question about media_attenuation behavior.
Date: 13 Feb 2018 08:49:43
Message: <5a82ecf7$1@news.povray.org>
On 02/12/2018 01:16 PM, Alain wrote:
> Le 18-02-11 à 09:47, William F Pokorny a écrit :
> 
> So, we should add :
> looks_like{sphere{0, 0.001 pigment{rgbt 1}}}
> to the lights that are inside some media container.
> 

Ah, good thought. I see Kenneth already tried it last night without 
success. Thanks Kenneth - saved me the time.

Longer term the aim is to be able to control whether media attenuation 
is on or off when using media containers by some explicit SDL mechanism. 
We've also got the problem we cannot turn it off when the light is 
outside, but to the quality of the end result it matters less I think.

Still trying to get my brain to digest as much as possible of the whole 
of the media code, how it interacts with itself and how it interacts 
with the rest of POV-Ray...

"The circles rapidly grow small—we are plunging madly within the grasp 
of the whirlpool—and amid a roaring, and bellowing, and thundering of 
ocean and of tempest, the ship is quivering—oh God! and ——going down!"

:-) I'm making progress, but it's slow.

Bill P.


Post a reply to this message

From: Kenneth
Subject: Re: Question about media_attenuation behavior.
Date: 13 Feb 2018 09:25:00
Message: <web.5a82f469672c2bca47873e10@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:
>
> Still trying to get my brain to digest as much as possible of the whole
> of the media code, how it interacts with itself and how it interacts
> with the rest of POV-Ray...
>

I'm in the throes of doing some further tests (although still with a media
container-object and the camera outside it)-- and I'm seeing some rather odd
things (so far) having to do with scattering's 'extinction' value. The fact that
media_attenuation is currently ALWAYS on (for lights outside the media, and when
your 'void' difference trick is used for a light *inside* the media), it's
really difficult to tell the difference between the media_attenuation effect,
and the separate shadowing (and 'self-shadowing') effects that
scattering/extinction produces. Those effects can't currently be separated out.
I've had to resort to some animation tests of the media with a moving light
source, to try and understand what's going on. It's a  s-l-o-w  process... but
worth the effort ;-)


Post a reply to this message

From: Bald Eagle
Subject: Re: Question about media_attenuation behavior.
Date: 13 Feb 2018 10:05:00
Message: <web.5a82fe52672c2bcc437ac910@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:

> "The circles rapidly grow small—we are plunging madly within the grasp
> of the whirlpool—and amid a roaring, and bellowing, and thundering of
> ocean and of tempest, the ship is quivering—oh God! and ——going down!"

https://www.youtube.com/watch?v=AX0XDHF3M60


Post a reply to this message

From: Stephen
Subject: Re: Question about media_attenuation behavior.
Date: 13 Feb 2018 10:39:16
Message: <5a8306a4$1@news.povray.org>
On 13/02/2018 15:03, Bald Eagle wrote:
> William F Pokorny <ano### [at] anonymousorg> wrote:
> 
>> "The circles rapidly grow small—we are plunging madly within the grasp
>> of the whirlpool—and amid a roaring, and bellowing, and thundering of
>> ocean and of tempest, the ship is quivering—oh God! and ——going down!"
> 
> https://www.youtube.com/watch?v=AX0XDHF3M60
> 

A bit of a Whoosh!, there. But I enjoyed the clip. :-)


-- 

Regards
     Stephen


Post a reply to this message

From: Bald Eagle
Subject: Re: Question about media_attenuation behavior.
Date: 13 Feb 2018 11:00:00
Message: <web.5a830a72672c2bcc437ac910@news.povray.org>
Stephen <mca### [at] aolcom> wrote:
> On 13/02/2018 15:03, Bald Eagle wrote:
> > William F Pokorny <ano### [at] anonymousorg> wrote:
> >
> >> "The circles rapidly grow small—we are plunging madly within the grasp
> >> of the whirlpool—and amid a roaring, and bellowing, and thundering of
> >> ocean and of tempest, the ship is quivering—oh God! and ——going down!"
> >
> > https://www.youtube.com/watch?v=AX0XDHF3M60
> >
>
> A bit of a Whoosh!, there. But I enjoyed the clip. :-)

The Quote is from "The House of Usher" by Poe.
The character's name is _Roderick_ Usher.

Or Wodewick Usheww....  :D


Post a reply to this message

From: Thomas de Groot
Subject: Re: Question about media_attenuation behavior.
Date: 14 Feb 2018 02:50:16
Message: <5a83ea38$1@news.povray.org>
On 13-2-2018 16:55, Bald Eagle wrote:
> Stephen <mca### [at] aolcom> wrote:
>> On 13/02/2018 15:03, Bald Eagle wrote:
>>> William F Pokorny <ano### [at] anonymousorg> wrote:
>>>
>>>> "The circles rapidly grow small—we are plunging madly within the grasp
>>>> of the whirlpool—and amid a roaring, and bellowing, and thundering of
>>>> ocean and of tempest, the ship is quivering—oh God! and ——going down!"
>>>
>>> https://www.youtube.com/watch?v=AX0XDHF3M60
>>>
>>
>> A bit of a Whoosh!, there. But I enjoyed the clip. :-)
> 
> The Quote is from "The House of Usher" by Poe.
> The character's name is _Roderick_ Usher.
> 
> Or Wodewick Usheww....  :D
> 
> 



-- 
Thomas


Post a reply to this message

From: Stephen
Subject: Re: Question about media_attenuation behavior.
Date: 14 Feb 2018 03:34:14
Message: <5a83f486$1@news.povray.org>
On 13/02/2018 15:55, Bald Eagle wrote:
> Stephen <mca### [at] aolcom> wrote:
>> On 13/02/2018 15:03, Bald Eagle wrote:
>>> William F Pokorny <ano### [at] anonymousorg> wrote:
>>>
>>>> "The circles rapidly grow small—we are plunging madly within the grasp
>>>> of the whirlpool—and amid a roaring, and bellowing, and thundering of
>>>> ocean and of tempest, the ship is quivering—oh God! and ——going down!"
>>>
>>> https://www.youtube.com/watch?v=AX0XDHF3M60
>>>
>>
>> A bit of a Whoosh!, there. But I enjoyed the clip. :-)
> 
> The Quote is from "The House of Usher" by Poe.
> The character's name is _Roderick_ Usher.
> 

Ah! literature. No wonder I didn't recognise it.


> Or Wodewick Usheww....  :D
> 
> 
> 

Wight! ;)


-- 

Regards
     Stephen


Post a reply to this message

From: Bald Eagle
Subject: Re: Question about media_attenuation behavior.
Date: 14 Feb 2018 06:30:00
Message: <web.5a841d2f672c2bc5cafe28e0@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:



I was not at all sure.
It is not that either.

Upon having more than a few uninterrupted seconds to look into it further, it's
apparently from "Ms [manuscript] found in a bottle".   :/

This is what happens when you voraciously read many things in rapid succession,
and your vast personal library is no longer at your fingertips.
This is often an even worse problem for me with Sci Fi, or some bit of film I
only remember snippets of.

Elton John had a tiny dancer in his head - I need a tiny librarian, or a
secretary to manage the filing.

Sounds like TdG needs an AI to index all of his code - I know the feeling.
"Now WHERE is that little snippet that does....?"

"The circles rapidly grow small we are plunging madly within the grasp of the
whirlpool..."
To mix a thread or two, circles of confusion indeed.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Question about media_attenuation behavior.
Date: 14 Feb 2018 07:20:25
Message: <5a842989$1@news.povray.org>
On 14-2-2018 12:27, Bald Eagle wrote:
> Thomas de Groot <tho### [at] degrootorg> wrote:
> 

> 
> I was not at all sure.
> It is not that either.
> 
> Upon having more than a few uninterrupted seconds to look into it further, it's
> apparently from "Ms [manuscript] found in a bottle".   :/

Ah! Of course! At least we had the author right. ;-)

[interesting alternative universe title: "Ms (miss) found in a bottle"]

> 
> This is what happens when you voraciously read many things in rapid succession,
> and your vast personal library is no longer at your fingertips.
> This is often an even worse problem for me with Sci Fi, or some bit of film I
> only remember snippets of.

I know what you mean. I am permanently struggling with remembering where 
I read snippets of text that come up in daily conversation. :-/

> 
> Elton John had a tiny dancer in his head - I need a tiny librarian, or a
> secretary to manage the filing.
> 
> Sounds like TdG needs an AI to index all of his code - I know the feeling.
> "Now WHERE is that little snippet that does....?"

I thought I had it all well and logically filed away but no. I /know/ I 
have it somewhere but it escapes my eager little fingers. When 
associated with an image I have less problems remembering and finding.

> 
> "The circles rapidly grow small we are plunging madly within the grasp of the
> whirlpool..."
> To mix a thread or two, circles of confusion indeed.
> 

So it is indeed, so it is.

-- 
Thomas


Post a reply to this message

From: William F Pokorny
Subject: Re: Question about media_attenuation behavior.
Date: 16 Nov 2018 09:33:06
Message: <5beed522$1@news.povray.org>
On 2/11/18 9:47 AM, William F Pokorny wrote:
> On 01/23/2018 03:28 PM, clipka wrote:
>> Am 23.01.2018 um 16:57 schrieb William F Pokorny:
>>
> ...
>> I'd say yes, that would be quite useful indeed.
>>
>> (And maybe also `media_attenuation on` for light sources inside the
>> media container.)
>>
> 
> I have been weeks now on and off digging into media and media code. It 
...
> 

I was reminded today I'd left this branch of this thread hanging regard 
adding explicit media attenuation control for lights inside and outside 
a media container.

I looked at adding an SDL keyword/arrangement for explicit control early 
in the year. However, I could never get more than 80-90% of test scenes 
(or parts thereof) to work/match for any given coding attempt.

We today support scenes with both fog and media(1). This support 
constrains the games that can be played with rays and media intervals in 
the code. Heck, might be why the code works as it does. In any case 
fog+media support was the primary impediment I hit given the general 
approach I tried.

(1) - With some limits/issues.

Someday, perhaps, when my C++ skills have improved, I'll get back to 
this effort. I currently think a somewhat major ray-interval/media/fog 
code re-factoring is needed.

Bill P.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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