Robert Osfield
14a563dc9f
Ran script to remove trailing spaces and tabs
2012-03-21 17:36:20 +00:00
Robert Osfield
d350ea5395
Moved setEndBarrierOperation(..) implementation into .cpp and added support for stoppig and starting threading if required.
2012-01-24 17:30:44 +00:00
Robert Osfield
b0b98d49b8
From Paul Martz, Added ViewerBase::s/getEndBarrierOperation(..) method to allow user control of how viewers are sync'd.
2012-01-24 17:21:14 +00:00
Robert Osfield
c13b7d26b7
From Jan Peciva, "please find attached proposed fix for ON_DEMAND rendering. The biggest issue was
...
that the windows did not act on repaint request (WM_PAINT, EXPOSE,...)
Detailed explanation:
- I implemented requestRedraw using the push approach (not using
GraphicsWindow::_requestRedraw flag that I was considering) as there may be
multiple viewers reading the flag and fighting to reset it after the paint
request, while some viewers may not spot the request to redraw
- I made windows call GraphicsWindow::requestRedraw when they receive
appropriate message (WM_PAINT, EXPOSE, RESIZE,...)
- There were issues on Linux that windows did not want to close using x
button. Resolved by moving the test for DeleteWindow event from
swapBuffersImplementation() to GraphicsWindowX11::checkEvents(). The difficulty
was that DeleteWindow event is not coming using _eventDisplay, but through
_display.
- The last difficulty was that it is necessary to call
ViewerBase::checkWindowStatus() to set _done to true when all windows are
closed. This did not happened recently in ON_DEMAND run scheme. I put the call
to checkWindowStatus() to eventTraversal.
"
2011-04-19 12:01:38 +00:00
Robert Osfield
efec8a13a1
Removed spaces from end of lines
2011-04-19 11:46:05 +00:00
Robert Osfield
d746f11650
Renamed osgGA::MatrixManipualtor to osgGA::CameraManipulator so its name better reflects it's function
2010-05-27 15:54:37 +00:00
Robert Osfield
a50f0ccfaf
Introduce new run frame rate management support to allow control of maximum frame rate and to support on demand rendering of frames
2009-04-24 16:20:50 +00:00
Robert Osfield
7b5f3ec92a
Moved IncrementalCompileOperation out of include-src/osgUtil/GLObjectVisitor into their own files.
...
Added support to IncrementCompileOperation for controlling how much time is alloted to compilation and flush
2009-03-12 15:21:04 +00:00
Robert Osfield
7473b06275
Preliminary work on general purpose incremental compile support in osgViewer.
2009-03-08 12:00:36 +00:00
Robert Osfield
29157f24d9
Refactored the view stats.
2009-01-27 13:23:20 +00:00
Robert Osfield
eaba09027e
Reverted Kyle Centers mistaken patch that removed a _currentContext->valid() that was actually required.
2008-11-19 20:34:53 +00:00
Robert Osfield
3f9e5dbfaa
From Kyle Centers, removed redundent check to _currentContext.valid().
2008-11-06 14:17:12 +00:00
Robert Osfield
91f7895735
refactored the getWindows(..) and getContexts(..) methods so that they produce
...
consistent ordering based on the order Camera/slave camera ordering.
2008-09-18 15:18:59 +00:00
Robert Osfield
4aed0a7eac
From Ulrich Hertlein, "attached are some minor tweaks:
...
- fixed typos in osgViewer/ViewerBase
- const-ness in include/osg/View findSlaveIndexForCamera
- supported options for STL reader, fixed return values to reflect proper errors
- supported options for DirectX reader, fixed return values
- normals pseudo-loader: scaling normals to a const (but variable) fraction of the bounding sphere radius
"
2008-07-17 13:51:14 +00:00
Robert Osfield
282fa84789
Added support for optionally calling releaseContext at the end of each
...
renderinTraversals() to help with cases where uses are driving multiple
contexts from mulitple viewers in a single threaded frame loop.
2008-06-04 16:46:14 +00:00
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