Robert Osfield
f4afa427a7
From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)."
2007-12-10 17:30:18 +00:00
Robert Osfield
caeed02f52
Merged the threading set up and rendering code from Viewer and CompositeViewer
...
into ViewerBase to allow CompositeViewer to inherit the same theading models
previously just supported by osgViewer::Viewer
2007-10-02 21:23:58 +00:00
Robert Osfield
91900254f0
Moved ViewerBase class out into its own header and source file.
...
Improved the support for stats collection in CompositeViewer/StatsHandler.
2007-09-30 11:37:00 +00:00
Robert Osfield
f8729af8b2
Refactor Viewer/CompositeViewer so the both inherit from the a ViewerBase class
2007-09-29 16:46:08 +00:00
Robert Osfield
4ef1864432
From Stephan Huber, add basic support for CompositeViewer in StatsHandler
2007-09-29 11:41:57 +00:00
Robert Osfield
d743eb2d95
Added support for intensityMap and fix naming of --panoramic-sd and --3d-sd command line arguments
2007-09-25 19:14:29 +00:00
Robert Osfield
54c579fcae
Improved the handling of OSG_CONFIG_FILE support.
2007-09-22 17:39:15 +00:00
Robert Osfield
3bfaee3654
Added support for basic viewer configuration files
2007-09-21 15:34:25 +00:00
Robert Osfield
ece7b57df2
Further steps towards reading coniguration files.
2007-09-21 13:30:33 +00:00
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
a97afbb009
Added convinience methods for setting up 3d spherical displays.
2007-09-01 16:56:53 +00:00
Robert Osfield
4ba3f3c1a1
Changed RenderLeaf and StateGraph so that they use ref_ptr<> by default for Drawable and StateSet.
2007-08-31 16:05:24 +00:00
Robert Osfield
bb7368a321
Cleaned up the thread setup and fixed the CullThreadPerCameraDrawThreadPerContext path
2007-08-22 12:21:01 +00:00
Robert Osfield
bb886e8c94
Simplified the thread set up.
2007-08-22 09:46:38 +00:00
Robert Osfield
57e7aa31fa
From Brede Johansen, "The attached file updates the framestamp and traversal number of the
...
updatevisitor in osgViewer::Viewer.
The bug prevented DOF animations because osgSim::DOFTransform checks
the traversal number before doing any updates."
2007-08-15 15:03:26 +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
3eb6e67bfa
Updated ChangeLog, and AUTHORS file for release
2007-08-06 11:50:40 +00:00
Robert Osfield
6d0f828524
Disable the selection of CullPerCameraDrawPerContext until I am able to fix this
...
threading model
2007-08-04 17:04:37 +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
59d3e0ceb7
From Andy Skinner, adding C includes to avoid issues when mixing C and C++ standard includes
2007-07-28 10:44:03 +00:00
Robert Osfield
3d9d666b02
From Stephan Huber, added reset of _currentContext when graphics context is closed.
2007-07-27 17:07:44 +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
f7ce35c5ee
Converted Operations to GraphicsOperations where apporpriate.
2007-07-13 19:24:50 +00:00
Robert Osfield
ecf0b58a19
Renamed include/osg/OperationsThread to OperationThread.
...
Created a new GraphicsThread subclass from OperationThread which allows the
GraphicsContext specific calls to be moved out of the base OperationThread class.
Updated the rest of the OSG to respect these changes.
2007-07-12 15:54:45 +00:00
Robert Osfield
d1fa520349
Added support for managing a CompileContext. Rearranged the DeleteHandler::flushAll call.
2007-07-05 18:33:20 +00:00
Robert Osfield
581b1c322e
Added setting of the Camera's projection matrix to fit the windowing aspect ratio.
2007-06-23 11:21:54 +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
29be5312a0
Added OSG_SCREEN and OSG_WINDOW env var checking in the Viewer::realize()
2007-06-13 11:09:31 +00:00
Robert Osfield
a9a55de053
Added osgViewer::View::setUpViewInWindow(...) method and command line option into
...
osgViewer::Viewer to allow you to specify the window dimentions and screen for
the window on startup.
2007-06-13 10:38:40 +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
5a8ec8f470
Commented out the Scene Stats entry as its not implemented yet.
2007-06-07 20:26:29 +00:00
Robert Osfield
3f7ffb088e
Revert the setting of SingleThreaded under Windows in suggestBestThreadingModel()
2007-06-06 17:01:37 +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
b5791629ea
Added Viewer::setUpViewerAsEmbeddedInWindow convinience method
2007-06-03 09:34:28 +00:00
Robert Osfield
784383ac08
Added camera event callback support into osgViewer
2007-05-27 17:29:29 +00:00
Robert Osfield
a49ec6e78d
Updated calling of master camera's update callback
2007-05-27 15:24:41 +00:00
Robert Osfield
4e3e789acf
Added testing to see if camera allows events before automatically attaching a trackball manipulator
2007-05-27 14:52:43 +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
d74d62ed0b
Fixed Viewer::checkWindowStatus() to work correctly when running single threaded
2007-05-21 18:17:54 +00:00
Robert Osfield
0d71586ee0
Added support for tracking the CoordinateSystemNode path, and passing this on to
...
camera manipulators.
2007-05-18 10:33:56 +00:00
Robert Osfield
cf9518f346
Added support for View::setFustionDistance(..)
2007-05-17 19:58:57 +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
367ab032b1
From Jeremy Moles, fixed missing intialization of _startTick member variable.
2007-04-30 14:49:05 +00:00
Robert Osfield
abd0c7fe67
Added support for sorting the graphics contexts so that the first context/window
...
returned from Viewer::getContexts/getWindows will be the left most window on the lowest screen number.
Added ability for StatsHandler and HelpHandler to support end users setting their
Camera's graphics context.
2007-04-20 16:17:48 +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
03c198da4d
Removed the compile objects in init in the SceneView::setDefaults() setup.
2007-02-22 10:56:36 +00:00
Robert Osfield
987fe5d93b
Added ability to discount Camera's that arn't appropriate for event focus
2007-02-21 19:41:53 +00:00