POV-Ray : Newsgroups : povray.programming : Where can I find the output imagine data? Server Time
23 Dec 2024 11:23:54 EST (-0500)
  Where can I find the output imagine data? (Message 1 to 3 of 3)  
From: Wu Yang
Subject: Where can I find the output imagine data?
Date: 17 Oct 2002 11:01:51
Message: <3daed0df@news.povray.org>
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

From: Christopher James Huff
Subject: Re: Where can I find the output imagine data?
Date: 18 Oct 2002 12:19:22
Message: <chrishuff-2E4CE8.12142518102002@netplex.aussie.org>
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

From:
Subject: Re: Where can I find the output imagine data?
Date: 21 Oct 2002 16:43:11
Message: <3db56669.110989714@news.povray.org>
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

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