Howto:Use a Camera View in an Instrument: Difference between revisions

m
Switch to the {{forum url}} and {{forum link}} templates for all forum links.
m (Switch to the {{forum url}} and {{forum link}} templates for all forum links.)
Line 2: Line 2:


=Background=
=Background=
{{PatchAvailable|url=https://forum.flightgear.org/viewtopic.php?f=71&t=23929#p317448}}
{{PatchAvailable|url={{forum url|p=317448}}}}




Line 20: Line 20:
* implement the interface for the od_gauge instrument to dynamically create a texture and display update it as a cockpit instrument
* implement the interface for the od_gauge instrument to dynamically create a texture and display update it as a cockpit instrument
* implement SGPropertyChangeListener to process property tree events and updates [http://simgear.sourceforge.net/doxygen/classSGPropertyChangeListener.html]
* implement SGPropertyChangeListener to process property tree events and updates [http://simgear.sourceforge.net/doxygen/classSGPropertyChangeListener.html]
* Render a property-driven camera view to the created texture (Zan has already code doing this sort of thing [http://flightgear.org/forums/viewtopic.php?f=6&t=13798])
* Render a property-driven camera view to the created texture (Zan has already code doing this sort of thing {{forum link|t=13798}})
* Write an XML 2D Instrument file that displays the texture
* Write an XML 2D Instrument file that displays the texture


Line 174: Line 174:
= Related =
= Related =
* [http://thermalpixel.github.io/osg/2014/02/15/rtt-with-slave-cameras.html OSG RTT with Slave Cameras]
* [http://thermalpixel.github.io/osg/2014/02/15/rtt-with-slave-cameras.html OSG RTT with Slave Cameras]
* [http://flightgear.org/forums/viewtopic.php?f=14&t=15797 External camera for periscope]
* {{forum link|t=15797|text=External camera for periscope}}
* [http://flightgear.org/forums/viewtopic.php?f=6&t=13798 Zan's work on improved camera config options]
* {{forum link|t=13798|text=Zan's work on improved camera config options}}
* [http://flightgear.org/forums/viewtopic.php?f=37&t=20057&p=184301#p184284 Rear-View Mirror?]
* {{forum link|p=184284|text=Rear-View Mirror?}}
* [http://www.flightgear.org/forums/viewtopic.php?f=6&t=13798&hilit= Improved camera configuration options]
* {{forum link|t=13798|text=Improved camera configuration options}}
* [http://www.flightgear.org/forums/viewtopic.php?f=6&t=6184&hilit= Mirrors]
* {{forum link|t=6184|text=Mirrors}}
* [http://www.flightgear.org/forums/viewtopic.php?f=4&t=3353&p=31252&hilit=#p31252 Rallye MS-893 in development]
* {{forum link|p=31252|text=Rallye MS-893 in development}}
[[Category:GSoC]]
[[Category:GSoC]]
[[Category: Core development projects]]
[[Category: Core development projects]]