Canvas properties: Difference between revisions

Jump to navigation Jump to search
m
Line 46: Line 46:
* Support drawing to aircraft HUDs (supported already)
* Support drawing to aircraft HUDs (supported already)
* Support drawing to GUI widgets (PUI puObjects) (initial support added as of 07/2012)
* Support drawing to GUI widgets (PUI puObjects) (initial support added as of 07/2012)
* Support implementing GUI widgets using Canvas/Nasa (currently being discussed)
* Support implementing GUI widgets using Canvas/Nasal (currently being discussed)
* Static image files should be handled like any other element on the canvas. Only instead of specifying a path you'll have to set the file system path to an image which will be loaded with osg.
* Static image files should be handled like any other element on the canvas. Only instead of specifying a path you'll have to set the file system path to an image which will be loaded with osg.
* Support placing canvas textures into the scenery, so that dynamic scenery features (i.e. a [http://en.wikipedia.org/wiki/Visual_Docking_Guidance_System visual docking guidance system] or runway skid marks) can be implemented using the canvas system (being discussed and planned as of 08/2012)
* Support placing canvas textures into the scenery, so that dynamic scenery features (i.e. a [http://en.wikipedia.org/wiki/Visual_Docking_Guidance_System visual docking guidance system] or runway skid marks) can be implemented using the canvas system (being discussed and planned as of 08/2012)
=== Canvas Scenery Placement ===
* '''Hooray''': "We talked about placing skid marks dynamically via multiplayer traffic [http://flightgear.org/forums/viewtopic.php?f=5&t=17024&p=162579#p162579]. The canvas textures can already be placed in aircraft, HUDs and dialogs - if they could also be added to the scenery (runways in this case), people could implement some pretty cool effects using the canvas system. Flug's bombable addon could also make use of this, what do you think?"
* '''TheTom''': "Adding the canvas to the secenery is a good idea  A while ago I was thinking about implementing VDGS, which could be easily realized with a canvas."
* '''TheTom''': "I'm currently thinking about how to unify the canvas placement system to allow for easy placements in the different parts (gui, aircraft, scenery) and also seamless interchangeability between them. (Eg. show the contents of a MFD in a window)"
* '''Hooray''': "Placement-wise, it would obviously be cool to directly support geographic coordinates for placing textures - placing runway skids would then be pretty simple to accomplish actually, i.e. for each touchdown point (gear locations) continously get the terrain position and place the skid marks on the asphalt. Yes, the VDGS seems like another good candidate here - ideally, these would be 3D models with a canvas texture and some Nasal code loaded from a model.xml file (supported already)."


=== Depth Sorting ===
=== Depth Sorting ===

Navigation menu