Hi Sam,
The model loads fine on osg-3.3.1 and osg-3.2.0, both 64bit compiled
with VS2010.
There are missing textures, did you try to load your model without textures?
Did you try to use the pre-built osgviewer to load the model?
Also what is a bit strange: You have a VS2010 release and your VS
version is 2012, so this probably might be a problem.
As Robert pointed out (yet I would not be that drastic about Windows)
Microsoft is doing an awful job when it comes to compatibility between
different VS version or even debug/release mixing due to their policy
with iterator debugging etc.
I'd really suggest to build OSG on your own, or use a prebuilt package
for your compiler version. Also check if you are linking against the OSG
debug libraries when doing a debug build (for release vice versa).
cheers
Sebastian
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:
I did that now. But I don't get any additional information when running the
code. This is the output on the console before the exception is thrown.
Code:
First-chance exception at 0x74CC0F22 in OSG.exe: Microsoft C++ exception:
std::bad_alloc at memory location 0x004AF9E4.
First-chance exception at 0x74CC0F22 in OSG.exe: Microsoft C++ exception:
std::bad_alloc at memory location 0x004AF1A0.
First-chance exception at 0x74CC0F22 in OSG.exe: Microsoft C++ exception:
[rethrow] at memory location 0x00000000.
Unhandled exception at at 0x74CC0F22 in OSG.exe: Microsoft C++ exception:
std::bad_alloc at memory location 0x004AF1A0.
OSG.exe has triggered a breakpoint.
First-chance exception at 0x522A5BF4 (osg80-osgDB.dll) in OSG.exe: 0xC0000005:
Access violation writing location 0x7453C7EC.
Unhandled exception at 0x522A5BF4 (osg80-osgDB.dll) in OSG.exe: 0xC0000005:
Access violation writing location 0x7453C7EC.
...
Thank you!
Cheers,
Sam
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=59105#59105
Attachments:
http://forum.openscenegraph.org//files/debby_182.zip
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org