]> git.mxchange.org Git - flightgear.git/commit
Cleanup of camera code in preperation for shadows
authortimoore <timoore>
Tue, 18 Nov 2008 22:45:57 +0000 (22:45 +0000)
committertimoore <timoore>
Tue, 18 Nov 2008 22:45:57 +0000 (22:45 +0000)
commit4f4434787fb40e02a35b401171f2a7370e0d5463
tree7d4bd2c03516cf4481ddd931e7c71687a41921f7
parentaf8903b61ca7f1b619aa17e0337290efb0a89d46
Cleanup of camera code in preperation for shadows
Partition depth in CameraGroup:
Remove the ViewPartionNode scenegraph node. The split rendering of the
scene, done to avoid Z buffer precision problems, is now done by two
slave cameras of the viewer.

Rename FGManipulator to FGEventHandler.

Remove virtual member functions that aren't required for event handlers.

Begin using camera group properties to update cameras at runtime;
Initially only the viewport properties are used.

When no camera group is found in the property tree (the default),
create the properties for one. Expose the default window by name.

Add a test for Boost headers to configure.ac. Boost is now a
dependency.

Remove GLUT and SDL versions of the OSG graphics.
17 files changed:
configure.ac
src/Main/CameraGroup.cxx
src/Main/CameraGroup.hxx
src/Main/FGEventHandler.cxx [new file with mode: 0644]
src/Main/FGEventHandler.hxx [new file with mode: 0644]
src/Main/FGManipulator.cxx [deleted file]
src/Main/FGManipulator.hxx [deleted file]
src/Main/Makefile.am
src/Main/WindowBuilder.cxx
src/Main/WindowBuilder.hxx
src/Main/fg_os.cxx [deleted file]
src/Main/fg_os_common.cxx
src/Main/fg_os_osgviewer.cxx
src/Main/fg_os_sdl.cxx [deleted file]
src/Main/renderer.cxx
src/Main/renderer.hxx
src/Scenery/tilemgr.cxx