flinki

New extension

Discussion created by flinki on Jul 25, 2008

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

Outcomes