cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

flinki
Journeyman III

New extension

Hello.

I don't know where I should ask that, but I thing if I write it here, it will be resolved soon. I have a question. I've searched an extension for drawing triangle arrays and I couldn't find it. What I did find are vertex array and vertex buffer object but it's not what I've been looking for. For example if I have a box, it has 8 verticles, 8 colors, 6 normals, 8 texture coords etc. and if I want to create it I must prepare 4 arrays of 24 elements each (24 verticles, 24 colors, 24 normals and 24 texcoords) and array of indexes of these verticles. I suggest you to add new extension - triangle arrays or triangle buffer where I will have 8 verticles, 8 colors, 6 normals, 8 texture coords and array of triangle struct:

struct triangle {

  int verticles[3];

  int colors[3];

  int normal;

  int texcoord[3];

  ...

}


I hope you know what I mean.

Greets

0 Likes
0 Replies