I was trying to get the basic geometry example working.

Here's is a similar problem i had with the ScreenIdentifier.

VectorGLuint test;
test.push_back(3); //works

VectorGLuint* test2 = new VectorGLuint();
test2->push_back(3); //works

DrawElementsUInt* pyramidBase = new 
DrawElementsUInt(PrimitiveSet::QUADS, 0);
pyramidBase->push_back(3); //crashes with "invalid null pointer"


pyramidBase itself is definitely != NULL. The exception is thrown from 
somewhere inside Microsofts STL.

My includes are no more than:
#include <osgViewer/Viewer>
#include <osg/PositionAttitudeTransform>
#include <osg/Geometry>

Someone else having these problems? I didn't change any of my compiler 
settings, this is a new MSVS8 empty win32 console project.
May i be better off, compiling the latest development version of osg?

Another question:
OpenInventor's feature list contains "introduces a simple event model 
for 3D interaction". Does it mean, that simple actions like moving some 
3D objects can be described within the .iv file? If so, does 
OpenSceneGraph support it?

Thanks again!
-- Matthias
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to