POV-Ray : Newsgroups : moray.win : image mapping experts out there? : Re: image mapping experts out there? Server Time
28 Jul 2024 20:30:51 EDT (-0400)
  Re: image mapping experts out there?  
From: Ken
Date: 21 Feb 2000 06:10:21
Message: <38B11CD1.AAF5740@pacbell.net>
Lutz Kretzschmar wrote:
> 
> Hi Ken, you recently wrote in moray.win:
> 
> > I do not know if this is possible with Moray but there is a way to
> > do this in POV-Ray itself...
> Yes, it sure is.
> 
> Ben, as Ken said if the image is 256-colors and you know which index
> is the one you want to have transparent, you can make that index
> filter 1 by selecting the imagemap node that you added and in the
> dialog click on Add in the Filter section, select the index and set
> filter to 1.0.

Just curious,

Will Moray allow you to set more than one palette index ?

In Pov you can set multiple indexes.

For example:

pigment {
 image_map { gif "your_image.gif"
             filter   255, 1
             filter   105, 0.5
             transmit  85, 1
           }
        }

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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