POV-Ray : Newsgroups : povray.newusers : multiple image_maps : Re: multiple image_maps Server Time
2 Nov 2024 15:24:45 EDT (-0400)
  Re: multiple image_maps  
From: Tom Melly
Date: 4 Dec 2003 11:20:00
Message: <3fcf5eb0$1@news.povray.org>
"Michael Cooper" <coo### [at] cartonet> wrote in message
news:3FC### [at] cartonet...
>
> Does anybody have any clues that might help?

The following would layer to image maps, one on top of the other. The top layer
would be 50% transparent.

box{
  0, 1
  texture{
    pigment{
      image_map {
        gif "under.gif"
        map_type 0
        interpolate 2
      }
    }
  }

  texture{
    pigment{
      image_map {
        gif "over.gif"
        map_type 0
        interpolate 2
        transmit all 0.5
      }
    }
  }

}

If you wanted just parts of the top image to be transparent, then you can
specify a colour index, rather than 'all' - e.g.:

transmit 0, 0.5 // filters color index 0 by 50%


Post a reply to this message

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