Tris and Verts

Hello,

I’ve got a really simple question, but I can’t find it anywhere on google. For school me and a friend are working for math project. We choose game design. We can’t find anywhere on the internet a good explanation from the difference between tris and verts.

We thought this: Tris are triangles, Verts are vertexes.
But then we get the problem that Verts also could be verticles.

So our question is, What are tris and verts, and out of what are game objects made, because in unity3d you can see the tris and verts and we don’t know what it is.

Maybe you guys can also only give a google link or something like that.
Hope for your help guys.:slight_smile:

Verts is short for vertices (singular: vertex).

A vertex at it’s most basic is simply a point in space - an X, Y and a Z coordinate that gives a position.

A triangle is the flat shape you get when you join up 3 vertices positions. This is what forms the shell of your 3D model that you see in-game.

In games, each vertex traditionally has a lot more information attributed to it, such as colour, normal (the direction that it points in, for lighting), tangents and sometimes binormals (for normal mapping) and various UV coordinates (for texture mapping).

1 Like

If you have these vertices:

var vertices = [Vector3(0, 5, 0), Vector3(5, 5, 0), Vector3(0, 0, 0), Vector3(5, 0, 0)];

Then you could make a square (two triangles) like this:

var triangles = [0, 1, 2,  1, 3, 2];

The vertices array is a bunch of points in space and the triangles array is a list of which points to use in order to draw triangles. The order is important, because a clockwise winding order means the surface normal points outward. This is used to determine the front and back faces.

–Eric

That’s not a word (maybe you meant “verticals”?). “Vertexes” is technically English, but “vertices” is the standard spelling/pronunciation. Just don’t start using the back-formed singular non-word “vertice”, which I have heard in far too many tutorial videos.

Thank you guys for the help and for improving my English (I’m Dutch :smile:).
We can do a lot with this!

1 Like