Terrain Engine Polygons

Started by
1 comment, last by Oxyacetylene 18 years, 8 months ago
Hello, I have seen some terrain engines use quads and some use triangles to render the terrain. I was wondering if one is better suited for certain things than the other or if it matters at all?
Advertisement
All I'm about to say is based under OpenGL work.

A quad is two triangles. However, you can use GL_QUAD, but then you'll have a lower detail ability (unless I'm mistaken). The way most people do it is GL_TRIANGLE_STRIP or GL_TRIANGLE_FAN (for making quads).

Hope thats some help..
When people draw quads, they use two triangles. The graphics hardware uses triangles, so you should draw triangles.

It's possible that the graphics API might convert the quads into triangles behind the scenes, but you'd really be better off just using triangles from the start.

This topic is closed to new replies.

Advertisement