Canvas concepts - An introduction: Difference between revisions
Jump to navigation
Jump to search
m (http://forum.flightgear.org/viewtopic.php?f=71&t=28914) |
No edit summary |
||
Line 9: | Line 9: | ||
=== What is a Canvas === | === What is a Canvas === | ||
{{FGCquote | |||
|1= Here's the main concept (found by googling "canvas 2D"): [https://en.wikipedia.org/wiki/Canvas_element https://en.wikipedia.org/wiki/Canvas_element] | |||
In FlightGear, things are a bit different, mainly in that <ref>{{cite web | |||
| url = http://forum.flightgear.org/viewtopic.php?p=277769#p277769 | |||
| title = <nowiki>Re: Canvas documentation</nowiki> | |||
| author = <nowiki>Hooray</nowiki> | |||
| date = Feb 27th, 2016 | |||
| added = Feb 27th, 2016 | |||
| script_version = 0.25 | |||
}} | |||
</ref>: | |||
* a Canvas represents an actual OpenGL texture (2D) | |||
* is hardware-accelerated | |||
* is using OSG for most of its features | |||
* there is an actual scenegraph | |||
* uses Nasal instead of ECMAScript/JavaScript | |||
=== What is a Canvas element === | === What is a Canvas element === |
Revision as of 12:58, 27 February 2016
The FlightGear forum has a subforum related to: Canvas |
This article is a stub. You can help the wiki by expanding it. |
Objective
Introduce important Canvas concepts and terminology, inspired by Thorsten's thread on the forum [1]
Background
What is a Canvas
{{FGCquote |1= Here's the main concept (found by googling "canvas 2D"): https://en.wikipedia.org/wiki/Canvas_element
In FlightGear, things are a bit different, mainly in that [2]:
- a Canvas represents an actual OpenGL texture (2D)
- is hardware-accelerated
- is using OSG for most of its features
- there is an actual scenegraph
- uses Nasal instead of ECMAScript/JavaScript
What is a Canvas element
- ↑ http://forum.flightgear.org/viewtopic.php?f=71&t=28914
- ↑ Hooray (Feb 27th, 2016). Re: Canvas documentation.