Hello,
I would like to have more informations and if possible a code example, about multiple vertex array.
Can I have multiple arrays simultaneously or only not ?
Thank you.
nb: excuse my question and my english, i’m a beginner in both opengl and english.
Ok, so if i want to specify more than one vertex array,
if i undersatand, i have to do
glEnableClientState(…);
glDiasableClientState(…);
between each array.
thanks
Originally posted by phanie: Ok, so if i want to specify more than one vertex array,
if i undersatand, i have to do
glEnableClientState(…);
glDiasableClientState(…);
between each array.
thanks
no u can leave glEnableClientState(…) enabled the whole time, until u dont need it any more
personally i stick
glEnableClientState() GL_VERTEX + GL_TEXTCOORD0
in a init function so its enable the whole time, other states eg colours, normals, texccord1 i do enable/disable when they’re not needed