![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <3dab0537@news.povray.org>, "Wu Yang" <wya### [at] cs wright edu>
wrote:
> Yes, I got it. Thank you very much. But I do not know why "box.pov" is
> not a scene with reflection. I do see it. Why can I see it?
Are you talking about the one in the standard example scenes?
scenes/objects/box.pov? The one I have doesn't have any reflection. Did
you modify it? Where do you see it?
> The data for displaying is what I want to get. Is it called light
> internsity?
Data for displaying what? What exactly do you want?
The Reflect() function is called when POV computes a reflected ray. If
the scene doesn't use reflection, it is never called. It has nothing to
do with anything being displayed, other than being one step in the
process of computing the final pixel color. Do you want the output
image? That has nothing to do with reflection, and is a completely
different part of the code.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Yes, I want the output image data. What is the difference between the
output image data with the reflection data?
The following is what I want to do:
Suppose I put a radar in the camera position. Because the radar emit the
electromagnetic wave, so it also likes a light source. I want the data back
to the radar, that is to say, the camera position. I think that this is the
same data which I can see by render some pov file(output image data,
right?).
Thank you for your help
Best Regard
Wu Yang
"Christopher James Huff" <chr### [at] mac com> wrote in message
news:chr### [at] netplex aussie org...
> In article <3dab0537@news.povray.org>, "Wu Yang" <wya### [at] cs wright edu>
> wrote:
>
> > Yes, I got it. Thank you very much. But I do not know why "box.pov"
is
> > not a scene with reflection. I do see it. Why can I see it?
>
> Are you talking about the one in the standard example scenes?
> scenes/objects/box.pov? The one I have doesn't have any reflection. Did
> you modify it? Where do you see it?
>
>
> > The data for displaying is what I want to get. Is it called light
> > internsity?
>
> Data for displaying what? What exactly do you want?
> The Reflect() function is called when POV computes a reflected ray. If
> the scene doesn't use reflection, it is never called. It has nothing to
> do with anything being displayed, other than being one step in the
> process of computing the final pixel color. Do you want the output
> image? That has nothing to do with reflection, and is a completely
> different part of the code.
>
> --
> Christopher James Huff <cja### [at] earthlink net>
> http://home.earthlink.net/~cjameshuff/
> POV-Ray TAG: chr### [at] tag povray org
> http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <3dab845d@news.povray.org>, "Wu Yang" <wya### [at] cs wright edu>
wrote:
> Yes, I want the output image data. What is the difference between the
> output image data with the reflection data?
> The following is what I want to do:
> Suppose I put a radar in the camera position. Because the radar emit the
> electromagnetic wave, so it also likes a light source. I want the data back
> to the radar, that is to say, the camera position. I think that this is the
> same data which I can see by render some pov file(output image data,
> right?).
Ok, I think this is where our miscommunication is happening. When people
speak of "reflection", they usually mean specular reflection, like a
polished surface or a mirror. You seem to be looking for diffuse
reflection, which is light scattered in all directions by a surface.
If you want diffuse reflection data per ray, you should modify Diffuse()
in lighting.cpp. Maybe Diffuse_One_Light() too, I haven't looked very
closely. If you just want the output image data, why not just use the
output image?
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I got it. Thank you very very much. But I confused with the Ray struct.
What I want is the ray intensity. Could you please tell me how can I get it?
Thanks a lot
Best Regard
Wu Yang
"Christopher James Huff" <chr### [at] mac com> wrote in message
news:chr### [at] netplex aussie org...
> In article <3dab845d@news.povray.org>, "Wu Yang" <wya### [at] cs wright edu>
> wrote:
>
> > Yes, I want the output image data. What is the difference between the
> > output image data with the reflection data?
> > The following is what I want to do:
> > Suppose I put a radar in the camera position. Because the radar emit
the
> > electromagnetic wave, so it also likes a light source. I want the data
back
> > to the radar, that is to say, the camera position. I think that this is
the
> > same data which I can see by render some pov file(output image data,
> > right?).
>
> Ok, I think this is where our miscommunication is happening. When people
> speak of "reflection", they usually mean specular reflection, like a
> polished surface or a mirror. You seem to be looking for diffuse
> reflection, which is light scattered in all directions by a surface.
> If you want diffuse reflection data per ray, you should modify Diffuse()
> in lighting.cpp. Maybe Diffuse_One_Light() too, I haven't looked very
> closely. If you just want the output image data, why not just use the
> output image?
>
> --
> Christopher James Huff <cja### [at] earthlink net>
> http://home.earthlink.net/~cjameshuff/
> POV-Ray TAG: chr### [at] tag povray org
> http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |