[image: Capture.PNG]

[image: Capture.PNG]
Hi,

I am developing a tool for editing 3D models using openscenegraph. When I 
tried to load an .obj file, the texture is not applied. I am getting only 
black shade.
The model is imported using the below code. 


 osg::ref_ptr<osg::Node> model1= osgDB::readNodeFile(path.toStdString());
 model1->setDataVariance(osg::Object::DYNAMIC);



-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osg-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/2877ba6a-106a-4833-a726-8c318648a466%40googlegroups.com.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to