|
|
You can't get a transparent palette entry which is set in a image program to
show up as transparent in POV-Ray unless you use the 'transmit' keyword. Such
as:
#declare t_image=texture{pigment{
image_map {gif "yourimage.gif" transmit 0,1} // index #0, transmit 1
}}
my_texture =
texture { t_ground }
texture { t_image }
The once keyword is only for non-tiling. Be certain of your palette index
number/color relation too. Black might not always be 0.
Bob
"Hendrik Iben" <Hen### [at] bigfootde> wrote in message
news:38B84DD4.E5340CA8@bigfoot.de...
| Hi,
|
| I want to put a structure from a GIF file on another texture.
| So I defined the ground-texture and the texture with the image map and
| created a new texture like this :
| my_texture =
| texture { t_ground }
| texture { t_image } // Color 0 was set to a transparency of 100%.
|
| and applied it to my object.
| But instead of showing the ground-texture where the image shows color 0
| I only see a black area.
| If I set the once-attribute in the image_map I see the ground-texture
| around the image but still have the black areas in the image.
|
| What am I doing wrong ?
|
| Thanks for any help,
| Hendrik Iben
|
Post a reply to this message
|
|