Board index FlightGear Development Canvas

Reducing Nasal overhead

Canvas is FlightGear's new fully scriptable 2D drawing system that will allow you to easily create new instruments, HUDs and even GUI dialogs and custom GUI widgets, without having to write C++ code and without having to rebuild FlightGear.

Reducing Nasal overhead

Postby Hooray » Sun Mar 09, 2014 5:24 pm

Subject: extra500 - Avidyne Entegra 9 IFD - approach
D-Leon wrote:- event/loop driven animations

I don't know if this make sense it will cost a lot of mem. Will try a more instrument orientated approach.


As long as the Nasal code is written with performance in mind, I haven't really seen Nasal as a significant hot spot so far. Admittedly, it's a bit difficult for most people to write suitable Nasal code - so at some point, we may want to investigate exposing "proprules" and the state machine stuff in SimGear via CppBind so that things like animations can be updated without inevitably having to go through Nasal space. Having bindings for property rules and state machines would mean that most things could be expressed without a ton of custom Nasal logic.
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11965
Joined: Tue Mar 25, 2008 8:40 am

Return to Canvas

Who is online

Users browsing this forum: No registered users and 1 guest