|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi, all
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?)
if I put camera and light source in the same position. But I am not familar
with this huge program. So please tell me where can I find the output
imagine data?
Thanks a lot
Wu Yang
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3daed0df@news.povray.org>, "Wu Yang" <wya### [at] cswrightedu>
wrote:
> 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?)
> if I put camera and light source in the same position. But I am not familar
> with this huge program. So please tell me where can I find the output
> imagine data?
"imagine" is a verb, as in "imagine a pink elephant". I think you mean
image.
If so, what is wrong with the output image? Or do you want the ray
information? In that case, look at the functions in render.cpp,
particularly trace_pixel().
It would be a lot easier to help you if you would give some hint as to
what you are doing...
--
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Thu, 17 Oct 2002 11:04:55 -0400, "Wu Yang" <wya### [at] cswrightedu>
wrote:
> 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?)
>if I put camera and light source in the same position. But I am not familar
>with this huge program. So please tell me where can I find the output
>imagine data?
It sounds like you're after the distance from the camera to the
nearest intersection for a given pixel, perhaps for 3-d output ?? If
so you don't need to modify the source to get that, just union all the
objects together and texture with a gradient from white to black along
the camera view vector. Using 16-bit greyscale for max depth
resolution, otherwise you get max 255 steps.
/Erkki
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|