POV-Ray : Newsgroups : povray.general : Dirty water and flouresence : Re: Dirty water and flouresence Server Time
19 Apr 2024 07:06:59 EDT (-0400)
  Re: Dirty water and flouresence  
From: Alain
Date: 27 Jul 2018 20:43:59
Message: <5b5bbc4f$1@news.povray.org>
Le 18-07-27 à 16:12, clipka a écrit :
> Am 27.07.2018 um 18:22 schrieb Bald Eagle:
>> "Iodine" <nomail@nomail> wrote:
>>
>> I think if you look at the features of "media" - you'll get something that will
>> very closely simulate the Beer-Lambert Law.
>>
>>> Finally I would like the option of being able to make the water flouresent,
>>
>> That will be pure simulation.   You can probably write a function to vary the
>> emission value of the texture based upon the amount of incoming light.
>>
>> POV-Ray doesn't handle light as wavelengths.
> 
> I guess it should be possible to assign a light group to the media
> container.
> 
> Alternatively you could make sure that the incoming light has a non-zero
> brightness for all three colour channels, and crank up the scattering
> media colour to unrealistically bright values.
> 

Something like :
incoming light : rgb<0.01, 0.01, 1> //blue light
and, the media : scattering with rgb<300, 300, 0.01>
That media will glow yellow :)


Post a reply to this message

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