From: Tom Melly
Subject: Re: Specular reflection color
Date: 27 Feb 2002 04:36:25
Message: <3c7ca899$1@news.povray.org>
"Michael Smith" <s64### [at] worldnetattnet> wrote in message
news:3c7bf4b4$1@news.povray.org...
<snip>
Hmm, can an image map be used in a layered texture? Can you select the ocean in
an graphics prog with magic wand or something and then layer this over the main
image map? I've never tried to do this, so I'm not sure what is or isn't
possible in this respect...
Tom Melly wrote:
> > "Michael Smith" <s64### [at] worldnetattnet> wrote in message> news:3c7bf4b4$1@news.povray.org...> > <snip>> > Hmm, can an image map be used in a layered texture?
Yes.
--
Ken Tyler
From: Hugo
Subject: Re: Specular reflection color
Date: 27 Feb 2002 17:04:21
Message: <3c7d57e5$1@news.povray.org>
>> Recently I wrote a little piece of code that you can control>> specular colour with...> Would you mind sharing it?
Sure I'll share it. :o) I'm about to clean up the code now, so it will be
more useful for you.. It's not so complicated but I ran into an important
question that I'll try to clarify quickly.. I'll post soon to p.b.s-f,
probably this week.. Please be a little more patient....
Regards,
Hugo
From: Michael Smith
Subject: Re: Specular reflection color
Date: 27 Feb 2002 18:08:32
Message: <3c7d66f0@news.povray.org>
Tom Melly wrote in message <3c7ca899$1@news.povray.org>...
>Hmm, can an image map be used in a layered texture? Can you select>the ocean in an graphics prog with magic wand or something and then>layer this over the main image map? I've never tried to do this, so I'm not>sure what is or isn't possible in this respect...
Fortunately I have an 8-bit water mask image to use. When saved to the
alpha-channel of a cloudless Earth image all the water becomes
transparent and the land remains opaque.
I then create a layered texture material with the lower layer imagemap
being the cloudless Earth image with NO alpha-channel mask. I give
this layer a finish with a specular reflection.
On the upper layer I put the cloudless Earth imagemap WITH the alpha-
channel mask. I give this layer a finish with NO specular reflection.
The result is the upper layer will prevent all specular reflections EXCEPT
in those areas where it is transparent (the water areas). Cool. :-)
Regards,
Mike