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), 
        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.


Flightgear-devel mailing list

Reply via email to