Canvas EFB framework: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
m (→‎Background: use proper cquotes thanks to bigstones work)
Line 27: Line 27:


== Background ==
== Background ==
'''Hyde:'''I'm trying to change 777's indicators to canvas system now. Could someone lecture me how to display Airport Chart - Aircraft/Instruments/Textures/od_groundradar.rgb - on EFB? Or is there any other equivalent method?
 
{{cquote
  |<nowiki>I'm trying to change 777's indicators to canvas system now.
Could someone lecture me how to display Airport Chart - Aircraft/Instruments/Textures/od_groundradar.rgb - on EFB?
Or is there any other equivalent method?</nowiki>
  |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=192247#p192247
    |title=<nowiki>How to display Airport Chart?</nowiki>
    |author=<nowiki>Hyde</nowiki>
    |date=<nowiki>Tue Oct 22</nowiki>
  }}
}}


Also see [http://forum.flightgear.org/viewtopic.php?f=3&t=22784 A project to create a source of free geo-referenced instrument charts]
Also see [http://forum.flightgear.org/viewtopic.php?f=3&t=22784 A project to create a source of free geo-referenced instrument charts]
<references/>





Revision as of 15:29, 1 June 2014

This article is a stub. You can help the wiki by expanding it.

Note: While this article is based on considerable community feedback, there's nobody working on this currently.
So if you'd like to help in one way or another, please get in touch or just help improve the article in the meantime!
Useful Skills:
PropertyList XML File, Property Tree, Nasal scripting, Canvas, CanvasMFD, 777, 787


People:

Mentors: Hyde[3], Hooray (get in touch to learn more)
It's possible that this article hasn't been updated in a while, so to catch up with the latest developments, you are advised not to start working on anything directly related to this without first coordinating your ideas with fellow FlightGear contributors using the FlightGear developers mailing list or the FlightGear forums. See also the talk page.


Canvas EFB Framework
Omega95-efb-787.jpeg
Started in not yet...
Description EFB Framework
Contributor(s) Hyde, Hooray
Status discussion
Subforum http://forum.flightgear.org/viewforum.php?f=71



Background

Cquote1.png I'm trying to change 777's indicators to canvas system now. Could someone lecture me how to display Airport Chart - Aircraft/Instruments/Textures/od_groundradar.rgb - on EFB? Or is there any other equivalent method?
— Hyde (Tue Oct 22). How to display Airport Chart?.
Cquote2.png

Also see A project to create a source of free geo-referenced instrument charts



777-200ER EFB [1]
777-200 EFB AIRPORT SEARCH, see [2]

Design

rgb files are conventional images, like jpg/png - so they are so called "raster images" (unlike SVGs, which are "vector images"). So to display raster images, you can use the tutorial at: http://wiki.flightgear.org/Howto:Using_raster_images_and_nested_canvases This assumes that you have previously created the corresponding charts as image files, a technique that omega95 and redneck have been using for a while.

For starters, you can use the Nasal console to play around with it: http://wiki.flightgear.org/Nasal_Console

Now, to add an EFB dialog to the 777, you could use the old dialogs and embed a canvas region, see the tutorial at: http://wiki.flightgear.org/Howto:Adding_a_canvas_to_a_GUI_dialog

If you want to display vector images (SVG) or custom-drawn maps, you'll want to use OpenVG paths

To display a procedurally-created airport chart (without adding a precreated raster image for each airport), you'll probably want to use the technique used by the airport selection dialog


Also see