View Full Version : Vertex Arrays
I have got some trouble with the vertex array. It is possible to set a different Index Array for Color and Vertex? I know this feature from Java3D.
Thanks a lot for your replies.
10-02-2000, 04:47 AM
No, you can't do that will openGL vertex arrays. It would sure be user friendly but it wouldn't make much sense in terms of optimization. The idea behind vertex arrays is to transform a vertex complete with attributes (color and tex coords - the normal is only there to compute the color value with a lighting equation) once even if its used more times. If you start adding an index per attribute, the driver will have to keep track of each individual combination !
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.