Last mail was cut...

What about the performance ?
Imagine a simple gauge with a background and a needle. This could be
drawn with 
3 lines of Nasal code: 
        DrawTexture(background, x,y), 
        Rotate(angle), 
        Drawtexture(nnedle, x,y)

So it can't be slower than xml gauges.
And more complex gauges ? This is were draw to texture is handy. There
is no
need to generate the texture every frame. Some instruments need to be
refreshed every 1/10
of second, perhaps a radar could use a refresh of half a second, and a
moving map a
refresh every second (or less).

Now the xml gauges wont refer to a texture loaded from a file but to
this generated texture.

Harald.

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to