POV-Ray : Newsgroups : povray.general : Specular colors and maps Server Time
7 Nov 2024 11:35:43 EST (-0500)
  Specular colors and maps (Message 1 to 4 of 4)  
From: Hugo
Subject: Specular colors and maps
Date: 2 Mar 2002 14:27:38
Message: <3c8127aa@news.povray.org>
Hello folks!

Recently, Shay and Michael Smith were talking about filtering specular
highlights in POV.. Normally it's not possible, but I made a "workaround"
last month, and now I've posted the code in p.b.s-f.

It does more than coloring specular highlights.. It takes 3 input maps:
Pigment map, bump map, and reflection map. Yes, you also get the ability to
use reflection / specular maps in your textures.. This means, some parts of
the texture can be more shiny and reflective than others.. A well-known
feature in most raytracers.

But please note, that due to a flaw in POV's layered textures, only specular
mapping works.. Not reflection mapping.. :o/  For now..

Also note that specular filtering doesn't give you very strong colored
results ... if you can improve this, let me know!

Regards,
Hugo


Post a reply to this message

From: Shay
Subject: Re: Specular colors and maps
Date: 4 Mar 2002 11:22:43
Message: <3c839f53$1@news.povray.org>
Played with it this weekend, very cool.

 -Shay

Hugo <hua### [at] post3teledk> wrote in message news:3c8127aa@news.povray.org...


Post a reply to this message

From: Ron Parker
Subject: Re: Specular colors and maps
Date: 5 Mar 2002 13:10:35
Message: <slrna8a2gu.o4e.ron.parker@fwi.com>
On Sat, 2 Mar 2002 20:34:46 +0100, Hugo wrote:
> But please note, that due to a flaw in POV's layered textures, only specular
> mapping works.. Not reflection mapping.. :o/  For now..

I assume you've reported this flaw in the beta-testing newsgroup?

--
#macro R(L P)sphere{L __}cylinder{L P __}#end#macro P(_1)union{R(z+_ z)R(-z _-z)
R(_-z*3_+z)torus{1__ clipped_by{plane{_ 0}}}translate z+_1}#end#macro S(_)9-(_1-
_)*(_1-_)#end#macro Z(_1 _ __)union{P(_)P(-_)R(y-z-1_)translate.1*_1-y*8pigment{
rgb<S(7)S(5)S(3)>}}#if(_1)Z(_1-__,_,__)#end#end Z(10x*-2,.2)camera{rotate x*90}


Post a reply to this message

From: Hugo
Subject: Re: Specular colors and maps
Date: 6 Mar 2002 11:18:19
Message: <3c86414b@news.povray.org>
> > But please note, that due to a flaw in POV's layered textures, only
specular
> > mapping works.. Not reflection mapping.. :o/  For now..
>
> I assume you've reported this flaw in the beta-testing newsgroup?

No, I've written a message about it here in the general group first, but
noone has replied. The message was "Strange transmit in layered texture" and
posted on February 27.. As the problem is not Pov3.5 specific, I decided to
leave it here until someone notice or ... I would mention it again in a few
days.

I'm glad you replied.  :o)

Regards,
Hugo


Post a reply to this message

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