View Full Version : Meshes

11-16-2000, 01:30 AM
I am trying to do a simple landscape renderer using a mesh (like this)
| \ | / |
| / | \ |

repeated many times to create a neatly curving landscape. At the moment I am using triangle fans to draw them, but I have been told there is a more efficient triangle strip. I can't find it (does anyone know what it is).

Michael Steinberg
11-16-2000, 05:52 AM
For a simple landscape renderer the trifans seem to be efficient...

But, how does the mesh look when width and height are greater?

Glenn Upton
11-16-2000, 07:44 PM
triangle strips will "crack" when you start adding height. try it alternate a sin function and a cosin for each other strip. You need to define your own algorithms to create a real mesh (well I couln't find any). email me at glennupton@yahoo.com and I'll send you what I developed. Probably not great but works regardless of height displacement.