to me looks like you are trying to debug in release -Nick
On Tue, Aug 31, 2010 at 10:46 PM, Sanat Talmaki <[email protected]>wrote: > Hi Jean, > > I was not able to understand this behavior: > > When I had a vec3Array and I queried it using > vec3 = vec3Array->at(0) I would get an exception. Why does it give that > exception ? > > I needed to use (*Vec3Array)[i] to get each Vec3. > But then at i = 14113, I got an Unhandled exception: > at 0x00402207 in OSG_examples.exe: 0xC0000005: Access violation reading > location 0x00ba9000. > And size has a value much higher = 4176061468 > > when I query the vec3Array for size I get a very large number and much > large than Vec3Array->numElements() > size = 4176061468 > numElements = 7772 > Which of these represents the number of vertices in the model ? > > > Thanks > > Sincerely, > Sanat > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=31222#31222 > > > > > > _______________________________________________ > 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

