Aircraft dialogs: Difference between revisions

m
Line 39: Line 39:
If anyone wants to follow the development or use the code, it's here:
If anyone wants to follow the development or use the code, it's here:
https://sourceforge.net/p/fgspaceshuttledev/code/ci/development/tree/Nasal/canvas/canvas_dialogs.nas
https://sourceforge.net/p/fgspaceshuttledev/code/ci/development/tree/Nasal/canvas/canvas_dialogs.nas
== SVG based ==
With [[Phi]], Torsten succeeded with his first partial implementation of a EFIS PFD rendered in a web browser using nothing but existing web standards and a running FlightGear instance having the internal web server enabled.
The EFIS is created from Scalable Vector Graphics (SVG), is animated by JavaScript and driven by properties from FlightGear over websockets.
'''The same SVG files that are used for the FlightGear internal canvas based instruments can also be used for the browser based display, so both instruments (that of the 3d model and that in your browser) look 100% alike.''' Websocket properties are exchanged at frame rate making animations as smooth as they can get. Because it uses SVG, instruments are always rendered at the highest available resolution of the device without scaling artefacts. <ref>{{cite web
  |url    =  https://sourceforge.net/p/flightgear/mailman/message/32840486/
  |title  =  <nowiki> [Flightgear-devel] Goodbye fgpanel - hello fgpanel 2.0 </nowiki>
  |author =  <nowiki> Torsten Dreyer </nowiki>
  |date  =  Sep 17th, 2014
  |added  =  Sep 17th, 2014
  |script_version = 0.36
  }}</ref>


== Good to know ==
== Good to know ==