POV-Ray : Newsgroups : povray.programming : Re: vectors : Re: vectors Server Time
3 Jul 2024 06:15:55 EDT (-0400)
  Re: vectors  
From: Warp
Date: 1 Feb 2004 13:11:31
Message: <401d4153@news.povray.org>
The lighting of a surface must be correct with regard to the light
source regardless of which way the surface normal points at. The normal
can in some cases point to the other side of the surface (without it
being wrong in any way). The simplest example is putting the camera
and a light source inside a sphere.

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

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