POV-Ray : Newsgroups : povray.programming : where can I find the mapping between intensity and point : Re: where can I find the mapping between intensity and point Server Time
28 Jul 2024 06:18:37 EDT (-0400)
  Re: where can I find the mapping between intensity and point  
From: Christopher James Huff
Date: 18 Oct 2002 12:26:10
Message: <chrishuff-7775A7.12211218102002@netplex.aussie.org>
In article <3db020e0@news.povray.org>, "Wu Yang" <wya### [at] cswrightedu> 
wrote:

>   I have found the DBL variable intensity in do_diffuse(), do_irid(),
> do_phone(), do_specular() functions in lighting.cpp file. I think this is
> what I need. But I can not find the point mapping to this intensity. Could
> someone help me to find it? Thanks a lot.

There is no "point mapping". There is also no "intensity" variable 
except for in do_irid(), though there is a "Intensity" in the others. It 
is just a variable to hold data for the calculations, the same name just 
happens to be used in several functions. For example, in do_diffuse(), 
it is the brightness of the light reflected along the ray from a light 
source. In do_irid(), it is a scaling factor for the intensity of the 
iridescence effect.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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