On Tue, Jan 3, 2017 at 1:49 PM, Rambabu Repaka <[email protected]> wrote:
> Hi,Iam using osg 3.5.1 version Textures are not loading to the model it is > showing Warning: [ReaderWriterOBJ::convertElementListToGeometry] Some > faces from geometry '' were reversed by the plugin.I converted the model > into .osgb format but textures are not adding to the model. > Do you have the textures correctly applied to your model? I.e. you need the .mtl file with your .obj and the texture needs to be in the path specified in the .mtl Second, the error message about reversed faces means that your model has inconsistent winding order (clockwise vs anticlockwise). You should check that because it could mean that your normals will be wrong and faces get removed/culled by backface culling, making the model either disappear or have "holes". Conversion to .osgb won't help you any, because the converter uses the same obj loader as the viewer. So if it doesn't work with the viewer, it won't work after the conversion neither. Regards, J.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

