Canvas development: Difference between revisions

Jump to navigation Jump to search
Line 1,918: Line 1,918:
}}
}}
Currently, all placements are within the main FlightGear window, however there's been talk about providing support for additional Canvas placements, such as e.g. osgviewer placements to help generalize our [[Howto:Configure camera view windows|Window Management]] routines, so that a canvas can be rendered inside a dedicated OS window:
Currently, all placements are within the main FlightGear window, however there's been talk about providing support for additional Canvas placements, such as e.g. osgviewer placements to help generalize our [[Howto:Configure camera view windows|Window Management]] routines, so that a canvas can be rendered inside a dedicated OS window:
Would it be possible to place the new "view" into a window instead of having a dedicated view? That would allow you to have an instrument panel with a blank cut-out that could hold this newscam/FLIR window.<ref>{{cite web
  |url    =  https://sourceforge.net/p/flightgear/mailman/message/23148992/
  |title  =  <nowiki> Re: [Flightgear-devel] view manager "look at" mode </nowiki>
  |author =  <nowiki> Gene Buckle </nowiki>
  |date  =  Jul 23rd, 2009
  |added  =  Jul 23rd, 2009
  |script_version = 0.40
  }}</ref>
Several responded that you can have a view, or multiple camera offsets, shared across many screen. I have tried this and it works well on the mac. But what I want to do is have two windows, one with a custom view i have defined, and another window with the cockpit view. Ill keep digging, but i read somewhere that this particular thing is hard.... because there is only one view manager instance, and it can only allow multiple camera offsets...<ref>{{cite web
  |url    =  https://sourceforge.net/p/flightgear/mailman/message/21512493/
  |title  =  <nowiki> [Flightgear-users] multiple views </nowiki>
  |author =  <nowiki> Carson Fenimore </nowiki>
  |date  =  Feb 6th, 2009
  |added  =  Feb 6th, 2009
  |script_version = 0.40
  }}</ref>
We can define arbitrary areas of the screen and draw any view perspective into them. However, I think all the views need to be from the same eye point. (i.e. you can't have a cockpit view in one window and a chase view in another?) However, the capability we do have is very nice for supporting devices like the Matrox Triple Head 2 Go box, or Twin View, or any "spanning" desktop system. And we have the ability to extend this to multiple displays. There is an AMD/ATI demo movie floating around on youtube that shows FlightGear running on 8 monitors using 4 dual-headed video cards.<ref>{{cite web
  |url    =  https://sourceforge.net/p/flightgear/mailman/message/23149306/
  |title  =  <nowiki> Re: [Flightgear-devel] view manager "look at" mode </nowiki>
  |author =  <nowiki> Curtis Olson </nowiki>
  |date  =  Jul 23rd, 2009
  |added  =  Jul 23rd, 2009
  |script_version = 0.40
  }}</ref>


{{cquote|<nowiki>Support multiple views/windows: Currently the GUI can only be placed inside one view/window (see Docs/README.multiscreen) but it would be nice to be able to move windows between views.</nowiki><ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg37907.html|title=<nowiki>Switching from PUI to osgWidget</nowiki>|author=<nowiki>Thomas Geymayer</nowiki>|date=<nowiki>07-30-2012</nowiki>}}</ref>|<nowiki>Thomas Geymayer</nowiki>}}
{{cquote|<nowiki>Support multiple views/windows: Currently the GUI can only be placed inside one view/window (see Docs/README.multiscreen) but it would be nice to be able to move windows between views.</nowiki><ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg37907.html|title=<nowiki>Switching from PUI to osgWidget</nowiki>|author=<nowiki>Thomas Geymayer</nowiki>|date=<nowiki>07-30-2012</nowiki>}}</ref>|<nowiki>Thomas Geymayer</nowiki>}}

Navigation menu