POV-Ray : Newsgroups : povray.general : how to make image_map (tga) non transparent : how to make image_map (tga) non transparent Server Time
19 Nov 2024 09:35:03 EST (-0500)
  how to make image_map (tga) non transparent  
From: Sebastian H 
Date: 29 Mar 2002 11:01:30
Message: <3CA4904D.1040407@web.de>
Hi there

I'am playing around with image maps and cannot disable the transparency 
of a mapped tga.

When trying
#declare p_crash =
   pigment {
     image_map {tga "crash.tga"
       map_type 0
       interpolate 2
     }
   }

#declare T_crash =
texture {
   pigment { p_crash transmit 0 }
}


The whole object gets black and if transmit set to one it gets 
transparent (invisible)
If using transmit all 0 in the image_map pov says that this is not 
allowed for non paletted images.

Do I have to save the tga without transpyrency information (This is what 
I want to avoid) or does anyone know an other solution?

Thanks
Sebastian H.

P.S.: using beta14


Post a reply to this message

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