POV-Ray : Newsgroups : povray.general : Highlights Syntax : Re: Highlights Syntax Server Time
30 Jul 2024 06:29:27 EDT (-0400)
  Re: Highlights Syntax  
From: Zeger Knaepen
Date: 27 Aug 2009 06:55:57
Message: <4a96663d$1@news.povray.org>
"clipka" <ano### [at] anonymousorg> wrote in message 
news:4a9651d4$1@news.povray.org...
>   highlights {
>     specular       // or "phong", choosing the model
>     0.3            // brightness of the highlight
>     roughness 0.01 // value controlling the "spread" of the highlight
>   }

and what if, for whatever reason, you want the effect of both models 
combined?
(layered textures are not an option unless you change the code so that 
patterned textures finally can be layered too, but even then you're making 
it unnecessarily complicated)

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

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