Re: TErrain strippifying
"Curtis L. Olson" <[email protected]> Mon, 13 Jun 2005 13:02:53 -0500
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <[email protected]> |
Erik Hofman wrote: > Since TerraGear currently generates (small) triangle fans because of > various reasons it might be worthwhile to use triangle strips instead. > > In the OpenGL newsgroups I found a reference to a method to generate > triangle strips (w. sourcecode) and to tie multiple smaller triangle > strips together. This would allow us to generate one triangle strip > for each material within one tile! I suppose this would speed up > terrain rendering quite a bit: > > See the "Connecting strips" section of this document fro more > information: > http://www.codercorner.com/Strips.htm Strippifying would be good. It probably wouldn't be hard to write a good stripifyer ourselves ... start with the least connected triangle first and add as far as you can go. An "optimal" stripper is nice, but I don't think it would yield significantly better results than a "good" stripper algorithm. The reason we have fans is that Steve Baker thought it might be a good idea at the time I was writing the code. I've never gotten back to writing a stipifyer. The one I found on the net was buggy and sucked which is one of the reasons I wrote a fanifyer. Curt. -- Curtis Olson http://www.flightgear.org/~curt HumanFIRST Program http://www.humanfirst.umn.edu/ FlightGear Project http://www.flightgear.org Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d _______________________________________________ Terragear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/terragear-devel 2f585eeea02e2c79d7b1d8c4963bae2d