Advertisement

Vectors Vertices and Indices

Started by November 29, 1999 01:10 AM
1 comment, last by GameDev.net 25 years, 1 month ago
Vertices - Are the points that make up a 3D object.

Vectors - They describe the direction, or location of something. As far as D3D is concerned (IM atleast), they are locations, ie, x,y,z. Typically a vertex has a vector as part of it.

Indices - Because of the way 3D models are made, many times a single vertex, "belongs" to more than one triangle (or whatever)

It is far more space efficient to store all vertices in an array, and to define the triangles, simply have the 3 indices (or Index into the array).

So if a triangle had vertices v1,v2,v3, those would be the index into the vertex array, of those particular points.

Kind of hard to express, but I hope I made it clear.

Can someone please clearify the terms to me as they pertain to Direct3D.

Indices
Vectors
Vertices

I can create a mesh like a piece of graph paper and display it but i am trying to make the entire mesh grouped and render it as one.

Advertisement
Yes much better thanks

This topic is closed to new replies.

Advertisement