From 50969a223482384ea98bf0ca234d52f778f85c18 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Fri, 31 Jan 2014 13:58:13 -0800 Subject: Update example scene to produce undistorted distance metrics MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit V-REP models vision sensors’ fields of vision as frusta – i.e., V-REP assumes the camera’s field of view terminates in a plane whose points are generally not equidistant from the aperture. Unfortunately, most humans think of a camera’s field of view terminating in a paraboloid. Thus, to the human brain, the raw depth buffer V-REP returns appears distorted. This commit fixes that by getting depth data from a filter, rather than the raw depth buffer; this causes V-REP to perform correction on the data. --- examples/simple.ttt | Bin 507079 -> 509554 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/examples/simple.ttt b/examples/simple.ttt index d95dca7..57c7840 100644 Binary files a/examples/simple.ttt and b/examples/simple.ttt differ -- cgit v1.2.3