Robert Osfield
526ba8c506
From Stephan Huber, "I added a bool to GraphicsContext::Traits to indicate wether to use the
...
multithreaded-opengl-engine on os x or not. I set its default to false,
perhaps other os x users can test this setting with their data/apps, to
see if we can enable it by default.
I changed also the borderless-window-type, so expos?works correctly."
2007-02-16 13:33:29 +00:00
Robert Osfield
b717790dcb
Removed inappropriate Stats:: prefix
2007-02-15 10:25:11 +00:00
Robert Osfield
b7b8e7ed98
Removed extrandous Stats:: prefix
2007-02-15 00:53:52 +00:00
Robert Osfield
810e7291fc
Added use of Mutex into osg::Stats to better handle multi-threaded usage
2007-02-14 16:24:49 +00:00
Robert Osfield
07411f3246
Introduced new osg::Object::DataVariance type of UNSPECIFIED, and changed the deafult
...
values of DataVariance to UNSPECIFIED to all types.
2007-02-14 13:18:58 +00:00
Robert Osfield
89c99a88fa
Added computeDataVariance method into osg::Object and implementations in Drawable and StateSet,
...
and calling of osgUtil::StaticObjectDetectionVisitor in osgViewer::Viewer
2007-02-14 11:24:42 +00:00
Robert Osfield
fe177e42d5
Added osgViewer::HelpHandler
2007-02-12 13:39:18 +00:00
Robert Osfield
f1a82f35b2
From Vivek Rajan, MatrixDecomposition implementaion, adapted by Robert Osfield
...
to be part of osg::Matrixf and osg::Matrixd classes.
2007-02-10 18:01:37 +00:00
Robert Osfield
c52207b637
Added new Transform::ReferenceType enum ABSOLUTE_RF_INHERIT_VIEWPOINT to support
...
internal RTT cameras that wish to use the main cameras view/eye point for LOD and other
distance based tests.
2007-02-07 16:32:14 +00:00
Robert Osfield
cfe737c552
Tweak API and updated wrappers to get wrappers to build
2007-02-05 14:56:41 +00:00
Robert Osfield
ebd68ba063
Added Camera's s/getCameraThread() and updated wrappers
2007-02-05 13:44:16 +00:00
Robert Osfield
98b0eb889a
From Brede Johansen, added OSG_EXPORT to DeleteHandler for windows build
2007-02-05 10:48:20 +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
6d9641a78b
Added a concrete osg::DeleteHandler implementation which provides support for
...
retain objects for several frames before deleting them. Also added RenderStageCache
into CullVistor.cpp that is used for handling RTT osg::Camera's that are being
used in double buffered SceneView usage.
2007-02-02 12:41:13 +00:00
Robert Osfield
8dfc5155f4
Further work on new threading model.
2007-01-31 22:24:20 +00:00
Robert Osfield
f8213d1c53
Updated wrappers
2007-01-30 14:47:13 +00:00
Robert Osfield
b8d98a2cfe
Added support for compute average stats attributes in inverse space to improve
...
the quality of frame rate reporting.
2007-01-30 13:48:04 +00:00
Robert Osfield
ecedc8d86a
Added Stats::collectStats(string,bool) controls, getAveragedAttribute methods into osg::Stats class, and
...
related support into osgViewer::Viewer and osgViewer::StatsHandler.
Added lazy updating of text in StatsHandler HUD to minimize the impact of
slow text updating on observed frame rates.
2007-01-30 11:40:23 +00:00
Robert Osfield
fd0ea388c2
Began work on providing support for threading camera cull traversals in parallel with
...
the previous frames draw traversal. Changes range from osg::State, through osgUtil::RenderBin, through to osgViewer
2007-01-29 22:44:29 +00:00
Robert Osfield
36330f7e40
Changed osgUtil::RenderBin and osg::State to allow nesting of StateSet's associated with RenderBin's.
2007-01-27 11:13:01 +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
45dea96d75
Added #define of GL_QUERY_RESULT and GL_QUERY_RESULT_AVAILABLE
2007-01-23 16:02:37 +00:00
Robert Osfield
d6ecce6f5f
Improvements to stats
2007-01-22 11:22:37 +00:00
Robert Osfield
b47ef11d74
Initial on screen stats support
2007-01-21 18:24:54 +00:00
Robert Osfield
15a3972be0
Added OSG_EXPORT to Stats to fix Windows build
2007-01-20 09:03:58 +00:00
Robert Osfield
f0e2404541
Added new osg::Stats class for collecting frame stats of different sorts.
...
Added s/getStats() to osg::View and osg::Camera.
Added population of View::getStats() with frame stats in osgViewer/Viewer.
Added Basic StatsHandler to osgviewer example.
2007-01-19 19:53:23 +00:00
Robert Osfield
a90206bcbb
Added EXT_timer_query support
2007-01-19 14:41:29 +00:00
Robert Osfield
ccc8a922a6
Added osg::StencilTwoSided state attribute to wrap up the stencil_two_sided extension.
...
Added path in osgShadow work for using StencilTwoSided to accelerate shadow volume rendering.
2007-01-18 22:32:18 +00:00
Robert Osfield
ba9e355550
Added support for stencil GL_INCR_WRAP and GL_DECR_WRAP operations
2007-01-18 17:00:42 +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
5ee30edbea
Added support for setThreadSafeRefUnref into TexGenNode
2007-01-11 10:35:03 +00:00
Robert Osfield
d6d1a46db9
From Stephan Huber, GraphicsWindowCarbon implementation
2007-01-09 10:06:20 +00:00
Robert Osfield
462803fd57
From Paul Martz, speeling fixes for Tessellator/Tessellation.
2007-01-08 21:29:49 +00:00
Robert Osfield
16d1c00a3d
Changed the return types of makeCurrent to bool, and added a bool GraphicsContext::releaseContext method
...
along with implementations in osgViewer.
2007-01-08 19:29:59 +00:00
Robert Osfield
4a5eda6522
Added GraphicsContext::ResizedCallback and GraphicsContext::resizedImplementation.
...
Added message on non implementation of GraphicsContext::valid().
Added prelimary GraphicsContext clean up support.
2007-01-08 16:20:10 +00:00
Robert Osfield
773fbd1b16
Added setThreadSafeRefUnref to LightSource
2007-01-07 10:00:50 +00:00
Robert Osfield
9fcace0e73
Added GraphicsContext support for clearing the graphis context. The clearing
...
is off by default (ClearMask is 0), but can be switched on when ClearMask is
non zero. GraphicsContext::clear() is called after each swap buffers
2007-01-05 15:24:06 +00:00
Robert Osfield
9e30014634
Removed inappropriate comment about normal orientation.
2007-01-05 09:55:04 +00:00
Robert Osfield
73fffe1800
Made Refernced::setThreadSafeReferenceCounting(bool) a virtual then overrode
...
this in various scene graph classes to ensure that the scene graph gets
updated as well as the objects that the initialial call is made from.
2007-01-04 16:49:58 +00:00
Robert Osfield
ff195bddf5
Added Object::resizeGLObjectBuffers(uint) method to help improve the ability
...
to change the number of active graphics contexts on the fly during an applications
life.
2007-01-04 14:11:51 +00:00
Robert Osfield
7155f7d1b0
Various work on osgViewer library, including warp point and graphics window resize support
2007-01-01 18:20:10 +00:00
Robert Osfield
93dbfa04b7
Aded new convinience methods to osg::Timer - s/getStartTick and time_s(), time_m() etc
...
to help get time reletive the new start tick.
2006-12-26 17:37:06 +00:00
Robert Osfield
39c0c2df76
Unified the osg::GraphicsThread::Operation and osg::GraphicsContext::Operation classes
...
as osg::GraphicsOperation. Unpdated parts of OSG depending upon these.
Added a virtaul bool valid() method to osg::GraphicsContext to allow apps to
test whether a valid graphis context has been created or not.
2006-12-24 16:40:19 +00:00
Robert Osfield
76461b3ab2
Added support for sample and sampleBuffers to osg::GraphicsContext::Traits and
...
cleaned up the Traits naming
2006-12-22 21:53:44 +00:00
Robert Osfield
4fc9af7ea0
Moved rendering support into GraphisContext, osgViewer::Viewer/View, and
...
added frame stamp updating and update traversal to osgViewer::Scene/Viewer.
Updated osgcamera example to use new Viewer API calls instead of using local
rendering calls.
2006-12-21 16:56:20 +00:00
Robert Osfield
d9d3b99c2e
From Paul Martz, "minor code comment cleaup/rewording"
2006-12-19 17:16:14 +00:00
Robert Osfield
c9c2950759
Moved UnitTestFramework from core osg lib into osgunittests example
2006-12-19 17:06:59 +00:00
Robert Osfield
dcebe4daa0
Added initial GraphicsWindowX11 implementation, and fleshed out more of the
...
osgViewer and osg::GraphicsContext/osg::View infrastructure.
2006-12-19 16:00:51 +00:00
Robert Osfield
afc77f9b39
Added support WindowingSystemInterface for querring the number of screens, the screen size and creating GraphicsContexts.
2006-12-17 20:49:01 +00:00
Robert Osfield
982a4db9e2
Added ViewPoint support into NodeVistor/CullStack/CullVisitor/LOD/PagedLOD etc to facilate
...
management of LOD settings for RTT cameras.
2006-12-15 17:27:18 +00:00