POV-Ray : Newsgroups : povray.newusers : media ?s : Re: media ?s Server Time
4 Nov 2024 23:17:57 EST (-0500)
  Re: media ?s  
From: Bob H 
Date: 29 May 2001 19:04:50
Message: <3b142b12@news.povray.org>
All is not lost.
Yes, you can "multiply" or "add" medias.  Two or more densities in one media
multiply.  Two or more media statements in a interior add together.
To get the effect you asked about use the multiply method.  Any rgb zero
index cancels out another, [0 rgb 0.5] in first and [0 rgb 0.6] in the
second makes for a [0 rgb 0.3] result.
There is a help section on this but that's pretty much it.

Map indices 0 to 1 are initially one POV unit.  Scaling is needed to apply
to a larger object.  The 'scale' keyword goes after the map } and before the
closing density }.
Be aware that scaling of the media object as a whole, by contrast, requires
that you scale the media inversely.

Bob H.


Post a reply to this message

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