Roy Vegard Ovesen writes:
>
> I'm making an EFIS instrument, but I'm having trouble with a long
> pitchladder texture. It's a long texture that contain the entire
> pitchladder from -90 to 90 degrees. My problem is that it enxtends beyond
> the instrument:
>
> http://home.tiscali.no/rvovesen/Pitchladder.jpg
>
> How can I make the pitchladder texture only display inside the circle?
Don't make the full texture.
Just draw your indidual symbols where you want them.
This is how the HUD ladder is drawn.
The HUD ladder code is a nightmare to follow, but it is 'efficient'
and could 'easily' be used as a model of how todo this.
see the code within
if( div_units )
{
...... the pertinent code is here
}
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel