POV-Ray : Newsgroups : povray.general : Media once, media twice, media once again Server Time
4 Nov 2024 21:23:49 EST (-0500)
  Media once, media twice, media once again (Message 1 to 6 of 6)  
From: Matt Giwer
Subject: Media once, media twice, media once again
Date: 5 Sep 1999 03:03:53
Message: <37D215D6.90CB4F6A@giwersworld.org>
But it has not been a long time. 

	A nutshell. I have copied scattering media parameters from
scenes where it works well as in light coming in a window. I have
tried to obtain exactly the "lit fog" we have all seen around
street lights and such. It does not work. 

	I am about of the opinion that whatever this media is, it is not
what we would expect it to be from experience with this very
unsatisfactory reality of ours. I expect to see a halo around the
light source. I get the entire scene "lit" which is fine for fog
but I don't get the halo around the light source. 

	An interesting addition but still not what at least I am looking
for. 

-- 
<blink>---please--don't---</blink>

http://www.giwersworld.org/artiii/

Oh my God! They've rendered Kenny!


Post a reply to this message

From: Peter Popov
Subject: Re: Media once, media twice, media once again
Date: 5 Sep 1999 08:58:08
Message: <N3LSN0gt8hkwST+0EFjvI6DqygsQ@4ax.com>
On Sun, 05 Sep 1999 03:03:50 -0400, Matt Giwer
<mgi### [at] giwersworldorg> wrote:

Media does take a lot of patience to learn. Although I do not consider
myself nearly as prominent in this field as are many others in these
groups, I'll be glad to try it out if you send me some relevant code
(the scale of the scene and media matter a lot). Or even better, post
it on this server and ask for help, somebody will surely lend a hand.


Peter Popov
ICQ: 15002700


Post a reply to this message

From: Ken
Subject: Re: Media once, media twice, media once again
Date: 5 Sep 1999 09:12:12
Message: <37D26BCF.79A83A35@pacbell.net>
Matt Giwer wrote:
> 
>         But it has not been a long time.
> 
>         A nutshell. I have copied scattering media parameters from
> scenes where it works well as in light coming in a window. I have
> tried to obtain exactly the "lit fog" we have all seen around
> street lights and such. It does not work.
> 
>         I am about of the opinion that whatever this media is, it is not
> what we would expect it to be from experience with this very
> unsatisfactory reality of ours. I expect to see a halo around the
> light source. I get the entire scene "lit" which is fine for fog
> but I don't get the halo around the light source.
> 
>         An interesting addition but still not what at least I am looking
> for.

If you want a halo contained within a specific area think about placing
it into a container instead of filling the entire scene area with media.
I would suggest that you use two light sources withing your lamp. One
a point light with fade distance and fade power specified to limit
the area of radiation. This will give you the ability to fade the halo's
influence outwardly to make it appear to deminish. The second a spotlight
to add the cone of light one would expect coming from a lightsource. This
last is only useful if you have a lamp with a closed side like street lamps
with refector housings.

Like Peter I too am no master with the use of media and your milage may
vary.

-- 
Ken Tyler

See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Chris Huff
Subject: Re: Media once, media twice, media once again
Date: 5 Sep 1999 09:48:06
Message: <37D274DA.81A29D12@compuserve.com>
To get a halo around a light source, try changing the scattering model.
Isotropic scattering means that all the media which isn't in shadow will
be illuminated by the light, try something more angle dependant, like
Mie murky, which is type 3.
Also, use the fading feature of the light sources to get a better model
of illumination, although it also takes some time to get used to.
A good way to fake this glow around light sources is to put the
light_source at the center of a completely transparent sphere, and give
that sphere a highlight(I have always used specular, you might want to
try phong). Adjust the size and brightness of the highlight to do what
you want.


Post a reply to this message

From: Margus Ramst
Subject: Re: Media once, media twice, media once again
Date: 6 Sep 1999 08:01:10
Message: <37D3ACEE.3D68C00D@peak.edu.ee>
Model 4 is probably best in this case, since it was meant to model the
scattering of gases.
And when using light fading, bear in mind that the scattering media itself also
attenuates light.

Margus

Chris Huff wrote:
> 
> To get a halo around a light source, try changing the scattering model.
> Isotropic scattering means that all the media which isn't in shadow will
> be illuminated by the light, try something more angle dependant, like
> Mie murky, which is type 3.
> Also, use the fading feature of the light sources to get a better model
> of illumination, although it also takes some time to get used to.
> A good way to fake this glow around light sources is to put the
> light_source at the center of a completely transparent sphere, and give
> that sphere a highlight(I have always used specular, you might want to
> try phong). Adjust the size and brightness of the highlight to do what
> you want.


Post a reply to this message

From: Jerome M  BERGER
Subject: Re: Media once, media twice, media once again
Date: 7 Sep 1999 18:02:08
Message: <37D58B63.69CEDDE1@enst.fr>
Matt Giwer wrote:
> 
>         But it has not been a long time.
> 
>         A nutshell. I have copied scattering media parameters from
> scenes where it works well as in light coming in a window. I have
> tried to obtain exactly the "lit fog" we have all seen around
> street lights and such. It does not work.
> 
>         I am about of the opinion that whatever this media is, it is not
> what we would expect it to be from experience with this very
> unsatisfactory reality of ours. I expect to see a halo around the
> light source. I get the entire scene "lit" which is fine for fog
> but I don't get the halo around the light source.
> 
>         An interesting addition but still not what at least I am looking
> for.
> 
	If you want to see how I did it (with fade_distance and fade_power),
the pic is at:
http://www.irtc.org/ftp/pub/stills/1999-08-31/jbhome.jpg
and the zipped source at:
http://www.irtc.org/ftp/pub/stills/1999-08-31/jbhome.zip

		Jerome

-- 
*******************************

* they'll tell you what can't * mailto:ber### [at] inamecom
* be done and why...          * http://www.enst.fr/~jberger
* Then do it.                 *
*******************************


Post a reply to this message

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