Dear all,
I'm having a problem when importing an OBJ model. I load the v positions (vertices), the indices and the vn positions (normals). Then I create a geometry with these data. I'm having a bad result (see image attached), it is like the normals are not well defined. I have the same vertices as normals, so I define the normal array as: mesh->setNormalArray( &n ); mesh->setNormalBinding( osg::Geometry::BIND_PER_VERTEX ); Does anyone has an idea of what could be the problem? thanks _________________________________________________________________ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
<<attachment: example_normals.jpg>>
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org