POV-Ray : Newsgroups : povray.general : Feature requests : Re: Feature requests Server Time
5 Aug 2024 14:15:27 EDT (-0400)
  Re: Feature requests  
From: Batronyx
Date: 10 Sep 2002 00:56:40
Message: <3d7d7b88@news.povray.org>
"Rohan Bernett" <rox### [at] yahoocom> wrote in message
news:web.3d7d3ffedc16a7ab18ccf4f70@news.povray.org...
> Thorsten Froehlich wrote:
>
> >POV-Ray supports alpha channels in most image formats.  Please check the
> >documentation.
>
> I really meant loading the transparency map as a separate file.
>

That's possible too. Split the alpha channel out as a grayscale bitmap and use
it as the guiding image in an image_pattern statement.

--
light_source{0,1}#macro c(J,a)sphere{0,1pigment{rgb z}scale a translate J+O}
#end#macro B(R,V,O)c(0,4)intersection{c(V,R)difference{c(-z*4x+10)c(-z*4.1x+
10)c(0<7.5,45,5>)}}#end B(12,0z*25)B(8y*4<0,12,50>)          // Batronyx ^"^


Post a reply to this message

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