POV-Ray : Newsgroups : povray.programming : Generating depth (range) image : Generating depth (range) image Server Time
1 Jun 2024 20:45:13 EDT (-0400)
  Generating depth (range) image  
From: Tal
Date: 30 Sep 2005 12:20:01
Message: <web.433d64acc5c5138ed475239f0@news.povray.org>
Hello All,

For research I'm doing in computer vision, I'm interested in modifying
POVray so that it can output an image that is a depth (i.e.  range)
map of the scene.  In other words what would a laser range-finder
report back when scanning the scene.  I have several questions about
this task.

1. Has this been done?  I'd hate to be replicating someone else's
   work.  I've looked in the obvious places and haven't seen that
   anyone has done this.

2. Is the only way to do this through modifying the source?  I thought
   that there might be some crazy way of implementing this using the
   programming capacities of the scene language, but I can't quite see
   how.

3. Can someone give me a quick roadmap and time estimate for the
   project?  More specifically how long do you think it would take?
   What's the basic approach that you would take?  Do you see any
   obviously difficult stumbling blocks?

   I've looked over the code in render.cpp and it seems like I would
   just need to make an alternate rendering routine that returns
   ranges instead of RGB values.  In other words it doesn't seem like
   it would be terribly difficult because I'd just be combining
   together pieces of code that are already written in a new way.  Am
   I totally off base?

Thanks,
Tal


Post a reply to this message

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