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

Jump to navigation Jump to search
→‎Objective: Gitorious abstraction. One link now uses {{flightgear source}} to be current, and another link has been deleted as the file it points to does not exist.
m (→‎Related: http://forum.flightgear.org/viewtopic.php?f=71&t=23929&p=221517#p221460)
(→‎Objective: Gitorious abstraction. One link now uses {{flightgear source}} to be current, and another link has been deleted as the file it points to does not exist.)
Line 14: Line 14:
* implement the SGSubsystem interface for the new subsystem [http://simgear.sourceforge.net/doxygen/classSGSubsystem.html]
* implement the SGSubsystem interface for the new subsystem [http://simgear.sourceforge.net/doxygen/classSGSubsystem.html]
* add the new files to the CMake build system: [[Developing using CMake#Adding_new_files_to_the_build]]
* add the new files to the CMake build system: [[Developing using CMake#Adding_new_files_to_the_build]]
* add the new subsystem to the instrument_mgr (FGInstrumentMgr::build method)[http://gitorious.org/fg/flightgear/blobs/next/src/Instrumentation/instrument_mgr.cxx#line127]
* add the new subsystem to the instrument_mgr (FGInstrumentMgr::build method)[{{flightgear source|path=src/Instrumentation/instrument_mgr.cxx|line=127|full=1}}]
* implement the interface for the od_gauge instrument [http://gitorious.org/fg/flightgear/blobs/next/src/Instrumentation/od_gauge.cxx] 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 [http://flightgear.org/forums/viewtopic.php?f=6&t=13798])

Navigation menu