POV-Ray : Newsgroups : povray.general : Vector data output : Re: Vector data output Server Time
29 Jul 2024 10:18:36 EDT (-0400)
  Re: Vector data output  
From: Matthias Wieser
Date: 1 Nov 2011 17:34:12
Message: <4eb065d4$1@news.povray.org>
clipka wrote:

> Am 28.10.2011 18:56, schrieb Matthias Wieser:
>> Hi,
>>
>> I'm trying to figure out if it is possible with povray to get the
>> following additional information for each pixel as a separate text or
>> image file:
>> - x,y,z coordinates pixel
> 
> I guess you mean the 3D coordinates of the (nearest) object hit.

Yes, that's right.

> There are two possible ways of obtaining this information; both will
> require you to run the render a second time:
> 
> - Use special textures that give you access to the desired information.
> A texture with averaged red, green and blue gradients and an
> ambient-only (POV-Ray 3.7: emission-only) finish should do.
> 
> - Use MegaPOV, which gives you access to this information with its
> post-processing features.
> 
> Make sure to use a sufficient bit depth for the output image - I
> suggest 16 bit per color channel, using e.g. PNG - and set the file
> gamma to linear (assumed_gamma 1.0, and File_Gamma=1.0 for POV-Ray 3.7
> or Display_Gamma=1.0 for POV-Ray 3.6 / MegaPOV) for this stunt.

Thank you, I will try.

Matthias


Post a reply to this message

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