Canvas properties: Difference between revisions

Jump to navigation Jump to search
m
(→‎Depth Sorting {{Done}}: remove brainstorming (implemented and available))
Line 4: Line 4:
A property-driven 2D drawing API for [[FlightGear]].
A property-driven 2D drawing API for [[FlightGear]].


== Status 08/2012 ==
== Status 05/2013 ==
 
* FlightGear core
** A basic canvas for drawing texts and paths (polygons and curves) has been merged. (see  merge requests [https://gitorious.org/fg/flightgear/merge_requests/26 26] and [https://gitorious.org/fg/flightgear/merge_requests/30 30])
** FlightGear/next now also contains code for Canvas windows and GUI widgets using PUI/PLIB
* Nasal API
** The API is has now been committed to FGDATA (master)
** An updated API and an example dialog (Debug > Canvas Demo) demonstrating the use of the Canvas for GUI widgets is included in my fgdata branch (https://gitorious.org/~tomprogs/fg/toms-fgdata/commits/canvas)


Tom is currently working on a 2D drawing API. The basic idea is to draw arbitrary 2D shapes and text to a texture and place this texture on some model in the scene (eg. display, HUD,...). This so called canvas should be controlled only by using the property tree.
Tom is currently working on a 2D drawing API. The basic idea is to draw arbitrary 2D shapes and text to a texture and place this texture on some model in the scene (eg. display, HUD,...). This so called canvas should be controlled only by using the property tree.

Navigation menu