Jump to: navigation, search

Canvas View Camera Element

1,070 bytes added, 17:49, 23 August 2020
no edit summary
|It would make sense to integrate all efforts ([[CompositeViewer Support|CompositeViewer]], [[Canvas]] and [[Compositor]]) to create a [[Canvas_Development#Elements|Canvas Element]] that can render an [[Canvas_Development#Supporting_Cameras|arbitrary view]].
Some time ago I wrote what I think are the required steps to get something like cockpit mirrors working: [[#Roadmap]]
The main showstopper was having [[CompositeViewer Support]], but since that effort is underway, all the parts are there for someone willing to dive in.
|{{cite web |url=
|title=<nowiki>Independent view windows</nowiki>
|author=<nowiki>Fernando García Liñán </nowiki>
|date=<nowiki>2020-08-20 14:27:58</nowiki>
{{infobox subsystem
|name = Canvas Camera Views
== Proof of Concept ==
{{Note|This is inspired by the long standing idea to render camera views to a texture for use as tailcams, gear views etc <ref></ref>, it's based on code originally provided by F-JJTH<ref></ref>, and subsequently reworked by Icecode GL and Hooray to integrate it with the Canvas system back in 2017<ref></ref>
At the time, the main issue was that the new view element needed to be explicitly updated, but that should no longer be the case thanks to James' work on the setPixel() API <ref></ref> which also means that sc::Image now has a <code>dirtyPixeldirtyPixels()</code> API which we can reuse <ref></ref>Due to the adoption of the [[Compositor]] framework, this will probably need to reworked to be properly integrated.Furthermore, beginning in mid 2020 Julian Smith has started working on optional [[CompositeViewer Support]] so that independent scene views can be rendered. }}

Navigation menu