Hackathon Proposal: CompositeViewer and Canvas: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 15: Line 15:
* [[Canvas View Camera Element]]
* [[Canvas View Camera Element]]


|skills=C++, [[OpenSceneGraph]]
|skills=C++, [[OpenSceneGraph]] 3.6
|opportunities= <p/>
|opportunities= <p/>
* Canvas
* Canvas
* CompositeViewer
* CompositeViewer
* Compositor
* Compositor
|notes = <p/>
|notes = It would make sense to reach out to Jules (CompositeViewer) and Fernando (Compositor) to learn how to best approach this today.
 
}}
}}
[[Category:Canvas Element Proposals]]
[[Category:Canvas Element Proposals]]

Revision as of 10:27, 10 November 2020


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 3.6
Learning Opportunities:

  • Canvas
  • CompositeViewer
  • Compositor
Notes: It would make sense to reach out to Jules (CompositeViewer) and Fernando (Compositor) to learn how to best approach this today.
References