Show differencesHistory of post edits
Posted 27 December 2012 - 06:31 PM
Can you give me some examples about when I should use a dynamic buffer? I thought I should use it for animated models.Would that be a good ideea?
Because there are certain types of animation,I mean I could make a cube animate like this: put a translation it it's world transform.So the vertex shader would use the world transform to animate it.Then there is absolutely no point in using a dynamic vertex buffer.
Posted 27 December 2012 - 05:53 PM
I don't really know what to believe about that manager.I mean it's very well made.It puts all the vertices that use the same texture,material and transformation matrices in the same buffer.<br /><br />That means a lot of gain! You don't change the texture every time you render a vertex that needs it,you change it 1 time,render all the vertices that need it and you're done!