POV-Ray : Newsgroups : povray.general : Material map question : Re: Material map question Server Time
9 Aug 2024 01:28:00 EDT (-0400)
  Re: Material map question  
From: Christoph Hormann
Date: 6 Sep 2000 12:15:47
Message: <39B66DEB.53128C4@schunter.etc.tu-bs.de>
Martin Magnusson wrote:
> 
> I have a small problem:
> 
> I'd like to make a texture based on a bitmap (greyscale) and declare one
> texture for the black areas, another texture for the white areas, and have
> some average on the grey pixels (i e pretty much like a regular texture_map
> but based on a bitmap in stead of POV's patterns). It seems that
> material_map doesn't let me do this unless I specify a single texture for
> each pixel value (which can be done using a macro and average, but that
> isn't a very nice solution). Is there another way?

There is image_pattern in megapov probably doing exactly what you want.

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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