FlightGear Newsletter October 2016: Difference between revisions

Jump to navigation Jump to search
Line 81: Line 81:
{{Appendix}}
{{Appendix}}


=== A standalone Canvas NavDisplay Dialog ===
[[File:ND-dialog-customizable-size-and-instances.png|thumb|Screenshot showing a [[PUI]] dialog with two [[NavDisplay]] instances, featuring support for customizable resolution/size of the ND as well as selectable number of NDs to be shown.]]
[[File:ND-Airbus-Style-With-Route.png|thumb|Screenshot showing Gijs' [[NavDisplay]] using the Airbus style created by artix in a [[PUI]] dialog with an embedded [[Canvas]] widget to render the ND and the corresponding widgets.]]
In the last couple of days, we have created a new dialog that can be used to easily prototype new [[NavDisplay]] styles, showing multiple ND instances for each pilot, which can be controlled/tested independently (using different settings for range, modes, traffic etc). Once the dialog is closed/reopened, the underlying navdisplay.mfd/styles files are also automatically reloaded from disk, so that you don't need to exist/restart fgfs to test your changes.
Under the hood, this is a conventoinal PUI/XML dialog with multiple embedded CanvasWidget areas that instantiate independent ND instances using a subset of the code commonly found in the aircraft specific ND.nas file, adapted to use the embedded Canvas region for rendering multiple NDs and GUI buttons/widgets added to control the whole thing without necessarily requiring a fully developed cockpit.
Thus, this is also a great tool for people flying aircraft that may not even have access to n ND.
Obviously, this is particularly useful for rapid prototyping ("RAD"), i.e. quickly testing additions and changes without having to exit/restart fgfs and without having a full aircraft developed yet.
This is currently pending review by Gijs and Hyde before it can be committed to the  base package.
Continue reading at [[Howto:Prototyping a new NavDisplay Style]]...
=== Benchmarking Canvas Path Performance ===
=== Benchmarking Canvas Path Performance ===


Navigation menu