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:24:39 EDT (-0400)
  Re: where can I find the mapping between intensity and point  
From: Christopher James Huff
Date: 18 Oct 2002 15:50:04
Message: <chrishuff-B2D72D.15450718102002@netplex.aussie.org>
In article <3db0513d@news.povray.org>, "Wu Yang" <wya### [at] cswrightedu> 
wrote:

>   I think that "Colour" is the key element in forming a camera image, while
> "Intensity" is the key element in forming a radar image. And intensity is a
> parameter of colour. I am not sure that if these two intensities is the same
> one. In light.cpp file, I found intensity variable in several functions and
> it is used to calculate the colour of a object. I thought that this maybe
> what I need, but I do not know the owner of this intensity,that is to say,
> which point have this intensity(this is what mapping means). Maybe not
> right, please give me some advice. Thanks a lot.

It isn't. I just told you what it was.
Again, these "Intensity" or "intensity" variables are just variables to 
hold temporary intermediate values in the process of computing shading, 
iridescence, or highlights. They aren't related to each other other than 
holding similar information and thus having the same or similar names, 
and are completely unrelated to the intensity component in some color 
spaces. The "owner" is the function that has the variable...these are 
variables local to the function, as you can see if you bother to read 
the source code.

There is also no "map" of colors to points. It is sounding more and more 
like you don't understand raytracing and have a very simple view of how 
POV-Ray works...raytracing doesn't compute what colors are at what 
points, but the colors seen along rays and the passage of rays of lights 
through the scene. It isn't that hard to figure out, you are in the 
right files, just actually read the code that's there instead of jumping 
on variables that have certain names.
You also keep blathering about radar, which is a very different thing. 
Why don't you just say what you are trying to accomplish? I've asked you 
to do this several times. If I just see more of this kind of message, 
I'm not going to waste my time on them.

-- 
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.