POV-Ray : Newsgroups : povray.binaries.images : tracking simulation : Re: tracking simulation Server Time
9 Aug 2024 13:24:45 EDT (-0400)
  Re: tracking simulation  
From: Lance Birch
Date: 11 Feb 2005 10:18:37
Message: <420ccccd@news.povray.org>
Ah - now I understand what you mean.

You're saying that you're trying to test the software's accuracy by making it
track to a POV-Ray generated "perfect" image/environment - the results of which
should match the test with real camera images.

There are two possible reasons why you're getting strange results:
1. the POV-Ray camera is of a projection type or angle of view that the software
can't easily calibrate to
2. the tracking software is having a difficult time finding the targets because
of the black background of the image

I believe your problem is your camera's "direction" vector.  Setting it to
<0,0,1.7526> will increase POV-Ray's viewing plane distance (which can be
thought of as being similar to a real camera lens' focal length - the longer the
"direction" vector, the longer the focal length, and the more "zoomed in" your
image will be).  The longer the focal length the smaller the angle of view, and
this reduced viewing angle could be causing the tracking software to incorrectly
believe that the camera is closer to the tracking targets than it really is, or
cause the tracking software to incorrectly calibrate because it is expecting an
angle of view within a certain range.

Alternatively, maybe the tracking software is becoming confused because the
background colour of your POV-Ray image is black, and the tracking software is
looking for a series of black targets.  It might be a good idea to place a white
plane behind the target objects so that the image has a white background (like
the real camera image), which should make it easier for the software to find the
targets.

So, I'd suggest making the background of your POV-Ray image white, and removing
the "direction" from your camera and only using location and look_at to begin
with, and see if this helps.  If it doesn't, use the "angle" keyword (it's
easier than using the "direction" keyword) to adjust the viewing angle of
POV-Ray's camera to match that of your real camera, then see if the tracking
software's results are more accurate.

Lance.

thezone - thezone.firewave.com.au
thehandle - www.thehandle.com


Post a reply to this message

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