# polygons vs. triangles

#1

hey everyone!

i got a really simple question that is kinda confusing me.

what’s the difference between polygon and triangle counts?

thanks. T

#2

Triangles are polygons, but polygons aren’t necessarily triangles. All polygons that have more than 3 sides can be broken down into triangles. The polygon count is the total number of all polygons ( including triangles ), while for the triangle count, the polygons are broken down into triangles, so it’s not longer a mix of n-sided polygons and triangles, it’s all triangles. For instance, say there is 1 quad, and 1 triangle in a scene. The poly count would be 2, but the triangle count would be 3 because a quad is broken down into 2 triangles.
Dan

#3

@@Triangles are polygons, but polygons aren’t necessarily triangles.@@

Wrong! Polygons are always triangles. Just because the application shows you a n-sided polygon it doesn´t mean it isn´t a triangle. Normally n-sided polygons do not exist. You can see it as a fake. Programmers should know it! This is a shake-down!!! :))

Every Polygon that is “not” a triangle are several triangles.

Cheers

#4

First, I was talking about polygons in a geometrical sense, which certainly do exist you goofball. I am a programmer as a matter of fact, and I know that polygons are triangulated before they are rendered, but that doesn’t mean n-sided polygons aren’t really there, as far as the storage of the geometry in the file goes, there are n-sided polygons.
Dan

#5

Hi,

@@but that doesn’t mean n-sided polygons aren’t really there@@

Oh yes, that´s exactly what it means!

@@as far as the storage of the geometry in the file goes, there are n-sided polygons.@@

That´s partly correct, but the storage of the geometry in the file is just a reference for the programm. The real code is of course converted by the app internally. And the app does not know any n-sided polys at all! Conclusion: n-sided polygons do not exist! :applause:

But I guess that´s not the kind of answer phantomgti2 wanted to have!

Of Course I know what you wanted to say!

Cheers

#6

“And the app does not know any n-sided polys at all!” Here you are wrong. Programs do some operations on n-sided polygons, it does not necessarily triangulate for everything. Triangulation is only good for certain operations. Don’t make me bust out my graphics programming books.
Dan

#7

Triangles are just that – 3-sided faces. Polygons can have 3 or more faces. Some applications which distinguish between triangle-based geometry and polygonal geometry will report polygon count differently between these two object types. 3dsmax, for instance, will always report the number of triangles on an Editable Mesh object even when it appears in the viewports to have faces with greater than 3 sides. But for an Editable Poly object, Max will report the number of true polygons.

The difference may only be one of semantics, but it becomes important if you’re making models for a game, since game engines triangulate everything. If you’re working with n-sided faces in your modeling package, you’ll still need to keep the triangle count in mind so that you don’t exceed your geometry budgets for the target application.

#8

phantomgti2 skip all the other replies and just read LFShade’s, it’s much clearer.
Dan:thumbsup:

#9

graphics books? Got three of them always besides me!
We are just talking ****!

Cheers

#10

Oh yeah, forgot to mention. Here’s a rule of thumb for the triangulation of polys with greater than 3 sides:

A polygon with n sides will break down into n-2 triangles.

#11

thanks guys for all your input.

#12

Triangles are just that – 3-sided faces. Polygons can have 3 or more faces.

I believe you mean Polygons can have 3 or more sides.

#13

Thanks. I really need to read over my scribblings before I post them:thumbsup:

#14

HA HA HA LOL. Yeah I have to be careful too.

#15

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.