|
|
> I'm new to Pov-ray. I wanted to know if instead of rendering a camera-like
> image, it is possible to saye rays (position x,y,z and cosine directions)
> into a file?
No, it's always an image produced... but there is an orthographic camera
that produces a flat image with no perspective.
If you place a light behind the camera and use hf_gray_16 then you
can get a grayscale image with depth info suitable for height_field use.
Or you can use gradient textures, either way the output image has
depth info as luminance.
Post a reply to this message
|
|
|
|
mobile.valter wrote:
> I'm new to Pov-ray. I wanted to know if instead of rendering a camera-like
> image, it is possible to saye rays (position x,y,z and cosine directions)
> into a file?
There is a "trace" function which will return position and normal
for a single ray (and of course you could write this into a file).
But I may have misunderstood what you are trying to do.
Post a reply to this message
|
|