I have a soft body created with btSoftBodyHelpers::CreateFromConvexHull, so I have my vertex array in memory as well as my indices, now my question is how can I plug that inside a function like glDrawElements, in other words how can I get access to the modified vertex array by the soft body simulation and render my triangles using OpenGL with textures and materials etc... using standard OpenGL draw calls?
Tks in advance,
Cheers,
VBO & Soft Body
-
- Posts: 3
- Joined: Sat Oct 18, 2008 5:52 am
Re: VBO & Soft Body
Theres an example of this on the wiki, here http://www.bulletphysics.com/mediawiki- ... _Rendering
You don't happen to be sio2 off Irrlicht forums? I don't imagine its a very common username.
You don't happen to be sio2 off Irrlicht forums? I don't imagine its a very common username.