smokhov/simple-openni

convertRealWorldToProjective() only works when depth image is enabled

GoogleCodeExporter opened this issue · 1 comments

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

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

  • Changed state: Done