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
eac9831723
Add static_cast to fix warning.
2007-09-13 10:21:18 +00:00
Robert Osfield
0f135d6d35
Created two PixelBufferX11::closeImplementation() one the real implementation and
...
a second non op one for GLX <1.3.
2007-09-13 09:30:30 +00:00
Robert Osfield
45e98d5f18
Added preliminary handling of cases where GLX version < 1.3
2007-09-12 17:01:47 +00:00
Robert Osfield
8e7e6529be
From David Callu, warning fixes
2007-09-07 15:03:56 +00:00
Robert Osfield
b20d542317
From David Callu, improved consistency of Version strings and add version support
...
for osgIntrospection and osgManipulator.
2007-09-05 17:12:24 +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
020d7a5651
Added support for controlling the draw order on Cameras on each GraphcisContext
...
via the Camera::setRenderOrder parameters
2007-08-27 13:29:09 +00:00
Robert Osfield
b2d131c143
Updated wrappers, and change Renderer so that private: to proteccted:.
2007-08-26 09:46:49 +00:00
Robert Osfield
54202aae0d
Cleaned up the thread priority management in DatabasePager and added
...
support for paging stats.
2007-08-24 13:33:35 +00:00
Robert Osfield
cc6ac2704e
Added setting of block into the ThreadSafeQueue's contructor.
2007-08-24 10:58:08 +00:00
Robert Osfield
a3ce9f680a
From Stephan Huber, fix for crash on exit
2007-08-23 14:35:04 +00:00
Robert Osfield
6827104532
From Galen Faidley," Please find attached the modifications to get the new checkerboard
...
stereo format to work. It's a good thing I tested these on a TV
before submitting them since I did indeed have a bug. One thing I
did not test was to see how this would work in windowed mode. Does
the interlaced stereo code have support for 'absolute' positions?
For example a given pixel on the screen is always shown in a given
eye no matter where the graphics context is placed?
"
2007-08-23 14:31:23 +00:00
Robert Osfield
f8ac71d7e5
Addd control for serializing draw dispatch.
2007-08-23 11:00:12 +00:00
Robert Osfield
1694cf9625
Refactored the implementation of cull/draw for DrawThreadPerContex and CullThreadPerCameraDrawThreadPerContex
...
and added an experimental draw serialization.
2007-08-22 17:17:25 +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
7f43f55a44
Added debug message to destructor
2007-08-22 09:44:55 +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
0e475106dc
Updated wrappers
2007-08-10 17:44:54 +00:00
Robert Osfield
845fbf2358
Added View::setDatabasePager(..)
2007-08-10 10:57:00 +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
e3b7b2f617
Added new statc prototype() and create() methods to CullVisitor and DatabasePager to allow overriding of the default implementations
2007-08-08 08:10:38 +00:00
Robert Osfield
3eb6e67bfa
Updated ChangeLog, and AUTHORS file for release
2007-08-06 11:50:40 +00:00
Robert Osfield
0cad7018a6
Added support for enabling the stencil buffer when horizontal and vertical split stereo are used.
2007-08-05 17:06:16 +00:00
Robert Osfield
175bb58b58
From Tim More, "This patch causes GraphicsWindowX11 to not send key release events when a key
...
press / release is caused by auto-repeat. This is consistent with Windows and Mac
behavior, as well as other toolkits such as SDL."
2007-08-05 14:59:17 +00:00
Robert Osfield
4c3a13c3a1
From Andy Skinner, fixes for avoiding warnings about mixing c and c++ versions of c libs.
2007-08-05 14:51:56 +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
9b9e4cd7c8
Added perlimnary support for reading the DISPLAY variable.
2007-08-03 14:50:58 +00:00
Robert Osfield
cb6640a65e
Changed the projection matrix resize policy.
2007-08-02 16:23:40 +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
2faf38f68f
From Stephan Huber, "attached you'll find a fix for the dead locks when closing a window
...
under OS X."
2007-07-27 16:48:31 +00:00
Robert Osfield
1b9fac45e1
From Thibault Genessay, "Attached is an unitialized variable fix I spotted with Purify. The _currentCursor (of type HCURSOR) member of the graphics window was not properly initialized, causing potential problems if setCursor() was called before anything else set it."
2007-07-26 19:31:41 +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
ee470f2445
From Mathias Froehlich, "This patch removes the X11/Xmu/WinUtil.h header from GraphicsWindowX11.cpp.
...
That one is not used and appears not to be present on every platform we
compile on."
2007-07-13 11:42:02 +00:00
Robert Osfield
b2535d55c6
Introduced new GUIEventAdatper singleton for sharing the current state between
...
multiple GraphicsWindows, this singleton is accessable via GUIEventEvent::getAccumulatedEventState().
Added use of this new singleton in GraphicsWindow* implementations.
Added WindowSizeHandler to osgkeyboard to help with debugging of event state
between windows.
2007-07-13 11:17:41 +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
095da72020
Fixed typo
2007-07-11 16:06:04 +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
50ec07b734
Added include of DeleteHandler
2007-07-06 16:54:45 +00:00
Robert Osfield
6931ae4878
Added include/osg/GLObjects + .cpp which provide osg::flush*DeletedGLObjects() methods.
...
Added and cleaned up DeleteHandler calls in osgViewer to help avoid crashes on exit.
Changed DatabasePager across to dynamically checcking osg::getCompileContext(..)
Updated wrappers.
2007-07-06 13:08:51 +00:00