Canvas view camera element: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
Line 21: Line 21:
{{See also|View manager}}
{{See also|View manager}}


We have a basic prototype, provided by F-JJTH, who prototyped the whole thing in mid 2016. There are a few issues, and it's using the legacy approach for implementign OD_gauge based avionics, i.e. not yet using the Canvas system.
We have a basic prototype, provided by F-JJTH, who developed the whole thing in mid-2016. There are a few issues, and it's using the legacy approach for implementing OD_gauge based avionics, i.e. not yet using the Canvas system.


We also have a quick and dirty integration into Canvas. The image is mirrored because of different coordinate systems. Apparently the missing piece was to use FG's view manager. Maybe the view manager could be moved to SimGear so all the infrastructure could be accessed better by Canvas. Who knows, with cleaner code and some tweaks we could have a deferred renderer and RTT capabilities in Canvas space, as long as the effect framework can access these RTT contexts, as Hooray proposed multiple times. I'm still skeptical about it, since rendering as a whole is delicate and Canvas may introduce several inconsistencies.<ref>{{cite web
We also have a quick and dirty integration into Canvas provided by Icecode GL. Originally, the image was mirrored because of different coordinate systems. Apparently the missing piece was to use FG's view manager, which is now fixed.
 
Who knows, with cleaner code and some tweaks we could have a deferred renderer and RTT capabilities in Canvas space, as long as the effect framework can access these RTT contexts, as Hooray proposed multiple times.<ref>{{cite web
   |url    =  https://forum.flightgear.org/viewtopic.php?p=317743#p317743  
   |url    =  https://forum.flightgear.org/viewtopic.php?p=317743#p317743  
   |title  =  <nowiki> Re: Gear view in cockpit computer </nowiki>  
   |title  =  <nowiki> Re: Gear view in cockpit computer </nowiki>  

Navigation menu