Hi Robert,
I have created a simple osg model that reproduces the crash on my target
platform. As previously mentioned the model consists of a triangle and a quad.
The model (.osgt) is attached to this message. It can be executed using the
standard osgviewer.
Due to the used shader variables (osg_...) a desktop OpenGL2 without fixed
function pipeline or a OpenGL ES 2.0 is required to execute the example.
Otherwise there will be no output on the screen.
The data leading to the crash is :
PrimitiveSetList 2 {
DrawElementsUShort GL_TRIANGLES 3 {
0 1 2
}
DrawElementsUInt GL_TRIANGLES 6 {
3 4 6 3
6 5
}
}
Note the different data types in the DrawElementsUInt blocks, using the same
datatype for both DrawElement blocks would result in a single glBufferSubData
call,which does not crash.
Cheers,
Johannes
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=34335#34335
Attachments:
http://forum.openscenegraph.org//files/vbocrash_172.zip
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org