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