You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Use a somewhat complex .osg model
2. load it in and use btConvexTriMeshCollisionShapeFromOSG /
btConvexHullCollisionShapeFromOSG to create bullet shapes from the osg node
3. create btCollisionObjects and add the shapes to them.
4. Add collisionObjects to a btCollisionWorld.
5. create a osgbCollision::GLDebugDrawer instance.
6. set the debug drawer instance as debugdrawer of the btCollisionWorld instance
7. add the drawer->getSceneGraph to a root of an osg::viewer
8. put the debugdrawing in a simple viewer loop.
What is the expected output? What do you see instead?
the GLDebugDrawer does not even draw a ConvexTriMesh shape (while the objects
are present in bullet and collidable)
the debug drawn version of the convexHull does not actually draw a hull but
rather just a full tri-mesh of the model.
What version of the product are you using? On what operating system?
win7 64bit osgw 2.0 + osgb 2.0
Please provide any additional information below.
Both situations assume no explicit osg variation has been loaded and all
scenegraph information is purely derived from whatever is provided to the
debugdrawer.
Attached is the code, should be copied into collision.cpp of the Example
collision.
change std::string complexmodel = "roundabout.osg"; into an concave osg model
that also has a bunch of internal stuff.
(Feel free to mail, I can provide a model if needed)
Original issue reported on code.google.com by [email protected] on 16 Oct 2013 at 11:01
Original issue reported on code.google.com by
[email protected]
on 16 Oct 2013 at 11:01Attachments:
The text was updated successfully, but these errors were encountered: