rnodal
09-10-2008, 11:50 AM
Hello all:
I'm trying to understand vertex array a little bit more. In my current code I use vertex arrays to store all the information of the 2D images that I render using quads but I would like to add more shapes(triangles, points, etc). How do I go about doing that?Do I need a separate array for each primitive or can I mix them and then there is a trick to process them?Any help would be greatly appreciated. Thank!
-r
I'm trying to understand vertex array a little bit more. In my current code I use vertex arrays to store all the information of the 2D images that I render using quads but I would like to add more shapes(triangles, points, etc). How do I go about doing that?Do I need a separate array for each primitive or can I mix them and then there is a trick to process them?Any help would be greatly appreciated. Thank!
-r