POV-Ray : Newsgroups : povray.general : Highlights Syntax : Re: Highlights Syntax Server Time
30 Jul 2024 06:24:09 EDT (-0400)
  Re: Highlights Syntax  
From: Jellby
Date: 28 Aug 2009 09:40:09
Message: <l42lm6-l6g.ln1@badulaque.unex.es>
Among other things, Zeger Knaepen saw fit to write:

> and what if, for whatever reason, you want the effect of both models
> combined?

Why not allow multiple highlights{} blocks in finish{}?

You could have: 

finish {
  highlights {
    specular
    0.3
    roughness 0.01
  }
  highlights {
    phong
    0.2
    roughness 0.1
  }
}

-- 
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby


Post a reply to this message

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