POV-Ray : Newsgroups : povray.advanced-users : replacing colors on an image_map...how? : Re: replacing colors on an image_map...how? Server Time
29 Jul 2024 04:27:35 EDT (-0400)
  Re: replacing colors on an image_map...how?  
From: Johannes Dahlstrom
Date: 27 Nov 2002 08:22:57
Message: <3de4c731@news.povray.org>
normdoering wrote:

> I know I use to do this prior to 3.5, I think in Megapov, I could change
> the way an image map was read by giving it it a color_map, but I'm getting
> errors now in 3.5.
> 
> Perhaps I've just forgotten the syntax?
> 
> Can anyone out there help? What is the syntax for changing colors in an
> image map so that they can perform double duty?
> 
> Can it only be done with grey scale or 8-bit palleted images?

There's the image_pattern, which uses a (internally grayscaled) image as a 
pattern. Then it can be used anywhere a pattern can be used with an 
appropriate kind of blend map (eg. color_map, texture_map, density_map...).


Post a reply to this message

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