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
Robert Osfield
b6e1924192
Fixed build errors in osgViewer
2006-11-28 20:35:31 +00:00
Robert Osfield
a2e79f6a38
Moved osgUtil::PolytopeIntersector, osgUtil::PlaneIntersector and osgUtil::LineSegmentIntersector out from include/osgUtil/IntersecionVisitor into their own seperate files.
2006-11-28 16:30:38 +00:00
Robert Osfield
345810ef22
Added support for float or double osg::Plane, and the default osg::Plane to double.
...
Performance tests on big models did not indicate any performance penalty in using doubles over floats,
so the move to doubles should mainly impact precision improvements for whole earth databases.
Also made improvements to osgUtil::PlaneIntersector and osgSim::ElevationSlice classes
2006-11-28 16:00:52 +00:00
Robert Osfield
05bffbe9c4
Added beginnings of osgUtil::PlaneIntersector and osgSim::ElevationSlice
2006-11-27 20:25:36 +00:00
Robert Osfield
fd2ffeb310
Renamed osg::CameraNode to osg::Camera, cleaned up osg::View.
...
Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer and GraphicsWindowProxy files.
2006-11-27 14:52:07 +00:00
Robert Osfield
b82e521444
From Mauricio Hofmam, added support for reading images from all osg::CameraNode attachments in RenderStage.
2006-11-27 11:25:40 +00:00
Robert Osfield
4ab9c6f5f4
Removed check from objectDeleted(void*) method as this was not catching cases
...
where the registered ptr was different from the deleted ptr - something that
can happen with multiple inheritance.
2006-11-26 22:27:09 +00:00
Robert Osfield
426fd9eaf7
Missed check of changes to the RemoveRedundentNodesVisitor
2006-11-26 14:17:22 +00:00
Robert Osfield
2a8c48c13c
Added isIdentity() method
2006-11-24 21:10:57 +00:00
Robert Osfield
5044a85c9e
Improved handling of bounding polytope
2006-11-24 17:20:01 +00:00
Robert Osfield
006435e679
Added support for positional lights into computeShadowVolumeGeometry code and cleaned up OccluderGeometry interface.
2006-11-24 11:37:57 +00:00
Robert Osfield
51744272d5
Improved the ShadowVolumeGeometry orientations.
2006-11-23 21:32:49 +00:00
Robert Osfield
e7ef0ca846
First cut at generating the ShadowVolumeGeometry
2006-11-23 16:55:46 +00:00
Robert Osfield
156cf1e97f
Added basic silhoette detection
2006-11-23 11:22:49 +00:00
Robert Osfield
1f3a851cfc
From Farshid Lashkari, Added missing initialization of the _scaleByTextureRectangleSize
...
variable in two of its constructors.
2006-11-22 20:39:44 +00:00
Robert Osfield
0a696dbdc7
Added removeNullTriangles() method to help removed triangles with coincedent corners.
2006-11-22 15:38:59 +00:00
Robert Osfield
8483624646
Added compute and visualization of triangle and vertex normals
2006-11-21 16:59:34 +00:00