POV-Ray : Newsgroups : moray.win : Density Server Time
29 Jul 2024 00:26:52 EDT (-0400)
  Density (Message 1 to 4 of 4)  
From: Krystian
Subject: Density
Date: 28 Nov 1999 23:40:28
Message: <384203bc@news.povray.org>
Is there any easy way to do density? Like actually typing in a number or
two, instead of trying to combine different patterns?


Post a reply to this message

From: Simon de Vet
Subject: Re: Density
Date: 29 Nov 1999 14:58:41
Message: <3842DB21.E1068A3F@istar.ca>
Krystian wrote:

> Is there any easy way to do density? Like actually typing in a number or
> two, instead of trying to combine different patterns?

What exactly are you trying to accomplish?


Post a reply to this message

From: Krystian
Subject: Re: Density
Date: 30 Nov 1999 02:19:12
Message: <38437a70@news.povray.org>
"Simon de Vet" <sde### [at] istarca> wrote in message
news:3842DB21.E1068A3F@istar.ca...
>
> > Is there any easy way to do density? Like actually typing in a number or
> > two, instead of trying to combine different patterns?
>
> What exactly are you trying to accomplish?
>
Trying to set the density to something other than 1.0. I just want to have a
haze effect, but I haven't quite figured out media yet.


Post a reply to this message

From: Ian Burgmyer
Subject: Re: Density
Date: 28 Dec 1999 14:30:26
Message: <38690fd2@news.povray.org>
Krystian <kgb### [at] Xi2knet> wrote in message
news:38437a70@news.povray.org...
> Trying to set the density to something other than 1.0. I just want to have
a
> haze effect, but I haven't quite figured out media yet.

Alright, try this:

Sure fire way to set up media.  This will give you all the steps, but for
media to work correctly, make sure they're all true.

1. Create standard texture with interior (you probably got this already :)
2. Create a pigment and solid color under [standard texture] and set it to
white, with the filter value set to one.  This makes sure the container
object it transparent, so you can only see the media.
3. Create a media definition under [interior]
4. Mess around with the emission/absorbtion/scattering color you want.
5. Create a density definition under the new media.
6. Under the [density] you just created, create any of the colormap
patterns.
7. In the colormap pattern you create, set both "colors" to a shade of grey.
This shade of grey determines how dense the media is, so you don't have to
go through anything else.
8. Repeat steps 3-7 again for more media definitions.
9. Remember to make media objects hollow.

Believe me, I had the same trouble with media originally, and I know how it
feels :)

Happy tracing!

--
This message brought to you by:
-=< Ian (the### [at] hotmailcom >=-

Please visit my site at http://spectere2000.cjb.net! :)


Post a reply to this message

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