POV-Ray : Newsgroups : povray.advanced-users : depth values / hit times : Re: depth values / hit times Server Time
28 Jul 2024 18:27:31 EDT (-0400)
  Re: depth values / hit times  
From: Chris Johnson
Date: 22 Apr 2004 08:52:33
Message: <4087c011$1@news.povray.org>
An alternative to these solutions is to modify the pov-ray source to do
this. The distance a ray has travelled is returned already by the
ray-tracing function, so its a very simple modification to set the pixel
output to this. This might be a easier solution if you need a very accurate
depthmap or need to customise the map further. Unless you've looked at the
Pov-ray source before, though, Tim's method is less hassle.

-Chris


Post a reply to this message

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