eveevans / simple-openni

Automatically exported from code.google.com/p/simple-openni
0 stars 0 forks source link

convertRealWorldToProjective() only works when depth image is enabled #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

convertRealWorldToProjective( .. )
only works when enableDepth() has been called on context before. Otherwise the 
projected PVector is returned as [0,0,0].

What version of the product are you using? On what operating system?

OS-X, OpenNI installer from here SimpleOpenNI 0.22

Original issue reported on code.google.com by fjen...@gmail.com on 2 Dec 2011 at 1:33

GoogleCodeExporter commented 8 years ago
SimpleOpenNI knows the fov only when the depth is enabled. Without this 
information the lib can't calculate the projection, which depends on the camera 
angles.

Original comment by m...@paus.ch on 5 May 2012 at 8:42