On 19-3-2019 9:22, iljah wrote:
> I'd like to color all objects by how far each part of them that's visible in a
> particular pixel of final image is from the camera. Apparently this can be done
> by using some pigment but I have no idea what to do after spending about an hour
> reading https://www.povray.org/documentation/view/3.6.1/332/ and other pages.
> Google wasn't helpful either. Any suggestions? Thanks!
>
>
The small attached scene does that (thanks to Alain and ChrisB).
--
Thomas
Post a reply to this message
Attachments:
Download 'tdg_depth_map.pov.txt' (3 KB)
|