Board index FlightGear Development Canvas

Creating a TCAS display using Canvas (by Omega95)

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.

Creating a TCAS display using Canvas (by Omega95)

Postby Hooray » Sun Aug 05, 2012 10:24 am

omega95 wrote in Sun Aug 05, 2012 4:29 am:By the way, with the new canvas system, I'm working on a TCAS, to check out it's actual drawing capabilities. :)


That's probably most easily accomplished using the "map" element: http://wiki.flightgear.org/Canvas_Maps
That will allow you to directly write geographic positions from AI traffic and multiplayer traffic to the property tree, and define arbitrary sets of symbols and transformations, without ever having to care about the projection handling at all.
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: 11427
Joined: Tue Mar 25, 2008 8:40 am

Return to Canvas

Who is online

Users browsing this forum: No registered users and 1 guest