Transform Feedback

Started by Estraven, March 28, 2012, 13:43:52

Previous topic - Next topic

Estraven

Hi,

I'm trying to use OpenGL 4 Transform Feedback mechanism. I've found some C++ stuff on Google, but i can't get it to work.
It seems very complicated for a quite simple functionnality.

What I'm trying to do now is :

I have a vehicle mesh (stored as a "Vertex Array Object" linked to some "Vertex Buffer Objects" )
and i'm using JBullet to compute it's physical behavior.

I would like to be able to modify the vehicle mesh shape when it hits walls (for example) using transform feedback,

Does anyone have a working example with LWJGL ?
Can I get some help, and some piece of code that works ?
Any kind of explanation might help.

Thanks,
Estraven,