check how to extend the backclipping of 3d rendered mesh
Closed this issue · 4 comments
danbz commented
in the 3d mesh view the backclipping distance of the render needs to be extended as it is cutting off the rear of some kinect meshes when viewing - this may be in the GL settings.....
danbz commented
Ensure that your zNear and zFar clipping planes are set correctly and in a way that provides adequate depth buffer precision.
danbz commented
void ofGLProgrammableRenderer::setupScreenPerspective(float width, float height, float fov, float nearDist, float farDist)
http://openframeworks.cc/documentation/gl/ofGLProgrammableRenderer/#!show_setupScreenPerspective
danbz commented
fixed using setfarthreshhold(float) and setnearthreshhold(float) on ofcamera object