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
Robert Osfield
d1fa520349
Added support for managing a CompileContext. Rearranged the DeleteHandler::flushAll call.
2007-07-05 18:33:20 +00:00
Robert Osfield
0434d29ad4
From Adndre Garneau, "Attached is a fix to prevent a cursor being shown in graphics windows when
...
traits specify that none should be used (a recent change forced a
left-pointer cursor as the default). "
2007-07-05 10:57:34 +00:00
Robert Osfield
70bbb06dd5
Commented out "fix" that explictly sets the key modifier state as this change
...
actually broke the key modifier state management.
2007-07-05 10:51:47 +00:00
Robert Osfield
7f0b3144ea
Added checking of GUIEventAdpter::getHandled().
2007-07-03 13:26:48 +00:00
Robert Osfield
c7a316e445
From Mike Connell, "This is a tiny fix for win32.
...
The current code takes the mouse cursor position and adds it to the
window (left,top) position, and sends the mouse cursor there. But this
doesn't take into account the window decoration.
The new code converts the given (x,y) coordinates from the client area
coordinate system to the screen instead using ClientToScreen. I think
this is the natural windows way to do it.
Tested on XP with osgviewer
"
Note from Robet Osfield, made a few changes to layout to make it more consistent
with the rest of the OSG and used #if 0 instead if (0) blocks.
2007-06-30 16:19:56 +00:00
Robert Osfield
4953e23ab5
From Trajce Nikolov, fixes to pbuffer setup
2007-06-28 12:59:04 +00:00
Robert Osfield
49c15572a9
From Stephan Huber, "attached you'll find a first implementation of pbuffer-support for os x.
...
I used osgprerender --pbuffer to test the carbon-implementation, for now
it works :)
"
2007-06-27 20:44:12 +00:00
Robert Osfield
14470e12c4
From Andy Skinner, fixed return value.
2007-06-27 17:01:54 +00:00
Robert Osfield
97ff495a9c
From Rajce Nickolov, improvements to PixelBufferWin32 and GraphicsWindowWin32
2007-06-27 10:37:30 +00:00
Robert Osfield
350b25c49b
From Trajce Nickolov, improvements to PixelBufferWin32.
2007-06-25 11:32:19 +00:00
Robert Osfield
1e506da145
From Trajce Nikolov, PixelBufferWin32 implementation
2007-06-24 10:18:54 +00:00
Robert Osfield
b9947a8189
Simplified decoration code and added support for reading Traits::supportsResize
2007-06-23 21:55:35 +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
e8a65e4cff
From Trajce Nikolov, windows build fixes
2007-06-21 11:20:54 +00:00
Robert Osfield
4677fe20a7
Added dummy init method
2007-06-20 12:34:37 +00:00
Robert Osfield
1de128de27
Added placeholder for PixelBufferWin32
2007-06-20 12:29:19 +00:00
Robert Osfield
78b6ada743
Completed implementation of PixelBufferX11.
2007-06-20 11:59:27 +00:00