POV-Ray : Newsgroups : povray.general : Making Background transparent... : Re: Making Background transparent... Server Time
8 Aug 2024 22:14:05 EDT (-0400)
  Re: Making Background transparent...  
From: Warp
Date: 23 Sep 2000 19:38:39
Message: <39cd3eff@news.povray.org>
Rune <run### [at] inamecom> wrote:
: When you have turned the alpha channel on in POV-Ray, one must expect it to
: be first priority that the image works correctly *with* alpha channel
: support.

  What is the correct behaviour?

  For example, let's suppose that we are calculating a pixel which is
located at the crossing of the edges of two objects.
  One object is red (<1,0,0>) and takes 50% of the pixel area. The other
object is green (<0,1,0>) and takes 25% of the pixel area. The last 25%
of the pixel is background.
  What should be the RGBA values for that pixel?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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