20,741
edits
| Line 34: | Line 34: | ||
http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00108.html | http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00108.html | ||
Open Scene Graph supports a CompositeViewer object that supports rendering from several widely separated viewpoints, complete with | * Open Scene Graph supports a CompositeViewer object that supports rendering from several widely separated viewpoints, complete with | ||
support for multiple terrain pager threads. We could move to CompositeViewer and support simultaneous views from e.g., the tower, AI | support for multiple terrain pager threads. We could move to CompositeViewer and support simultaneous views from e.g., the tower, AI | ||
models, drones, etc. | models, drones, etc. | ||
* Also, it would make sense to implement a moving map as a scene graph in its own right with its own pager. That would require a change in current fg architecture to use a CompositeViewer instead of a single Viewer, but we're contemplating that anyway. | |||
Also, it would make sense to implement a moving map as a scene graph in its own right with its own pager. That would require a change in current fg architecture to use a CompositeViewer instead of a single Viewer, but we're contemplating that anyway. | * Independent view windows are not supported at the present time, but it would be a good project. We would have to start using a different OSG class, CompositeViewer, to support multiple views from independent view points. Our terrain pager would need a complete overhaul to use the PagedLOD scheme of OSG, and the Flightgear view manager would need to be aware multiple active | ||
Independent view windows are not supported at the present time, but it would be a good project. We would have to start using a different OSG class, CompositeViewer, to support multiple views from independent view points. Our terrain pager would need a complete overhaul to use the PagedLOD scheme of OSG, and the Flightgear view manager would need to be aware multiple active | |||
views. | views. | ||
* Yes, and that's not really supported by the current architecture, neither by the tile cache nor by osgViewer::Viewer. We would need to move to a CompositeViewer model, which supports several scene graphs, and rely completely on the osg database paging machinery. | |||
Yes, and that's not really supported by the current architecture, neither by the tile cache nor by osgViewer::Viewer. We would need to move to a CompositeViewer model, which supports several scene graphs, and rely completely on the osg database paging machinery. | |||