Primary Flight Display HUD

Started by bizart, November 21, 2012, 09:46:18 AM

Previous topic - Next topic

EgonOlsen

You can blit parts of a texture with the blit methods in FrameBuffer. There's one that takes a gazillion or parameters that can do almost everything. Anyway, 10000 pixels is a bit large... ;)
But you could compose it out of blitted parts and maybe use raft's GLFont class to render the text: http://www.jpct.net/forum2/index.php/topic,1563.0.html

bizart

Hi,

Finally functional scale.. I am using blitString as EgonOlsen suggested.
All calculations are done at onDrawFrame() and speed is very good.

I am using absolute scale and positioning now (800x480 lanscape) of scale, so I have to think of how to make it relative to the screen size and HUD frame..

You can check result here:
http://quadrodynamics.com/PrimaryFlightDisplay.apk

Greetings!

bizart

Hi,

Here is quick demo of fully functional linear scales: http://www.youtube.com/watch?v=iuz7puM3M5Q&feature=youtu.be

jpct is great!

Cheers!