[osg-users] [osgPlugins] loading .obj file from c++

2014-04-22 Thread Sam Mania
Hi, Sorry for this probably naive question, but I just started working with OSG. I've set up a VC++ project and I'm trying to load an obj file. I get an Unhandeled exception std::bad_alloc at memory location error. I tried to open the obj file using osgviewer and it works fine. The exception

Re: [osg-users] [osgPlugins] loading .obj file from c++

2014-04-22 Thread Sam Mania
Thanks all. @Sebastian: I'm using Windows 7, 32bit, Visual Studio 2012. I'm using the binaries, this is the version: OpenSceneGraph-3.0.1-VS10.0.30319-x86-release-12741 The file size is 875KB. Attached is the obj file (with its mtl file) I only have one version of OSG on the machine. @Tialano: