POV-Ray : Newsgroups : povray.general : Atmospheric Media troubles Server Time
6 Nov 2024 22:15:03 EST (-0500)
  Atmospheric Media troubles (Message 1 to 4 of 4)  
From: TigerHawk
Subject: Atmospheric Media troubles
Date: 4 Jul 2002 23:00:50
Message: <3D250BA2.90105@stic.net>
Hi all,

    Can someone direct me to a (working) link of a howto of how to do 
atmospheric effects? I'm trying to create a scene with a lighthouse in 
the distance and I want the spotlight trail to be seen. I also wanted 
some better fog-like effects, and I'm not sure how to approach the whole 
thing. I have piddled with it for two days now and just can't seem to 
get it right. Would appreciate some help.

    Thanks and Take Care,

    Tim Soderstrom

-- 
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Tim Soderstrom                                                       |
| Mig### [at] mailutexasedu                                            |
| http://www.crosswinds.net/~mightytim                                 |
|                                                                      | 
| "Life is like a box of chocolates - never know what you gonna get"   |
|                                                    -Forrest Gump     |
\                                                                      /
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Post a reply to this message

From: Timothy R  Cook
Subject: Re: Atmospheric Media troubles
Date: 5 Jul 2002 00:04:18
Message: <3D251ABF.4080008@bellsouth.net>
Insert random number A into slot B.  Render. Replace number
A with number C and repeat as necessary.

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: TigerHawk
Subject: Re: Atmospheric Media troubles
Date: 5 Jul 2002 12:58:03
Message: <3D25CFE0.9060101@stic.net>
......cute....

I have, however, done quite a bit of that already and have not had 
desirable results...I keep either wiping out my whole scene with what 
looks like a bad film exposure or I get all kinds of funky artifacts 
across the scene. I know there used to be a very good description of how 
to use media but I can't seem to find it again...

oh well...




Timothy R. Cook wrote:

> Insert random number A into slot B.  Render. Replace number
> A with number C and repeat as necessary.
>


-- 
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Tim Soderstrom                                                       |
| Mig### [at] mailutexasedu                                            |
| http://www.crosswinds.net/~mightytim                                 |
|                                                                      | 
| "Life is like a box of chocolates - never know what you gonna get"   |
|                                                    -Forrest Gump     |
\                                                                      /
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Post a reply to this message

From: Timothy R  Cook
Subject: Re: Atmospheric Media troubles
Date: 5 Jul 2002 17:06:50
Message: <3D260A68.9040403@bellsouth.net>
Quick guide to media (using Moray's material editor)

Moray, being made for POV 3.1, doesn't have the new
sampling methods for media, so that won't be covered.

Moray's material editor allows you to create materials
with a tree-like interface, with the parts having their
value boxes.

The [interior] section has the IOR, Caustics, and Fade
values, and one (or more) [media].

The [media] is composed of Intervals (default is 10,
lowering it speeds up media calculation), Sampling
(default is min 1, max 1, increasing them slows down
media calculations).  Next are Confidence, Variance,
and Ratio.  Low confidence and high variance are
fast but not realistic, high confidence and low
variance are incredibly slow but realistic.  Ratio
I have no freakin' idea what it's for, or what effect
it has on the media.  I have it set at 0.5 in most of
my stuff.  Increasing intervals also increases 'realism'.

The Scattering portion is where things get tricky,
especially if you camera is inside the scattering media.
Type of scattering is 1 (isotropic), 2 (mie hazy), 3
(mie murky), 4 (rayleigh), 5 (henyey-greenstein).  It
does make a difference which one you pick as to the
appearance of your media-filled object.  H-G scattering
has an eccentricity value.  There is also an Extinction
value, which gives a fog-like effect.

The [emission color] is the colour the media adds to
light passing through it, [absorbtion color] is sub-
tracted from the light passing through, and scattering
colour is the colour applied to the beam of light
itself.  [density] is the pattern of 'particulate
matter' in the scattering media; these are AFAICT
wildly unprecdictable if you change from one to another
if the camera is inside the media, but have the same
values in all other sections.  Spherical works best
in most cases, but cylindrical or planar can also have
predictable results.  (Planar can be funky at times tho,
but in a good way).  The density can be transformed and
noisified and warped, but, again, do so without a goal.

When the camera is inside the media, most of the values
for emission, absorbtion, and scattering produce useless
results.

Moray's Material Editor is a good way for coarse tuning
of media, since it renders a simple primitive against
an optional floor/wall, so you don't need to spend 5
hours rendering a scene only to discover you want to
change this or that value in the media.

So it is said, so it is written.  Amen.
-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

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