Robert Osfield
d5cc0e966f
Introduce GUIEventHandler::handleWithCheckAgainstIgnoreHandledEventsMask() methods
...
to help make it easier to get event handles to ingore events that have already been handled.
2007-09-14 10:44:46 +00:00
Robert Osfield
d57a16e023
Added DisplaySetting::s/getCompileContextHint() and use of this hint in osgViewer::Viewer/CompositeViewer.
...
Removed the CustomViewer in osgterrain example as the above now removes the need for it.
2007-08-11 14:49:14 +00:00
Robert Osfield
e5a365afee
Added support for an update OperationQueue to Viewer and CompositeViewer to allow asyncrnous adding of operations to be added
...
to the view to be done during syncronous updateTraversal().
This feature can be used for doing things like merging subgraphs that have been loaded
in a background thread.
2007-08-11 10:28:14 +00:00
Robert Osfield
7366daca91
Refactored the way the Scene is used in Viewer and CompositeViewer to ensure
...
that only on Scene exists per scene graph.
2007-08-10 10:52:35 +00:00
Robert Osfield
c346f5b943
Introduce new osgViewer::Renderer class for implementing of the rendering
...
of cameras in viewers
2007-08-02 11:02:47 +00:00
Robert Osfield
8fa79e8c7e
Ported across Viewer's to use osgUtil::GLObjectOperation, added second option
...
in GLObjectOperation to handle cases when no subgraph is registered, in these
case the code now compile all Camera subgraphs.
2007-07-30 10:52:37 +00:00
Robert Osfield
ff267d1ad6
Added support for using the CompileContext to do GL object deletion.
2007-07-22 20:33:20 +00:00
Robert Osfield
b93539ee09
Added setting of the Scene's FrameStamp on each CompositeViewer::updateTraversal() call to fix animation path issue.
2007-07-11 13:48:41 +00:00
Robert Osfield
a4499b482b
Fixed missinged intialization of the _threadsRunning variable.
2007-07-09 10:12:37 +00:00
Robert Osfield
1b3468413d
Added ability to compile OpenGL objects via pbuffers in the DatabasePager/Viewer
2007-06-22 14:48:18 +00:00
Robert Osfield
90ae3f385b
Added DisplaySettings to osg::Camera, and support into osg::View for initializing
...
the Camera to the DisplaySettings ScreenWidth/Height/Distance. Added support
for dual screen horizontal split stereo.
2007-06-09 10:06:38 +00:00
Robert Osfield
6e3c9ad3d3
Added support for passing in ArgumentParser in Viewer and CompositeViewer constructor
2007-06-06 10:57:02 +00:00
Robert Osfield
784383ac08
Added camera event callback support into osgViewer
2007-05-27 17:29:29 +00:00
Robert Osfield
27a1406819
From Blake Williams, "I discovered why the \u2013CompositeViewer option for the osghud example does not work. The run() function adds a camera manipulator to each view that does not have one assigned, which causes the view with the HUD camera to point somewhere other than where it should. I just added a check before a new default camera manipulator is added to ensure that the view allows event focus before a camera manipulator is added."
2007-05-26 15:47:53 +00:00
Robert Osfield
4613269a81
Changed the way the the InputRange is adjusted on the event state to fix bugs related to picking
2007-05-22 13:48:21 +00:00
Robert Osfield
d22208f701
Added extra checks to make sure that graphics operations arn't done on no longer valid graphics contexts
2007-05-21 18:46:57 +00:00
Robert Osfield
cf9518f346
Added support for View::setFustionDistance(..)
2007-05-17 19:58:57 +00:00
Robert Osfield
1cb4dfbcb5
Added new areThreadsRunning() method to Viewer and CompositeViewer.
...
Added removeView(View*) method to CompositeViewer
Added stopping/starting of threads in addView/removeView
2007-05-11 19:25:44 +00:00
Robert Osfield
40db1a8934
Moved VBO switching code into inline methods into osg::State to speed performance
2007-05-01 06:28:20 +00:00
Robert Osfield
0742975f9b
Added initalization of _startTick to CompositeViewer
2007-04-30 15:10:57 +00:00
Robert Osfield
7f8f4e331a
Completed changes to osgManipulator to make it more flexible w.r.t viewer usage, and
...
ported osgmanipulator example across of osgViewer
2007-02-26 13:01:17 +00:00
Robert Osfield
2d05286dc2
Clean up the handling of views without camera manipulators, and cameras that
...
don't allow camera focus
2007-02-23 11:51:52 +00:00
Robert Osfield
416e6486f7
Added inhertCullSettings before SceneView::cull() calls
2007-02-20 16:46:53 +00:00
Robert Osfield
0c59589038
Added check in setThreadingModel so that it only sets up threading if the viewer is realized
2007-02-08 12:21:37 +00:00
Robert Osfield
69da91620f
Convert GraphicsThread/GraphicsOperation to more generic OperationsThread/Operation.
...
This paves the way to running cull traversals in seperate threads.
Updated wrappers
2007-02-02 22:30:36 +00:00
Robert Osfield
af6de09ab4
Added set/getRealizeOperation() to Viewer and CompositeViewer
2007-01-28 17:11:21 +00:00
Robert Osfield
7232a831da
Added osg::FrameStamp::set/getSimulationTime().
...
Added setting of osg_SimulationTime and osg_DeltaSimulationTime to the uniforms set by SceneView
Added frame(double simulationTime) and advance(double simulationTime) parameters to
osgViewer::SimpleViewer, Vewer and CompositeViewer.
Updated various examples and Nodes to use SimulationTime where appropriate.
2007-01-25 12:02:51 +00:00
Robert Osfield
fd6f5c87b8
Added support for GUIEventAdapter::setHandled
2007-01-24 12:28:18 +00:00
Robert Osfield
8e20956511
Changed the camera with focus code to only accept cameras with valid views
...
as ones that can recieve focus.
2007-01-21 18:34:26 +00:00
Robert Osfield
b47ef11d74
Initial on screen stats support
2007-01-21 18:24:54 +00:00
Robert Osfield
552293eb03
Added extra methods WindowSystemInterface for controlling frame rate and resolution, and adde useCursor flag.
2007-01-17 21:11:57 +00:00
Robert Osfield
6cf85cb953
Cleaned up CompositeViewer interface and added event traversal of views
2007-01-16 19:18:32 +00:00
Robert Osfield
dad3deec38
Added debug messages
2007-01-16 17:08:47 +00:00
Robert Osfield
1ee2af9f41
Further work on CompositeViewer
2007-01-16 16:01:01 +00:00
Robert Osfield
46b9c19fb5
Further work on event handling in CompositeViewer
2007-01-16 14:15:49 +00:00
Robert Osfield
0873a8cea0
Work on CompositeViewer and related calsses to implement viewers with multiple views
2007-01-16 08:56:33 +00:00
Robert Osfield
4d4b342e97
Added View::computeIntersections methods
2007-01-09 17:35:46 +00:00
Robert Osfield
96b2b93edc
Build fixes
2007-01-08 22:54:02 +00:00
Robert Osfield
9004aa7f8b
Added missing init() implementation
2007-01-02 10:11:53 +00:00
Robert Osfield
35cb04437d
Added dummy virtual method implementations
2006-11-29 11:00:02 +00:00
Robert Osfield
b6e1924192
Fixed build errors in osgViewer
2006-11-28 20:35:31 +00:00
Robert Osfield
fd2ffeb310
Renamed osg::CameraNode to osg::Camera, cleaned up osg::View.
...
Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer and GraphicsWindowProxy files.
2006-11-27 14:52:07 +00:00