blessman11
02-06-2012, 10:50 AM
hi
Does Open GL support vertex group referencing like Direct X does? This is to say if a vertex array group of position coordinates, texture coordinates and normal coordinates is stored in a "struct" array(or equivalent) could Open GL support a an indice list used to locate a vertex group.
<<E.G.>>
struct VertexType
{D3DXVECTOR3 position;
D3DXVECTOR2 texture;
D3DXVECTOR3 normal;
};
//Vertex group array
VertexType * vertices;
Does Open GL support vertex group referencing like Direct X does? This is to say if a vertex array group of position coordinates, texture coordinates and normal coordinates is stored in a "struct" array(or equivalent) could Open GL support a an indice list used to locate a vertex group.
<<E.G.>>
struct VertexType
{D3DXVECTOR3 position;
D3DXVECTOR2 texture;
D3DXVECTOR3 normal;
};
//Vertex group array
VertexType * vertices;