POV-Ray : Newsgroups : povray.newusers : Q: Image-Maps in Layered Textures : Re: Image-Maps in Layered Textures Server Time
5 Nov 2024 09:23:00 EST (-0500)
  Re: Image-Maps in Layered Textures  
From: Hendrik Iben
Date: 27 Feb 2000 07:25:59
Message: <38B917F2.DF498589@bigfoot.de>
I tried it exactly the way you described (Color 0 is Red in my image, and I am
sure 0 is the index I want.).
Please view the following post to 'Re: Q: Image-Maps in Layered Textures' by Steve
for the original code that does not work.

Thanks,
Hendrik Iben

Bob Hughes wrote:

> 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


Post a reply to this message

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