Re: [Flightgear-devel] Scenery files triangles

2005-07-13 Thread James Turner
On 13 Jul 2005, at 15:36, Andy Ross wrote:These days, it's usually faster to use indexed vertices.  Strips and fans are faster because they reduce the number of vertices that need to be transformed by (and sent to) the hardware by "saving" 1 or 2 from the last triangle drawn.  But modern cards have vertex caches that are much (!) larger than 1 or 2 entries.  If someone wants to change the terrain format, I'd suggest trying indexed vertices first -- it's simpler, too. Whilst wishing to avoid a 'me too' post, I fully agree with this; writing a strip-ifier is a complex job, storing each tile as several, or maybe even one vertex array with indices is easier to generate, involves fewer SSG nodes, and is easier for drivers to optimise on the card, than either fans or strips.James___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Re: [Flightgear-devel] Scenery files triangles

2005-07-13 Thread Andy Ross
Harald JOHNSEN wrote:
> Is there a reason why we are using fans and not strips for tile
> objects ?

These days, it's usually faster to use indexed vertices.  Strips and
fans are faster because they reduce the number of vertices that need
to be transformed by (and sent to) the hardware by "saving" 1 or 2
from the last triangle drawn.  But modern cards have vertex caches
that are much (!) larger than 1 or 2 entries.

If someone wants to change the terrain format, I'd suggest trying
indexed vertices first -- it's simpler, too.

Andy

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Scenery files triangles

2005-07-13 Thread Harald JOHNSEN

Erik Hofman wrote:


Harald JOHNSEN wrote:

Is there a reason why we are using fans and not strips for tile 
objects ?



http://baron.flightgear.org/pipermail/terragear-devel/2005-June/001219.html 



Erik


lol ok, I didn't saw that ;)

Harald.


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Scenery files triangles

2005-07-13 Thread Erik Hofman

Harald JOHNSEN wrote:


Is there a reason why we are using fans and not strips for tile objects ?


http://baron.flightgear.org/pipermail/terragear-devel/2005-June/001219.html

Erik

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d