POV-Ray : Newsgroups : povray.general : shading model : Re: shading model Server Time
19 Nov 2024 13:43:46 EST (-0500)
  Re: shading model  
From: Kari Kivisalo
Date: 19 Feb 2002 01:59:30
Message: <3C71F81B.A88E331D@engineer.com>
John Bradshaw wrote:
>
> I want to modify amount of lighting based on the angle between the camera
> incidence ray and the normal vector of points in the mesh. My goal is to
> create a scanning electron microscope look: bright edges (where the angle
> between viewing ray and normal vector is larger) and a duller center (where
> the angle is smaller).


http://www.pp.htv.fi/kkivisal/em.jpg

 pigment {
    slope {cam_lookat-cam_location,0,0.5}
    color_map{
      [0 rgb 0]
      [0.5 rgb 0.3]
      [1 rgb 1]
    }
  }

_____________
Kari Kivisalo


Post a reply to this message

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