I was just wondering whether there is a way to apply bullet physics to opengl drawn objects (created using glVertex3f or triangle mesh with glVertexAttribPointer). I am curr
After you downloaded Bullet Physics SDK, look the file GL_ShapeDrawer.cpp,you will find some interresting functions such like drawSphere, drawCylinder,drawOpenGl.. the last one i mentionned lets you draw any type of suported shape :
Each type of shape from shape->getShapeType() has its own dedicated function for rendering with opengl
But my method involves to
Personnaly, i'm using Irrlicht because Irrlicht is the "write less,do more" solution of opengl :p