POV-Ray : Newsgroups : povray.general : Placing png as semi-transparent image in front of pov object : Re: Placing png as semi-transparent image in front of pov object Server Time
3 Aug 2024 00:24:44 EDT (-0400)
  Re: Placing png as semi-transparent image in front of pov object  
From: Thomas de Groot
Date: 1 Aug 2004 05:27:47
Message: <410cb793$1@news.povray.org>
"Greg M. Johnson" <gregj;-)565### [at] aolcom> schreef in bericht
news:410c118e$1@news.povray.org...
> I"ve forgotten how to do this.   I actually have images where I have an
> image mostly transparent in front of my object. But it's not working now.
>
>
>
>     box{<0,0,-0.0001>,<1,1,-0.0002>
>       texture{
>                 pigment{ image_map {jpeg "w_myimage_gr.jpg"
>                                 filter all 0.9999
>                                 map_type 0 once }
>                         }
>                finish{diffuse 0 ambient 1}
>                }
>         scale 45*<320/400,1,1>
>           no_shadow
>         translate -39*z-23*x+54*y}
>
Your image seems to be jpg. Will not work AFAIF. With png (or tga) you can
define a transparant alpha channel.

Thomas


Post a reply to this message

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