POV-Ray : Newsgroups : povray.newusers : Different finish for different parts of an object? : Re: Different finish for different parts of an object? Server Time
30 Jul 2024 18:23:00 EDT (-0400)
  Re: Different finish for different parts of an object?  
From: Christoph Hormann
Date: 28 Oct 2003 12:42:02
Message: <tbm271-ag2.ln1@triton.imagico.de>
Mark Hanford wrote:
> I'm sure this is something I've seen somewhere in the manual, but I cannot
> find it anywhere :(
> 
> I'm trying to create a kind of 3D relief map of the world, and have some
> pretty image maps and height maps etc, and I want to make the water parts of
> the map partially reflective.
> I also have a black-and-white image with the water parts white and the land
> parts black.
> 
> What I can't work out is how to make areas of the height_field{} have
> different finishes depending on the value of the B&W mask.

The only way to get different finishes in POV-Ray 3.5 is to use 
different textures.

You can use different textures accoding to a mask image with a 
material_map or an image_pattern with a texture_map.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 25 Oct. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

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