POV-Ray : Newsgroups : povray.binaries.images : Lensflare : Re: Lensflare Server Time
9 Aug 2024 01:23:35 EDT (-0400)
  Re: Lensflare  
From: Nathan Kopp
Date: 20 May 2005 00:18:24
Message: <428d6510$1@news.povray.org>
Another way to do additive transparancy is used in NKFlare (really old but
fun lens flare system written by yours truly
http://www.nathan.kopp.com/nkflare.htm).  The technique works like this:

1) use the color you want, but set transmit to 0.5
2) use "ambient 2" (instead of "ambient 1")
3) use "refraction 2.0" (instead of "refraction on")

It's this last bit... the "refraction 2.0", combined with the 0.5 transmit,
yeilds a 100% transmission.  Then, then "ambient 2", coupled with the 50%
that's left over from the transmit component, gives you the 100% of whatever
color you specify, which is added to the 100% transmission.

-Nathan


"Slime" <fak### [at] emailaddress> wrote...
> > Is there a fast way to
> > combine pigments in an additive way?
>
> See my post "Additive transparency" in povray.binaries.scene-files,
> 2/3/2005.
>
>  - Slime
>  [ http://www.slimeland.com/ ]
>
>


Post a reply to this message

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