Commit Graph

6094 Commits

Author SHA1 Message Date
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
640e3b623d Updated wrappers 2006-12-27 23:32:49 +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
b2a0b50a5a Improved handling of window input ranges for single window apps 2006-12-27 20:23:34 +00:00
Robert Osfield
c8957b58c8 Removed old hack to disable multi-threaded cameras when particle systems are present,
this is no longer required as osgParticle has now been made thread safe.
2006-12-27 16:44:18 +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
cd133e5f2c Updated to reflect changes to osgGA::EventQueue. 2006-12-27 15:15:23 +00:00
Robert Osfield
9f3960fa14 Replaced the osgProducer dependencies by osgViewer for osgcatch and osghangglide examples 2006-12-27 15:05:25 +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
40139afc49 Ported osghangglider example to usg osgViewer 2006-12-26 20:26:16 +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
92291f29b7 Ported osgcatch to use osgViewer 2006-12-26 17:35:45 +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
b4ec8a8275 Replaced osgProducer dependency by osgViewer 2006-12-22 16:49:14 +00:00
Robert Osfield
47d1404c2b Removed now redundent OSG_EXPORT to solve build problems under Windows 2006-12-22 16:48:17 +00:00
Robert Osfield
efec98277e Removed Vec3.cpp and UnitTestFramework.cpp as these files now live in examples/osgunittests 2006-12-22 08:42:03 +00:00
Robert Osfield
28fb22568c Added basic support for DatabasePager into osgViewer::Viewer 2006-12-21 17:23:07 +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
21de9e4acc Removed erroneous double GraphicsContext:: 2006-12-21 09:01:56 +00:00
Robert Osfield
87f1fafe64 Fixed path 2006-12-21 08:54:55 +00:00
Robert Osfield
2255771b74 Further work osgViewer::Viewer and related classes. 2006-12-20 21:13:29 +00:00
Robert Osfield
32821ebe4e From Roger James, "Here is the version of daeWMaterials.cpp with fixes for case insensitive path names on Windows. Nobody has complained to me about them since I posted them on the users list last week." 2006-12-19 17:40:40 +00:00
Robert Osfield
4f32039f24 From Mathias Fröhlich, "I have a small update to the 'non convex polygon detection' in the ac3d loader
that is used to tell if tesselation is required or if we will better leave a
polygon as is. It is still not perfect but catches some more cases."
2006-12-19 17:30:22 +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
bcda53acb1 Updated wrappers 2006-12-19 16:47:34 +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
00ee8dffad Added osgViewer::Viewer / osgViewer::GraphicsWindowsX11 usage. 2006-12-19 16:12:29 +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
d88b996df1 From Brede Johansen, "New option "cloneExternalReferences" for OpenFlight plugin" 2006-12-14 21:15:40 +00:00
Robert Osfield
0db9fc45dd From Orhun Birsoy, "In SimpleViewer::frameUpdateTraversal function, orthographicCamera calculation has some typos. It should read
bool orthographicCamera = (pm(0,3)==0.0) && (pm(1,3)==0.0) && (pm(2,3)==0.0) && (pm(3,3)== 1.0); "
2006-12-14 16:13:27 +00:00
Robert Osfield
81213d47d8 From Andy Skinnder, warning fix 2006-12-14 14:44:10 +00:00
Robert Osfield
21bf3e8762 Removed debug output files 2006-12-13 21:15:22 +00:00
Robert Osfield
0d399adf46 Commented out debug messages 2006-12-13 17:39:30 +00:00
Robert Osfield
97a5ca8a54 Further improvements to handling of multiple z values 2006-12-13 16:41:06 +00:00
Robert Osfield
71bf5371a7 Improvements to handling of multiple z value regions 2006-12-12 21:48:59 +00:00
Robert Osfield
e2481bf1ba Improved the filtering of overlapping and vertical line segments 2006-12-07 22:20:48 +00:00
Robert Osfield
cb77bbf7f6 Fixed copyright notice 2006-12-07 15:48:17 +00:00