Canvas properties: Difference between revisions

Jump to navigation Jump to search
m
→‎Gallery: moved Gallery to Canvas
m (→‎Gallery: moved Gallery to Canvas)
Line 164: Line 164:
The Effects framework is implemented in SimGear: http://gitorious.org/fg/simgear/trees/next/simgear/scene/material
The Effects framework is implemented in SimGear: http://gitorious.org/fg/simgear/trees/next/simgear/scene/material


== Gallery ==


A short video demonstrating a possible usecase (C-130J AMU):
{{#ev:youtube|llVaasTEf44}}
 
{{#ev:youtube|A7j-B0LgV-A}}
 
By using alphablending it can also be used to render the contents of a HUD:
 
{{#ev:youtube|_oRX53JyXmM}}
 
In my branch there is now also support for using the canvas in a gui widget:
 
[[File:Canvas GUI Demo.png|thumb|none|400px|Using the Canvas as a GUI widget]]
 
With the new ''map'' element it is also very easy to draw maps:
 
[[File:Demonstration of using the Canvas inside a GUI dialog..png|thumb|none|400px|Simple Map of KSFO]]
 
Using the new [[Howto:Use_SVG_inside_a_Canvas|''canvas.parsesvg'']] function to use an SVG file to simulate an EICAS display:
 
{{#ev:youtube|43P7xKNJnV4}}
 
Demonstrating how the new Canvas GUI wrapper can be used to create entirely custom, scripted GUI widgets using XML, SVG and Nasal:
 
{{#ev:youtube|1a6wtPVPWc4}}
 
Experimenting with selecting text and positioning a cursor inside the text. The visualization is all done using Nasal.
{{#ev:youtube|CIS8UyuJLgM}}
 
Since 07/2012, the canvas system also provides support for full window-drawing:
{{#ev:youtube|Qv-uEX42QZY}}
 
Omega95 has reimplemented the CDU of the ATR72 using the Canvas system:
{{#ev:youtube|sAaVEKuiF5w}}
{{Appendix}}
{{Appendix}}


Navigation menu