POV-Ray : Newsgroups : moray.win : Getting light to reflect : Re: Getting light to reflect Server Time
25 Jan 2022 03:23:28 EST (-0500)
  Re: Getting light to reflect  
From: Warp
Date: 27 Feb 2011 05:34:26
Message: <4d6a28b1@news.povray.org>
Tim Cook <z99### [at] gmailcom> wrote:
> >    I think you are confusing the brightest part of diffuse reflection with
> > the brightest part of a specular highlight. They are not at the same place.
> > The former is at the point where the surface is directly facing the light
> > source (and it does not depend on the position of the camera), while the
> > latter is where the angle between the normal vector of the surface and
> > the light source is the same as the angle between the normal vector and
> > the camera (which means that the location of the highlight depends on the
> > location of the camera, and thus moves if the camera is moved).

> ...and this, which I'm finding hard to visualise, somehow.  Rather, I 
> /can/, but understanding of what's happening in regards to 
> light/object/camera relative loci is escaping me.  An animation would do 
> wonders (and not just for me, perhaps?)...

  You don't need an animation to visualize the difference. Consider the

camera { location -z*6.5 angle 25 look_at 0 }
light_source { y*100, 1 }
{ 0, 1
  pigment { rgb <1, .5, .25> }
  finish { specular 1 roughness .01 }

  The brightest part of the (diffusely illuminated) surface is at the very
top, because the light source is right above the sphere (and the camera is
on the z axis). However, the specular highlight is not at the top, but lower
(more precisely where the angle between the normal vector and the light
source is the same as with the camera).

                                                          - Warp

Post a reply to this message

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