67
edits
(more developer input) |
(future developments, updated Examples, and removed Note - should be considered ready for consumption) |
||
Line 1: | Line 1: | ||
[[File:Early-Phi-screen shot.PNG|thumb|right|Early Phi screenshot]] | [[File:Early-Phi-screen shot.PNG|thumb|right|Early Phi screenshot]] | ||
Line 112: | Line 111: | ||
=== Making Web-Panel instruments === | === Making Web-Panel instruments === | ||
{{Note| This section should be considered unfinished. If you have something to add, please do so}} | |||
I use Inkscape to draw the SVGs. The objects to animate are selected by their id attribute, so you should set a reasonable name for those. To get proper scaling of the SVGs, you need to set the viewBox: width, <br/> | I use Inkscape to draw the SVGs. The objects to animate are selected by their id attribute, so you should set a reasonable name for those. To get proper scaling of the SVGs, you need to set the viewBox: width, <br/> | ||
height, and preserveAspectRation of the <svg> tag element. It should be also possible to draw SVG's on the fly e.g. from svg.js and animate this as well. Not much has been on this front. | height, and preserveAspectRation of the <svg> tag element. It should be also possible to draw SVG's on the fly e.g. from svg.js and animate this as well. Not much has been on this front. | ||
Line 122: | Line 122: | ||
https://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Phi/examples/horizon.html | https://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Phi/examples/horizon.html | ||
https://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Phi/examples/horizon.js | https://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Phi/examples/horizon.js | ||
== Future Development == | |||
{{Note|Nothing concrete}} | |||
*improve the aircraft specific plugin system to allow special widgets and pages for aircraft (thinking of the shuttle here) | |||
*make layout and theme configurable | |||
*keep settings persistent between sessions | |||
*write a tile renderer to create map tiles from scenery | |||
*better support for touch events | |||
*together with ThorstenR: UI to configure a 3d weather model | |||
== References == | == References == |
edits