Canvas concepts - An introduction: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Canvas Navigation}}
{{Stub}}
{{Stub}}


Line 7: Line 5:


== Background ==
== Background ==
{{Canvas Navigation}}


=== What is a Canvas ===
=== What is a Canvas ===

Revision as of 12:59, 27 February 2016

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

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