Imagination PowerVR SDK Blog

Using VBO in glVertexAttribPointerARB


#1

Hello;
Im using VBOs in the index and vertex data (vertexes, texture coords and normals), but when I need extra vertex attribs (like skinning information), Im using RAM pointers…how do I enable VBO on this attribs?
Thanks

Coluna


#2

Hello,

 

It is done in the same way. We have a Training Course in our SDK called MatrixPalette that shows how it is done.

 

Best regards.

 

Carlos.

#3

Hello;
In that demo, there is not glVertexAttrib instructions (as its not using a Vertex Shader, only matrix palette), but only glMatrixIndexPointerOES and glWeightPointerOE.
And its not using VBO too, only RAM pointers (unless Im using a different version of the SDK).
Is there any other demo using it?

Thanks!

Coluna


#4

Hi Coluna,

 

Our current OpenGL Es 1.1 SDK (v2.3) in the PowerVR Insider web site should have support for VBO.

If you require a version with vertex shaders use our OpenGL ES 2.0 SDK which supports VBOs also. Look at the Training Course called 'Skinning'.

 

Regards.

 

Carlos.