File:Fg-cv.png

From FlightGear wiki
Revision as of 12:14, 16 August 2020 by Hooray (talk | contribs) (Hooray uploaded a new version of File:Fg-cv.png)
Jump to navigation Jump to search

Original file(1,366 × 768 pixels, file size: 563 KB, MIME type: image/png)

Summary

Description (en) Julian just made some progress on CompositeViewer integration actually.

He set things up so that one can 'clone' the current view using a key-press. This creates a new top-level view window with its own copy of the current view's camera projection matrix etc. The view is added to the CompositeViewer so it sees the same scene.

For now at least, cloned views' projection matrices don't change so the cloned views are completely independent from movement of the aircraft or changes to the main view. Eventually he'd like to make them behave more dynamically, e.g. follow the aircraft if cloned from Helicopter View.

At the moment most of the scenery doesn't show up and the background

colours are wrong, but this screen shot shows it working
Date 1 August 2020 (2020-08-01)
Source https://sourceforge.net/p/flightgear/mailman/message/37075206/
Author Julian Smith

Licensing

{{subst:uwl}}

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current12:29, 26 September 2020Thumbnail for version as of 12:29, 26 September 20201,366 × 768 (563 KB)Hooray (talk | contribs)Julian said, the change that made this work was to create a new compositor for each cloned view, and call its update() method each frame. <ref>https://sourceforge.net/u/cgdae/flightgear/ci/540eb2b3ab6925996a939d412d723eb782234a80/</ref>
12:14, 16 August 2020Thumbnail for version as of 12:14, 16 August 2020800 × 450 (406 KB)Hooray (talk | contribs)Cloned views look much better now - we're setting the correct bpp etc, and fixed a near/far issue. But cloned views still don't show ground textures <ref>https://sourceforge.net/p/flightgear/mailman/message/37086211/</ref>
11:34, 1 August 2020Thumbnail for version as of 11:34, 1 August 20201,040 × 804 (329 KB)Hooray (talk | contribs)User created page with UploadWizard

The following page uses this file: