9f3960fa14Replaced the osgProducer dependencies by osgViewer for osgcatch and osghangglide examples
Robert Osfield
2006-12-27 15:05:25 +00:00
791d884b44Added GraphicsWindowWin32 and GraphicsWindowCocoa classes, curently not implmented, but added as a placeholder for members of the community to step forward and implement.
Robert Osfield
2006-12-27 15:04:04 +00:00
40139afc49Ported osghangglider example to usg osgViewer
Robert Osfield
2006-12-26 20:26:16 +00:00
6a74240d22Various tweaks to keep in sync with new changes to osg::Timer and osgGA::EventQueue
Robert Osfield
2006-12-26 17:38:47 +00:00
84d22f9999Added new adapter methods to EventQueue to allow the time value of the event to be specified.
Robert Osfield
2006-12-26 17:37:58 +00:00
93dbfa04b7Aded new convinience methods to osg::Timer - s/getStartTick and time_s(), time_m() etc to help get time reletive the new start tick.
Robert Osfield
2006-12-26 17:37:06 +00:00
92291f29b7Ported osgcatch to use osgViewer
Robert Osfield
2006-12-26 17:35:45 +00:00
39c0c2df76Unified the osg::GraphicsThread::Operation and osg::GraphicsContext::Operation classes as osg::GraphicsOperation. Unpdated parts of OSG depending upon these.
Robert Osfield
2006-12-24 16:40:19 +00:00
76461b3ab2Added support for sample and sampleBuffers to osg::GraphicsContext::Traits and cleaned up the Traits naming
Robert Osfield
2006-12-22 21:53:44 +00:00
401f3bcd43Added mutexes to ParticleProcessor and ParticleSystemUpdater to improve the thread safety of osgParticle
Robert Osfield
2006-12-22 21:52:53 +00:00
bd6b7d581eImplemented perliminary multi-threading support in osgViewer::Viewer
Robert Osfield
2006-12-22 17:46:21 +00:00
b4ec8a8275Replaced osgProducer dependency by osgViewer
Robert Osfield
2006-12-22 16:49:14 +00:00
47d1404c2bRemoved now redundent OSG_EXPORT to solve build problems under Windows
Robert Osfield
2006-12-22 16:48:17 +00:00
efec98277eRemoved Vec3.cpp and UnitTestFramework.cpp as these files now live in examples/osgunittests
Robert Osfield
2006-12-22 08:42:03 +00:00
28fb22568cAdded basic support for DatabasePager into osgViewer::Viewer
Robert Osfield
2006-12-21 17:23:07 +00:00
4fc9af7ea0Moved rendering support into GraphisContext, osgViewer::Viewer/View, and added frame stamp updating and update traversal to osgViewer::Scene/Viewer.
Robert Osfield
2006-12-21 16:56:20 +00:00
8f9d2eeb46Cleaned up the includes in the GraphicsWindowX11 header
Robert Osfield
2006-12-21 12:24:20 +00:00
a56d273fe3Moved the implementation of GraphicsWindowX11 from the head into the src/osgViewer directory.
Robert Osfield
2006-12-21 12:19:14 +00:00
7772da71ebImproved the handling of moving the mouse pointer across screens, and add grab focus support that honours where the mouse pointer was originally.
Robert Osfield
2006-12-21 11:20:42 +00:00
21de9e4accRemoved erroneous double GraphicsContext::
Robert Osfield
2006-12-21 09:01:56 +00:00
87f1fafe64Fixed path
Robert Osfield
2006-12-21 08:54:55 +00:00
2255771b74Further work osgViewer::Viewer and related classes.
Robert Osfield
2006-12-20 21:13:29 +00:00
32821ebe4eFrom 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."
Robert Osfield
2006-12-19 17:40:40 +00:00
4f32039f24From 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."
Robert Osfield
2006-12-19 17:30:22 +00:00
d9d3b99c2eFrom Paul Martz, "minor code comment cleaup/rewording"
Robert Osfield
2006-12-19 17:16:14 +00:00
c9c2950759Moved UnitTestFramework from core osg lib into osgunittests example
Robert Osfield
2006-12-19 17:06:59 +00:00
bcda53acb1Updated wrappers
Robert Osfield
2006-12-19 16:47:34 +00:00
61f8827a6dAdded Copyright notice
Robert Osfield
2006-12-19 16:47:15 +00:00
e9a7225db1Added support for traversal mask into ElevationSlice, HeightAboveTerrain and LineOfSight classes
Robert Osfield
2006-12-19 16:45:09 +00:00
00ee8dffadAdded osgViewer::Viewer / osgViewer::GraphicsWindowsX11 usage.
Robert Osfield
2006-12-19 16:12:29 +00:00
dcebe4daa0Added initial GraphicsWindowX11 implementation, and fleshed out more of the osgViewer and osg::GraphicsContext/osg::View infrastructure.
Robert Osfield
2006-12-19 16:00:51 +00:00
afc77f9b39Added support WindowingSystemInterface for querring the number of screens, the screen size and creating GraphicsContexts.
Robert Osfield
2006-12-17 20:49:01 +00:00
982a4db9e2Added ViewPoint support into NodeVistor/CullStack/CullVisitor/LOD/PagedLOD etc to facilate management of LOD settings for RTT cameras.
Robert Osfield
2006-12-15 17:27:18 +00:00
d88b996df1From Brede Johansen, "New option "cloneExternalReferences" for OpenFlight plugin"
Robert Osfield
2006-12-14 21:15:40 +00:00
0db9fc45ddFrom 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); "
Robert Osfield
2006-12-14 16:13:27 +00:00
81213d47d8From Andy Skinnder, warning fix
Robert Osfield
2006-12-14 14:44:10 +00:00
21bf3e8762Removed debug output files
Robert Osfield
2006-12-13 21:15:22 +00:00
0d399adf46Commented out debug messages
Robert Osfield
2006-12-13 17:39:30 +00:00
97a5ca8a54Further improvements to handling of multiple z values
Robert Osfield
2006-12-13 16:41:06 +00:00
71bf5371a7Improvements to handling of multiple z value regions
Robert Osfield
2006-12-12 21:48:59 +00:00
e2481bf1baImproved the filtering of overlapping and vertical line segments
Robert Osfield
2006-12-07 22:20:48 +00:00
cb77bbf7f6Fixed copyright notice
Robert Osfield
2006-12-07 15:48:17 +00:00
db163de91cFrom Luigi Calori, "In order to effectively use --image-ext and to add -O "plugin options", some fix to osgdem.cpp and osgTerrain/DataSet.cpp
Robert Osfield
2006-12-07 10:16:43 +00:00
1a7a1704fdFrom Geoff Michel, "I was getting triangulations with the previous delaunay triangulator, but it seems I may have been picking up the wrong coordinates or an old version of my test file (that version is OK when no coordinates lie outside the 'terrain' zone). This version is much stricter about memory handling and insertion of extra points."
Robert Osfield
2006-12-07 10:09:48 +00:00
eb4a5ffe25Improved the handling of overlapping line segments.
Robert Osfield
2006-12-06 21:29:10 +00:00
aa8ec67a88From Riccardo Corsi, add VS6.0 project file for new quicktime windows port
Robert Osfield
2006-12-06 15:18:11 +00:00
49cd96cd44From Rick Pingry, "n my application I am walking through the scene graph looking for nodes of a specific name. I noticed there were times when some of the nodes were not named what I had expected. Upon reviewing the code, I noticed this was happening when there was a forward reference to a parented object.
Robert Osfield
2006-12-06 14:17:55 +00:00
152c999f99Updated wrappers
Robert Osfield
2006-12-05 22:10:36 +00:00
3cab169b0dChecked in remaining element from Brede Johansen changes for clmapToEdge reader option.
Robert Osfield
2006-12-05 20:30:46 +00:00
caa27618fcFrom Stephan Huber, "minor bugfixes for the quicktime-plugin"
Robert Osfield
2006-12-05 17:30:36 +00:00
2b8bcb9bb0From Gerrick Bivins, "Changes: --merged with fixes for texture coordinates(is this in CVS/SVN already)? --changed above mentioned fix output level from osg::NOTIFY to osg::DEBUG_INFO --added support for VRML97 ImageTextures. --changed pointers to ref_pointers where possible. --added format (method separated by "//////") for easier reading."
Robert Osfield
2006-12-05 17:27:31 +00:00
ae93f08492From Roger James,"I have had another go at the windows specific file name handling in daeWMaterials.cpp. I think I have arrived at a temporary compromise.
Robert Osfield
2006-12-05 17:10:39 +00:00
693302574dFrom Rein Kadijk, "While displaying a certain scene, OsgEdit crashed in ProxyNode::traverse() in file OSG_OP_OT-1.2\OpenSceneGraph\src\osg\proxynode.cpp. It turned out that nv.getDatabaseRequestHandler() returned NULL; using this pointer to call one of DatabaseRequestHandler's methods is of course illegal. I patched it by adding: if (nv.getDatabaseRequestHandler())"
Robert Osfield
2006-12-05 16:45:27 +00:00
875668b84dFrom Stephan Huber and Riccardo Corsi, port of QuickTime plugin to Windows
Robert Osfield
2006-12-05 16:29:11 +00:00
905857acd7Added use of typedef to help clean up the readability a little and replaced a copy list with a reference.
Robert Osfield
2006-12-05 15:41:03 +00:00
d70cf68ae6From Sylvain Marie, "changed raw pointers to smart pointers in the dxfBlock, dxfTables and dxfSection classes, so their members data are correctly deleted. - changed some methods signatures to pass arguments by reference instead of by value. The performance and memory usage are enhanced (the reader was clogging the heap when reading some large DXF files)
Robert Osfield
2006-12-05 15:31:07 +00:00
8e0bb5f6efFrom Chris McGlone, "PlygonZ copy constructor: added allocation and copying of zarray"
Robert Osfield
2006-12-05 14:58:38 +00:00
3177494aa4From 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).
Robert Osfield
2006-12-05 14:50:46 +00:00
289331569dFrom Brede Johansen, "added a new reader option to replace the texture wrap mode CLAMP with CLAMP_TO_EDGE."
Robert Osfield
2006-12-05 14:28:07 +00:00
cf41b3128cUpdated wrappers
Robert Osfield
2006-12-05 13:06:02 +00:00
afa96fff0eAdded more accurate computation of local height above sea level in the plane intersections routines
Robert Osfield
2006-12-05 12:58:29 +00:00
ba3fe2844fImproved the calculation of distance around the globe within the ElevationSlice routine.
Robert Osfield
2006-12-04 17:31:20 +00:00
0f5aeb5fa3Added preliminary support for generating distance, height lists for ElevationSlice.
Robert Osfield
2006-12-04 12:36:13 +00:00
fd8d6b7f3bCleaned up debugging info.
Robert Osfield
2006-12-03 12:52:38 +00:00
56b7268c72Added copying of plane to surface intersections in the osgUtil::PlaneIntersector class, and update wrappers.
Robert Osfield
2006-12-03 11:44:12 +00:00
dc250e6e1aAdded osgSim to osgintersection dependency list.
Robert Osfield
2006-12-03 11:09:33 +00:00
6778bfca44Added support for placing a base in the scene to shadow against
Robert Osfield
2006-12-01 15:19:21 +00:00
8d85636b50Fixed typo and updated wrappers
Robert Osfield
2006-11-30 18:42:38 +00:00
54610429e9Improved the edge normal computation
Robert Osfield
2006-11-30 18:33:36 +00:00
79c8835422Checked in new .plists'
Robert Osfield
2006-11-30 16:55:32 +00:00
a9d18d01dbBasic shadow volume alogirthm implemented in example.
Robert Osfield
2006-11-30 16:30:24 +00:00
808047ee1bAdded dynamic updating of light position and multi-pass addition of ambient and diffuse lighting
Robert Osfield
2006-11-30 12:05:51 +00:00
f022f79436Fixed shadow volume geometry handling of direcitonal lights
Robert Osfield
2006-11-30 12:04:36 +00:00
cdcbf3f9afAdded movement of the light source to test performance of update the shadow volumes
Robert Osfield
2006-11-30 10:29:03 +00:00
1cd4089d8eAdded handling of loops
Robert Osfield
2006-11-29 22:00:39 +00:00
49d283d592Added plane to triangle intersections and segment combining, work still not complete though.
Robert Osfield
2006-11-29 21:43:05 +00:00
f2b2f00ea1From Per Fahlberg, added support for writing 16-bit rgb images
Robert Osfield
2006-11-29 20:10:08 +00:00
b7b4fd5928Updated wrappers
Robert Osfield
2006-11-29 14:33:17 +00:00
ab7d1ecc42Further work on PlaneIntersector
Robert Osfield
2006-11-29 14:21:59 +00:00
35cb04437dAdded dummy virtual method implementations
Robert Osfield
2006-11-29 11:00:02 +00:00
3f0c9caa48Cleaned up inheritance
Robert Osfield
2006-11-29 10:51:10 +00:00
afbcbfd9b4Ran unix2dos to get rid of unix line ending
Robert Osfield
2006-11-29 09:18:51 +00:00
55d1f65102Still required for backwards compatibility
Robert Osfield
2006-11-28 20:45:24 +00:00
1c6565b4f5Updated wrappers
Robert Osfield
2006-11-28 20:37:27 +00:00
b6e1924192Fixed build errors in osgViewer
Robert Osfield
2006-11-28 20:35:31 +00:00
9eedf4df1eRemoved redundent wrapper
Robert Osfield
2006-11-28 16:50:51 +00:00
73fc7a0c1fUpdated wrappers
Robert Osfield
2006-11-28 16:49:31 +00:00
a2e79f6a38Moved osgUtil::PolytopeIntersector, osgUtil::PlaneIntersector and osgUtil::LineSegmentIntersector out from include/osgUtil/IntersecionVisitor into their own seperate files.
Robert Osfield
2006-11-28 16:30:38 +00:00
345810ef22Added 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.
Robert Osfield
2006-11-28 16:00:52 +00:00
5e1c5cd556Fixed fade text memory consumption bug which was due to new RenderInfo being created local to RenderStage and passed on to rendering code which populated the RenderInfo UserData, but without the restoring the new UserData to the main RenderInfo. The local RenderInfo UserData is now passed back to the main RenderInfo.
Robert Osfield
2006-11-28 11:10:15 +00:00
ed4188cb96Removed the now redundent dateUtils.h file.
Robert Osfield
2006-11-28 10:31:37 +00:00
68e9672765Added missing Camera.h and removed redundent CameraNode.h
Robert Osfield
2006-11-28 09:14:46 +00:00
05bffbe9c4Added beginnings of osgUtil::PlaneIntersector and osgSim::ElevationSlice
Robert Osfield
2006-11-27 20:25:36 +00:00
ae79bebd82Added QWidget style constructor parameters
Robert Osfield
2006-11-27 16:25:12 +00:00
fd2ffeb310Renamed osg::CameraNode to osg::Camera, cleaned up osg::View.
Robert Osfield
2006-11-27 14:52:07 +00:00
b82e521444From Mauricio Hofmam, added support for reading images from all osg::CameraNode attachments in RenderStage.
Robert Osfield
2006-11-27 11:25:40 +00:00
60a975d05dFrom André Garneau, "The file submitted includes a fix to properly support DDS textures compressed under the DXT-1 format when they contain alpha information.
Robert Osfield
2006-11-27 09:23:57 +00:00
4ab9c6f5f4Removed 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.
Robert Osfield
2006-11-26 22:27:09 +00:00