[osg-users] Not able to render the 3D model using C++ program

Uma Devi Selvaraj umaselvam1503 at gmail.com
Wed Oct 5 02:05:24 PDT 2016


 I have tried simple c++ program to render 3d models. with that program I am not able to render large size 3D models(.dxf,.3ds,.obj,.ply). I am able render small size models. 

This is my code.
/*header files*/

osg::ref_ptr<osg::Node> root;
	root = osgDB::readNodeFile("cow.osg");
	osgViewer::Viewer viewer;

	return viewer.run(); 

Can somebody tell me the reason why I am not able to render the large size 3D model. I have attached model. 


Thank you!


Read this topic online here:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bunny.rar
Type: application/octet-stream
Size: 1034898 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161005/b6bad11c/attachment-0002.obj>

More information about the osg-users mailing list