Hello,

I have just started exploring OpenSceneGraph, having made my own scene graph and
used a few others in the past. I would like to use OSG with SDL for the
low-level things (window/video mode setting, etc.).

I found the osgSDL library linked on
http://www.openscenegraph.org/index.php?page=Community.WindowingToolkits


My first question is: is this still a good choice to integrate the two
libraries? Is anyone using this successfully?

My second question relates to osgSDL directly (if anyone can suggest another
alternative to osgSDL, then ignore the second question! :-). I downloaded it,
but it seems like it hasn't been maintained for a while. The library compiles
well, but when running osgSDL-example (which I downloaded from the same
SourceForge project and which compiles well too), I get:

Unhandled exception at 0x8c90e900 in Tutorial_02.exe: 0xC0000005: Access
violation reading location 0x8c90e900.

The call stack says the problem occurs at:

osg::ref_ptr<osgUtil::DisplayRequirementsVisitor> drv = new
osgUtil::DisplayRequirementsVisitor;

which calls

ref_ptr(T* ptr) : _ptr(ptr) { if (_ptr) _ptr->ref(); }

I don't really know what could be causing this, other than mismatched library
versions maybe? Any suggestions welcome.

Versions: OSG 1.2 binary pack downloaded from http://mew.cx/osg/
          SDL 1.2.11

Thanks in advance,

J-S
--
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to