Canvas news: Difference between revisions

Jump to navigation Jump to search
Line 31: Line 31:
   }}</ref>
   }}</ref>


 
Once the patch is applied and the binary rebuilt, all that is needed is to add the new camera-display to an existing cockpit panel:
it's using the standard view-manager interface, so you primarily need to set the view-number property to change the view (untested, feedback is just based on looking at the patch in question).
Specifically, when running the patched fgfs binary, look for: '''/instrumentation/camera-display''' and the '''view-number''' property underneath<ref>{{cite web
  |url    =  https://forum.flightgear.org/viewtopic.php?p=317488#p317488
  |title  =  <nowiki> Re: Gear view in cockpit computer </nowiki>
  |author =  <nowiki> Hooray </nowiki>
  |date  =  Aug 26th, 2017
  |added  =  Aug 26th, 2017
  |script_version = 0.40
  }}</ref>


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
Line 51: Line 42:
</syntaxhighlight>
</syntaxhighlight>


For view configuratoin, it's using the standard view-manager interface, so you primarily need to set the view-number property to change the view (untested, feedback is just based on looking at the patch in question).
Specifically, when running the patched fgfs binary, look for: '''/instrumentation/camera-display''' and the '''view-number''' property underneath<ref>{{cite web
  |url    =  https://forum.flightgear.org/viewtopic.php?p=317488#p317488
  |title  =  <nowiki> Re: Gear view in cockpit computer </nowiki>
  |author =  <nowiki> Hooray </nowiki>
  |date  =  Aug 26th, 2017
  |added  =  Aug 26th, 2017
  |script_version = 0.40
  }}</ref>


The current state is... well, it "works" ;-)
The current state is... well, it "works" ;-)
Line 86: Line 87:




if anybody is interested in working out what is missing or what can be improved, we should review working features doing similar things, e.g. the screenshot/streaming  handlers or the camera setup routines used by CameraGroup.cxx itself.<ref>{{cite web
before looking at some of our most advanced use-cases, it's best to tinker with a really simple scenario, to see how well this works, and what needs to be polished.<ref>{{cite web
   |url    =  https://forum.flightgear.org/viewtopic.php?p=317477#p317477
   |url    =  https://forum.flightgear.org/viewtopic.php?p=317487#p317487
   |title  =  <nowiki> Re: Gear view in cockpit computer </nowiki>  
   |title  =  <nowiki> Re: Gear view in cockpit computer </nowiki>  
   |author =  <nowiki> Hooray </nowiki>  
   |author =  <nowiki> Hooray </nowiki>  
Line 95: Line 96:
   }}</ref>
   }}</ref>


before looking at some of our most advanced use-cases, it's best to tinker with a really simple scenario, to see how well this works, and what needs to be polished.<ref>{{cite web
 
   |url    =  https://forum.flightgear.org/viewtopic.php?p=317487#p317487
if anybody is interested in working out what is missing or what can be improved, we should review working features doing similar things, e.g. the screenshot/streaming  handlers or the camera setup routines used by CameraGroup.cxx itself.<ref>{{cite web
   |url    =  https://forum.flightgear.org/viewtopic.php?p=317477#p317477
   |title  =  <nowiki> Re: Gear view in cockpit computer </nowiki>  
   |title  =  <nowiki> Re: Gear view in cockpit computer </nowiki>  
   |author =  <nowiki> Hooray </nowiki>  
   |author =  <nowiki> Hooray </nowiki>  
Line 103: Line 105:
   |script_version = 0.40  
   |script_version = 0.40  
   }}</ref>
   }}</ref>


The patch itself seems overlapping with Zan's original "new-cameras" effort, as mentioned at: [[Canvas Development#Supporting Cameras]]
The patch itself seems overlapping with Zan's original "new-cameras" effort, as mentioned at: [[Canvas Development#Supporting Cameras]]

Navigation menu