POV-Ray : Newsgroups : povray.general : PNG And Transparency. : Re: PNG And Transparency. Server Time
7 Aug 2024 17:26:29 EDT (-0400)
  Re: PNG And Transparency.  
From: Warp
Date: 17 Aug 2001 09:33:27
Message: <3b7d1d27@news.povray.org>
Adrien Beau <adr### [at] sycomorefr> wrote:
: In an indexed-color image, an alpha
: value can be defined for each palette entry.

  Well, this is just a palette with alpha channel (ie. 4 color components).

: In grayscale and
: truecolor images, a single pixel value can be identified as
: being "transparent".

  Ok, this I didn't know.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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