POV-Ray : Newsgroups : povray.general : Specular reflection color Server Time
6 Aug 2024 20:24:35 EDT (-0400)
  Specular reflection color (Message 5 to 14 of 14)  
<<< Previous 4 Messages Goto Initial 10 Messages
From: Grey Knight
Subject: Re: Specular reflection color
Date: 26 Feb 2002 06:39:41
Message: <3C7B7408.924C5BFD@namtar.qub.ac.uk>
Take a look at
http://www-public.tu-bs.de:8080/~y0013390/pov/water/index.html
for a good tutorial on creating realistic water.

-- 
signature{
  "Grey Knight" contact{ email "gre### [at] yahoocom" }
  site_of_week{ url "http://digilander.iol.it/jrgpov" }
}


Post a reply to this message

From: Hugo
Subject: Re: Specular reflection color
Date: 26 Feb 2002 06:49:39
Message: <3c7b7653@news.povray.org>
Recently I wrote a little piece of code that you can control specular colour
with... So, sure it's possible in Pov.

Hugo


Post a reply to this message

From: Shay
Subject: Re: Specular reflection color
Date: 26 Feb 2002 09:19:33
Message: <3c7b9975@news.povray.org>
Hugo <hua### [at] post3teledk> wrote in message news:3c7b7653@news.povray.org...
> Recently I wrote a little piece of code that you can control specular
colour
> with...


Would you mind sharing it?

 -Shay


Post a reply to this message

From: Michael Smith
Subject: Re: Specular reflection color
Date: 26 Feb 2002 15:48:52
Message: <3c7bf4b4$1@news.povray.org>
Christopher James Huff wrote in message ...

[Edited]

>No...you're artificially coloring the surface of the water. POV can't
>read your mind...
>
>Reflection will only take the color of the pigment if you use
>"reflect_metallic" (MegaPOV) or put "metallic" in the reflection {}
>block (POV 3.5).
>
>But the highlights and reflections shouldn't be causing you
>problems... by default, they do not take the color of the surface.

Yes, I understand implicitly the above three statements. The
reflection itself is the color of the lightsource (in this circumstance),
but the *net effect* when used on a blue imagemap is a reflection
that appears to be various values of blue...

>Water isn't usually done by making a blue, shiny texture...
>though if you are doing the planet earth I guess you don't have a
>lot of choice.

Now you're seeing the big picture! That's my limitation - I have to
use an imagemap. There's no other realistic option in this situation.

And that's the anology I was trying to make with the Space Shuttle
photo: the entire Earth surface, land AND water, will have to be an
imagemap, regardless of how physically unrealistic that is, and
reflections have to be superimposed onto it and made to *look*
real.

Given those limitations the POV-Ray run universe will not be able
to produce a realistic image (through no fault of its own). But the
situation limits me to using means that I know aren't realistic to get
the *impression* of realism. And in order to do that I just need to
be able to change one simple element (the specular reflection
appearance).

Like I originally mentioned, it can be done using two renders but I'd
prefer to find a way to do it in one to simplify animations.

>Have you tried using reflection instead? Or just very tight specular
>highlights?

Unless I'm missing something (remember I'm not an experienced
user) I have been using specular highlights. Maybe not "very tight"
though because I need to reproduce a specific appearance. I'll go
back again and try using just reflection, but I'm almost 100% that
I've tried it before and the results weren't what I wanted.

Regards,

Mike


Post a reply to this message

From: Michael Smith
Subject: Re: Specular reflection color
Date: 26 Feb 2002 15:48:53
Message: <3c7bf4b5$1@news.povray.org>
Hugo wrote in message <3c7b7653@news.povray.org>...

>Recently I wrote a little piece of code that you can control
>specular colour with... So, sure it's possible in Pov.

I'd like to be able to try it, if you wish to make it available.

Regrads,

Mike


Post a reply to this message

From: Christopher James Huff
Subject: Re: Specular reflection color
Date: 26 Feb 2002 18:56:40
Message: <chrishuff-DBF1C5.18563426022002@netplex.aussie.org>
In article <3c7bf4b4$1@news.povray.org>,
 "Michael Smith" <s64### [at] worldnetattnet> wrote:

> >Have you tried using reflection instead? Or just very tight specular
> >highlights?
> 
> Unless I'm missing something (remember I'm not an experienced
> user) I have been using specular highlights. Maybe not "very tight"
> though because I need to reproduce a specific appearance. I'll go
> back again and try using just reflection, but I'm almost 100% that
> I've tried it before and the results weren't what I wanted.

Well, if you're using the "specular" keyword, those are specular 
highlights. ;-)

If you are trying to get a more spread-out highlight but reduce the 
blending, you might try reflection (which won't fade at all by default), 
possibly in combination with very tight specular, and give the texture a 
fine normal. The normal will break up the reflection of the sun, and 
actually simulate the effects of real highlights, but it will be more 
on/off...there will be areas that are highlighted and areas that are 
blue, with no blending between them.

If it doesn't have to be Earth, you could use a procedural texture and 
planet, and simulate the actual depth of the oceans, but it sounds like 
you want Earth.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

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...


Post a reply to this message

From: Ken
Subject: Re: Specular reflection color
Date: 27 Feb 2002 08:26:13
Message: <3C7CDE8E.5EDAAF9@pacbell.net>
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


Post a reply to this message

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


Post a reply to this message

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


Post a reply to this message

<<< Previous 4 Messages Goto Initial 10 Messages

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