POV-Ray : Newsgroups : povray.general : New way of specifying transparence? : Re: New way of specifying transparence? Server Time
11 Aug 2024 13:24:10 EDT (-0400)
  Re: New way of specifying transparence?  
From: Chris Huff
Date: 12 Jul 1999 08:47:10
Message: <3789E4D8.B8861D8F@compuserve.com>
The pattern for the transparence attributes(multiplicative, etc)
specifies the amount of transparence at each point(0-1). The pigment is
optional, and if present, will replace the texture pigment in
transparence calculations: give the texture a green pigment, and the
transparence a red one, and you will have red filtering on a green
object.

I don't know if a transparency_map would be necessary. I think
everything could be done without it...maybe it would be a good idea. I
am still not sure where it should go, maybe fade_power and fade_distance
should be moved to transparency, which would go into interior.

An alternative way of doing this would be to allow each transparence
attribute to have it's own pigment. So you could have a transmit from
one pigment, filter from another...Overkill? Probably.

And yes, some uses of the filter/transmit portion could be done with a
pigment_map, but it will only work correctly with layered textures in
your UVPov with layer filtering turned on.


Post a reply to this message

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