LWJGL Forum

Programming => OpenGL => Topic started by: jangl on June 25, 2012, 16:19:43

Title: [SOLVED] How to update a Vertex Buffer Object?
Post by: jangl on June 25, 2012, 16:19:43
Hello,

I'm currently trying to program a game and as far as loading objects into VBOs it works. But now I want to implement bone animations and therefore I need to manipulate the data of an VBO.
What is the correct way with the best performance to do that?
Somehow I can't find any references to that topic specifically using LWJGL on the internet.

Thanks in advance,
Jan
Title: Re: How to update a Vertex Buffer Object?
Post by: Obsyd on June 25, 2012, 18:09:09
Hi!

You should look into http://www.opengl.org/sdk/docs/man/xhtml/glBufferSubData.xml

Hope it helps!
Title: Re: How to update a Vertex Buffer Object?
Post by: jangl on June 27, 2012, 15:38:49
Hi,

Thank you for the link. The method GL15.glBufferSubData really did the job. :)

Regards,
Jan