POV-Ray : Newsgroups : povray.general : media Server Time
18 Nov 2024 11:19:25 EST (-0500)
  media (Message 1 to 3 of 3)  
From: Pedro Ramos
Subject: media
Date: 28 Aug 2002 12:34:32
Message: <3d6cfb98$1@news.povray.org>
Hi everyone,

does anyone knows where I can find any good scattering media tutorial?

I've been trying to model scattering media, but I've only succeeded in doing
so with very large objects..
Is there any way to increase the "density" (not referring to the density
keyword) of the media so that I can use small objects?

Thanks,
Pedro


Post a reply to this message

From: Gilles Tran
Subject: Re: media
Date: 28 Aug 2002 12:39:44
Message: <3d6cfcd0$1@news.povray.org>

3d6cfb98$1@news.povray.org...
> Is there any way to increase the "density" (not referring to the density
> keyword) of the media so that I can use small objects?

Just increase the scattering color. I guess it's quite linearly related to
the object size (didn't check, just a guess).
If scattering{1,1} works for your big object
scattering{1,10} should work for a object 1/10 smaller.

G.

--

**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


>
>
>


Post a reply to this message

From: Christopher James Huff
Subject: Re: media
Date: 28 Aug 2002 19:33:28
Message: <chrishuff-037FB3.19324528082002@netplex.aussie.org>
In article <3d6cfb98$1@news.povray.org>,
 "Pedro Ramos" <ped### [at] mailpt> wrote:

> does anyone knows where I can find any good scattering media tutorial?
> 
> I've been trying to model scattering media, but I've only succeeded in doing
> so with very large objects..
> Is there any way to increase the "density" (not referring to the density
> keyword) of the media so that I can use small objects?

The density and color are the same value. It took me a while to get 
this...brighter colors make denser media. If you have a density 
specified, the media color and density color are multiplied together to 
get a final result, so you can use one as a density control and the 
other for color. I often find it useful to multiply the color vector by 
a scaling value to get independant control over density and color, for 
example: 
emission < 1, 0.4, 0.3>*0.25

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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