Hackathon Proposal: CompositeViewer and Canvas

From FlightGear wiki
Revision as of 10:26, 10 November 2020 by Hooray (talk | contribs)
Jump to navigation Jump to search


Title: CompositeViewer and Canvas

Fg-cv-textures2.jpeg
Potential mentors: Cgdae
Intro: (short intro)
Interested Parties:
Status: several years ago, people on the forum came up with a working proof-of-concept patches implementing experimental support, predating Compositor/CompositeViewer support: Canvas_View_Camera_Element#Proof_of_Concept
Summary: make it possible to render arbitrary scene views to a canvas, so that the canvas can be reused to implement modern avionics.
Background: CompositeViewer allows us to create multiple windows showing different views of the same scenery.

We should be able to extend CompositeViewer to render these different views of the scenery to Canvas elements instead of top-level OSG windows. Then if these canvas elements are displayed in a cockpit we will get things like tail cams, gear view and rear view mirrors. Which is a long standing feature request: Howto:Use a Camera View in an Instrument.

Details:
Canvas-view-element-prototype-by-icecode gl.png
Ideas:
Required skills: C++, OpenSceneGraph
Learning Opportunities:

  • Canvas
  • CompositeViewer
  • Compositor
Notes:

References