Hi david,
There is no error with :
osg::ref_ptr<osg::Node> loadedModel = osgDB::readNodeFile("cow.osg");
but make sure you give the good location for cow.osg.
I mean :
osg::ref_ptr<osg::Node> loadedModel = osgDB::readNodeFile(""C:/...../cow.osg
");
Hope this help.
Christophe.
2007/5/22, David _ <[EMAIL PROTECTED]>:
Hi
i´m using 1.2 osg version and trying to load a model from disk under
windows
visual .net c++
this line is causing exception fault
osg::ref_ptr<osg::Node> loadedModel = osgDB::readNodeFile("cow.osg");
i´m receiving this message
-- --Excepción not controlled in 0x7c81eb33 en pruebaosg.exe: Exception of
Microsoft C++:std::bad_alloc in memory position 0x0012f378.. -----
it´s translated from spanish so maybe is not exactly the same message you
should receive in an english enviroment
thx and sorry for my english
_________________________________________________________________
Horóscopo, tarot, numerología... Escucha lo que te dicen los astros.
http://astrocentro.msn.es/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/