Robert Osfield
9a4209c61b
Simplified the nameing of updateTraversal etc methods
2007-01-05 16:48:04 +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
fc07efa656
Added int return type of Viewer::run().
2007-01-05 13:16:24 +00:00
Robert Osfield
23ac972d4e
Added a workaround for computing the time of an event.
2007-01-05 13:01:08 +00:00
Robert Osfield
552bda4cc5
Added Viewer::isRealized() and run() methods to make it easier to
...
set up and run a viewer, taking care of realized() calls if not already
done, and assigning trackball manipulator if not already assigned.
2007-01-05 10:59:23 +00:00
Robert Osfield
9e30014634
Removed inappropriate comment about normal orientation.
2007-01-05 09:55:04 +00:00
Robert Osfield
0985a06572
Moved the set of GraphicsContext RenderingOperations into Viewer.
2007-01-04 21:49:02 +00:00
Robert Osfield
1fd2047cf5
Added Viewer::setKeySetsDone(int) to allow developers to specify which
...
key should set done and cause the main loop to exit.
2007-01-04 21:28:16 +00:00
Robert Osfield
733c6e9e62
Changed the ReadWriteMutex to use standard OpenThreads::Mutex to fix
...
crashes in osgcatch.
2007-01-04 21:14:29 +00:00
Robert Osfield
9a31b7652e
Added mutex to lock of ReentrantMutex
2007-01-04 20:50:35 +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
0ec854a365
Added support for starting and stopping osgViewer::Viewer threading and
...
automatic handling of windows being closed.
2007-01-04 11:49:15 +00:00
Robert Osfield
23206270e0
Added catch of window close
2007-01-03 23:00:05 +00:00
Robert Osfield
21869a79a9
From Paul Martz, added export to fix Windows build
2007-01-03 19:11:57 +00:00
Robert Osfield
4f87afdbf5
Improved the robustness of thread start and cancellation
2007-01-03 16:06:12 +00:00
Robert Osfield
f14aa7ef66
Added support for different threading models in osgViewer::Viewer
2007-01-02 17:39:31 +00:00
Robert Osfield
d068f7025a
Added support for getting all windows and hiding the cursor
2007-01-02 12:50:57 +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
96071fd1b1
Removed osgViewer::GraphicsWindowProxy as its was causing wrapper compile
...
problems and also no longer has a key role in osgViewer.
2006-12-28 08:16:36 +00:00
Robert Osfield
d7e3ed3fb2
Updated wrappers
2006-12-27 23:19:37 +00:00
Robert Osfield
11fef2d75e
Tweaks from using a ReadWriteMutex& to a ReadWriteMutex* parameter to avoid
...
problems with osgIntrospection generation.
2006-12-27 23:19:17 +00:00
Robert Osfield
30cb8735d3
Added an osgDB::ReadWriteMutex to help manage the ability to have serialize
...
write to objects but allow multiple threads to read at once in a read only way.
2006-12-27 16:40:34 +00:00
Robert Osfield
791d884b44
Added GraphicsWindowWin32 and GraphicsWindowCocoa classes, curently not implmented,
...
but added as a placeholder for members of the community to step forward and implement.
2006-12-27 15:04:04 +00:00
Robert Osfield
6a74240d22
Various tweaks to keep in sync with new changes to osg::Timer and osgGA::EventQueue
2006-12-26 17:38:47 +00:00
Robert Osfield
84d22f9999
Added new adapter methods to EventQueue to allow the time value of the
...
event to be specified.
2006-12-26 17:37:58 +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
401f3bcd43
Added mutexes to ParticleProcessor and ParticleSystemUpdater to improve the thread safety of osgParticle
2006-12-22 21:52:53 +00:00
Robert Osfield
bd6b7d581e
Implemented perliminary multi-threading support in osgViewer::Viewer
2006-12-22 17:46:21 +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
8f9d2eeb46
Cleaned up the includes in the GraphicsWindowX11 header
2006-12-21 12:24:20 +00:00
Robert Osfield
a56d273fe3
Moved the implementation of GraphicsWindowX11 from the head into the src/osgViewer directory.
2006-12-21 12:19:14 +00:00
Robert Osfield
7772da71eb
Improved the handling of moving the mouse pointer across screens, and add
...
grab focus support that honours where the mouse pointer was originally.
2006-12-21 11:20:42 +00:00
Robert Osfield
2255771b74
Further work osgViewer::Viewer and related classes.
2006-12-20 21:13:29 +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
61f8827a6d
Added Copyright notice
2006-12-19 16:47:15 +00:00
Robert Osfield
e9a7225db1
Added support for traversal mask into ElevationSlice, HeightAboveTerrain and LineOfSight classes
2006-12-19 16:45:09 +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
Robert Osfield
81213d47d8
From Andy Skinnder, warning fix
2006-12-14 14:44:10 +00:00
Robert Osfield
3177494aa4
From Bryan Thrall, "Currently, the DatabasePager always loads requested Nodes using the
...
default Registry Options object, but it would be useful to be able to
request loading with a different Options object. The attached files
allow you to do that (based off the OSG 1.2 source).
For example, I'm implementing a loader that requires context information
when it pages in subgraphs, which becomes significantly complicated when
multiple scenegraphs are requesting subgraph loads with different
contexts (the loader needs to know which context to use, and the
Registry Options needs to be carefully managed so the context settings
don't clobber each other, especially in multithreaded situations). Being
able to pass an Options instance along with the Node request resolves
this problem."
2006-12-05 14:50:46 +00:00
Robert Osfield
afa96fff0e
Added more accurate computation of local height above sea level in the plane intersections routines
2006-12-05 12:58:29 +00:00
Robert Osfield
56b7268c72
Added copying of plane to surface intersections in the osgUtil::PlaneIntersector class, and update wrappers.
2006-12-03 11:44:12 +00:00
Robert Osfield
8d85636b50
Fixed typo and updated wrappers
2006-11-30 18:42:38 +00:00
Robert Osfield
ab7d1ecc42
Further work on PlaneIntersector
2006-11-29 14:21:59 +00:00
Robert Osfield
3f0c9caa48
Cleaned up inheritance
2006-11-29 10:51:10 +00:00