implement first draft of pybullet.renderImage for synthetic camera

remove a few debug printf from tinyrenderer
This commit is contained in:
Erwin Coumans
2016-06-06 18:54:05 -07:00
parent 8076d5235c
commit 1c7f87aff1
7 changed files with 180 additions and 15 deletions

View File

@@ -265,7 +265,7 @@ void TinyRenderer::renderObject(TinyRenderObjectData& renderData)
Vec3f localScaling(renderData.m_localScaling[0],renderData.m_localScaling[1],renderData.m_localScaling[2]);
Shader shader(model, light_dir_local, modelViewMatrix, renderData.m_projectionMatrix,renderData.m_modelMatrix, localScaling, model->getColorRGBA());
printf("Render %d triangles.\n",model->nfaces());
//printf("Render %d triangles.\n",model->nfaces());
for (int i=0; i<model->nfaces(); i++)
{