POV-Ray : Newsgroups : povray.newusers : Different finish for different parts of an object? Server Time
5 Nov 2024 11:17:21 EST (-0500)
  Different finish for different parts of an object? (Message 1 to 5 of 5)  
From: Mark Hanford
Subject: Different finish for different parts of an object?
Date: 28 Oct 2003 12:28:44
Message: <3f9ea74c$1@news.povray.org>
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.

I appologise in advance if this is an RTFM or RTFFAQ moment, but I have
tried, hones :o)

Many thanks,

Mark
www.hanfordonline.co.uk/povuser - the brand-new, incomplete map of POV
users...
www.hanfordonline.co.uk/povray - my (somewhat out-of-date) contributions...


Post a reply to this message

From: ABX
Subject: Re: Different finish for different parts of an object?
Date: 28 Oct 2003 12:34:05
Message: <6q9tpvcljrrscblahm22rgbs1u5c3sgk16@4ax.com>
On Tue, 28 Oct 2003 17:28:43 -0000, "Mark Hanford"
<pov### [at] hanfordonlinecouk> wrote:
> 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.

texture_map/material_map with pattern based in that B&W mask/image ?

I'm sure there is enough keywords above to start interesting travel through
manual :-)

ABX


Post a reply to this message

From: Hughes, B 
Subject: Re: Different finish for different parts of an object?
Date: 28 Oct 2003 12:39:10
Message: <3f9ea9be@news.povray.org>
"Mark Hanford" <pov### [at] hanfordonlinecouk> wrote in message
news:3f9ea74c$1@news.povray.org...
> 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.


Check with the manual concerning material_map or material maps. Allows you
to place individual textures based on an image files pallete index number
(color).
-- 
Bob H.
http://www.3digitaleyes.com


Post a reply to this message

From: Christoph Hormann
Subject: Re: Different finish for different parts of an object?
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

From: Ross Litscher
Subject: Re: Different finish for different parts of an object?
Date: 13 Nov 2003 18:55:01
Message: <web.3fb418dc5fd136d231809d9d0@news.povray.org>
here is something i worked off of.
http://news.povray.org/povray.binaries.images/30764/

then scroll down (if your useing the web veiw of the newsgroups) to the
message from Gilles Tran.

here is an image i did based on the technique in Gilles' message
http://news.povray.org/povray.binaries.images/30995/

or alternately, seach for "finish maps" in the binaries.images group.





Christoph Hormann wrote:
>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.