Commit Graph

  • 1e3183a355 Quietened down debug info Robert Osfield 2008-06-21 17:56:38 +00:00
  • af271f99ec Added support for X11's overrideRedirect functionality Robert Osfield 2008-06-21 17:50:58 +00:00
  • 113a77b219 Converted tabs to four spaces Robert Osfield 2008-06-21 11:34:01 +00:00
  • 415d45525c Changed the include/osg/Config and include/OpenThreads/Config references to use the assocaited CMake variable for these headers Robert Osfield 2008-06-20 19:52:14 +00:00
  • e56ff4d5c6 Updated ChangeLog Robert Osfield 2008-06-20 19:51:21 +00:00
  • ff811736fc From Terry Welsh, added missing MixinVector header Robert Osfield 2008-06-20 17:32:27 +00:00
  • 779a7c46ac Added OSG_WINDOWING_SYSTEM cmake option string to allow toggling between X11 and Carbon under OSX. Robert Osfield 2008-06-20 16:57:22 +00:00
  • a71939c5bb From Mathias Froehlich, moved optional config variables into include/osg/Config file that is automatically created by cmake according to its own settings. Robert Osfield 2008-06-20 15:50:53 +00:00
  • 7b19b987ec Updated ChangeLog Robert Osfield 2008-06-20 15:49:15 +00:00
  • 8aa7c330f8 Changed const double* to const Matrix::value_type* to ensure changes in Matrix type don't break the build Robert Osfield 2008-06-20 15:28:38 +00:00
  • be185cb3af From Terry Welsh, new flatten static transforms visitor that duplicates subgraphs that are shared beneath differnt static transforms Robert Osfield 2008-06-20 13:16:35 +00:00
  • ce13510b47 From Mathias Froehlich, made the include of bin directory for include/OpenThreads/Config only used when doing out of source builds Robert Osfield 2008-06-20 11:16:06 +00:00
  • bc6e5b5da2 Updated version numbers for dev releases Robert Osfield 2008-06-20 11:11:47 +00:00
  • 0e7920f144 From Mathias Froehlich, "Fixes a compile of src/osgSim/ShapeAttribute.cpp on suse 10.2." Robert Osfield 2008-06-20 10:46:33 +00:00
  • 3672ba51e7 From Melchior Franz, fixed typo on variable name Robert Osfield 2008-06-20 09:46:45 +00:00
  • 5db501941d From Mathias Froehlich, add search path to enable out of source builds to find include/OpenThreads/Config. Robert Osfield 2008-06-20 09:42:57 +00:00
  • 96a80666c9 Updated wrappers Robert Osfield 2008-06-19 20:42:10 +00:00
  • 2011028ee7 From Neil Groves, Robert Osfield 2008-06-19 20:38:38 +00:00
  • d6469b87c1 From Mathieu Marache, "submission for inclusion to support mpg and avi files when using the quicktime plugin on windows" Robert Osfield 2008-06-19 17:35:45 +00:00
  • 936edacc92 From Mathias Froehlich, added support for using OpenThreads::Atomic for thread safe ref/unref. Robert Osfield 2008-06-19 17:30:38 +00:00
  • 2ba5f002d2 from Andrew Bettison, LineStipple support for .ive Robert Osfield 2008-06-19 14:57:36 +00:00
  • 0faaf93dc2 From Adrian Egli, "Improvements to the PSSM implementation" Robert Osfield 2008-06-19 14:45:54 +00:00
  • cc9d12f34f From Rudolf Weidemann, "in the OpenFlight format materials can have editable names. In the OSG OpenFlight plugin these names are ignored when reading, and empty strings are written. Robert Osfield 2008-06-19 14:35:18 +00:00
  • dd13893861 From Farshid Lashkari, "I noticed some problems when setting up CameraNodes that inherit viewport settings in stereo mode. It seems that the SceneView::cull() method will pass the full size viewport to the left/right cullvisitors, instead of the modified stereo viewport. I made quite a few changes to SceneView to fix the issue. The SceneView::cullStage() method will now receive the viewport as an argument, instead of using the global viewport. The SceneView::cull() method will pass the modifed viewport to cullStage when rendering in stereo. Robert Osfield 2008-06-19 14:29:38 +00:00
  • c3c727b822 From Andrew Bettison, "Attached are changes for src/osgPlugins/ive (version 2.4.0) that implement LineStipple read/write support for the ive file format." Robert Osfield 2008-06-19 14:14:20 +00:00
  • 37d81679b7 From Paul Melis, "Here is a reworked version of the osgviewerWX example. It changes the GraphicsWindowWX to only inherit from osgViewer::GraphicsWindow and adds a standalone widget, called OSGCanvas, that derives from wxGLCanvas. This solves a problem with the GraphicsWindowWX instance being destructed twice (see "Crash in osgviewerWX" of June 12th on osg-users). At program exit, the main frame deletes all of its children widgets and therefore calls GraphicsWindowWX's destructor, bypassing OSG's reference counting. The GraphicsWindowWX instance is then later destructed a second time when the reference held by osg::Camera goes to zero. This bug isn't exposed by the example directly, but if people are going to use the example as a basis (like the poster in the mentioned thread) they very likely will run into this problem. " Robert Osfield 2008-06-19 13:49:36 +00:00
  • 4c9b3de4a1 Updated wrappers to fix OpenThreads::Atomic build issues. Robert Osfield 2008-06-19 13:28:33 +00:00
  • a94cfccdce From Michael Platings, fixed typo error in renderbin assignment Robert Osfield 2008-06-19 12:02:20 +00:00
  • 061be3d084 In Program::PerContextProgram changed const Uniform* to osg::ref_ptr<const Uniform*> to avoid the possibility of a uniform being deleted and another being created and assigned at the same address which previously confused the uniform tracking code and introduced a bug. Robert Osfield 2008-06-19 11:58:34 +00:00
  • 174f9bbfe0 From Michael Platings and Robert Osfield, added support for controlling, via StateSet::setNestedRenderBin(bool) whether the new RenderBin should be nested with the existing RenderBin, or be nested with the enclosing RenderStage. Robert Osfield 2008-06-19 11:09:20 +00:00
  • 0abf539b60 Updated wrappers Robert Osfield 2008-06-18 20:27:06 +00:00
  • f06d50a7eb From Michael Platings, implemented check against max number of supported samples to ensure that the number of samples is safely capped to what the hardware is capable of, avoiding GL errors and graceful fallback Robert Osfield 2008-06-18 20:24:12 +00:00
  • 45fcb25765 From Liang Aibin: Robert Osfield 2008-06-18 20:17:13 +00:00
  • 0a0034aebb Updated wrappers Robert Osfield 2008-06-18 16:46:38 +00:00
  • 1e5783ece7 Added a wrapString(const char*) which automatically handles null strings. Robert Osfield 2008-06-18 16:45:21 +00:00
  • 959c01557c Convert string handling to use strdup and free rather then awkward new char[] code paths Robert Osfield 2008-06-18 16:28:52 +00:00
  • 7ae28bea0d Added --fbo-samples value and --color-samples value command line paramters for enabling fbo multisampling Robert Osfield 2008-06-18 14:21:22 +00:00
  • 90ea0bd95f From Michael Platings and Paul Palumbo, multi-sample FBO support Robert Osfield 2008-06-18 14:09:11 +00:00
  • 7bef1bd16a From Jean-Sebastien Guay, "When copying a node that had uniforms on it, the copy constructor of osg::Uniform would not copy the array of the original uniform (either _intArray or _floatArray) because none had been allocated and the copy constructor checks that *both* this's array and rhs's array are valid. Robert Osfield 2008-06-18 12:01:52 +00:00
  • df87106d4b From Bob Kuehne, "added multi-texture support (alpha/trans images)" Robert Osfield 2008-06-18 11:56:50 +00:00
  • b82e24b08d Updated wrappers Robert Osfield 2008-06-18 11:51:22 +00:00
  • dd137c2442 From Bob Kuehne, "this submission extends the osgViewer::RecordCameraPathHandler to have an optionally-enabled auto-incrementing filename. default behavior is still the same, but there's one new method to enable autoincrementing filenames." Robert Osfield 2008-06-18 11:13:51 +00:00
  • bc79df7cd8 From Gino van den Bergen, "Added support for vrml primitive caching" Robert Osfield 2008-06-18 10:51:02 +00:00
  • 7dc3ad4b5e From David Callu, "fixed bounding box bug" Robert Osfield 2008-06-18 10:46:05 +00:00
  • d7e9e5e495 From Mathias Froehlich, OpenThreads::Atomic support Robert Osfield 2008-06-17 17:43:59 +00:00
  • 7cfe00d3d9 Added overriding of CullSettings::inheritCullSettings() into osg::Camera to properly inherit the clear colour. Robert Osfield 2008-06-16 20:22:16 +00:00
  • 4e7dd7f0db Changed class to struct Robert Osfield 2008-06-16 16:06:01 +00:00
  • f10cb3c388 Added mutex to serialize access to the trpager Robert Osfield 2008-06-16 13:20:51 +00:00
  • 68e750626a Checking in missing header changes Robert Osfield 2008-06-16 09:32:22 +00:00
  • b7a548923c Refactored the management of the request queues so that the appropraite mutex is locked when DatabaseRequest objects are modified Robert Osfield 2008-06-12 16:33:24 +00:00
  • fac838f791 Updated wrappers, authors and readme for 2.5.2 dev release Robert Osfield 2008-06-06 19:57:56 +00:00
  • 5c98e1609d Updated ChangeLog Robert Osfield 2008-06-06 19:41:28 +00:00
  • 3585375d59 Updated versions for 2.5.2 dev release Robert Osfield 2008-06-06 17:45:33 +00:00
  • 20e6ec7b23 From Jean-Sebastien Guay, "The new osgscreencapture example was being installed to bin instead of to share/OpenSceneGraph/bin, this is because the CMakeLists.txt used SETUP_APPLICATION instead of SETUP_EXAMPLE. Corrected CMakeLists.txt attached. " Robert Osfield 2008-06-06 16:45:07 +00:00
  • 239f4e5c42 From Stephane Lamoliatte, "fix to reading of DatabasePath property" Robert Osfield 2008-06-06 16:41:24 +00:00
  • 1ee9b09e06 From Glenn Waldron, "I'm using an IntersectionVisitor with a PagedLOD database, employing a ReadCallback to allow the intersector to traverse the paged nodes. I discovered that if the visitor is unable (for any reason) to load a subtile via the ReadCallback, the intersection fails. However, I had the requirement to "fall back" on the lower-resolution parent tile and settle for that intersection. Robert Osfield 2008-06-06 16:28:27 +00:00
  • 01c284429b From Paul Melis, "Here's an updated include/osgText/Text3D that forces recomputation of the glyph repr when the character depth is updated, also when the rendering mode is set. This caused a Text3D object read from a .osg file to not have the correct depth." Robert Osfield 2008-06-06 16:25:14 +00:00
  • c2a4825afa From Mathieu Marache, "I have made the logo plugin work again (a simple copy and paste problem) and added the path of the logo file (if not empty) to the data file path in order to be able to find images relatively." Robert Osfield 2008-06-06 14:59:17 +00:00
  • b6a0f3d8d0 Cleaned up implementation to only use simple structure Robert Osfield 2008-06-06 14:10:20 +00:00
  • 6fb62b9604 Renamed _rendergraph to _stateGraph to better reflect its function Robert Osfield 2008-06-06 13:21:57 +00:00
  • ed45e32355 Introduce a lower overhead data structure for leaves. Robert Osfield 2008-06-06 13:21:27 +00:00
  • aa73e1d1d4 Added update traversal to run prior to doing kdtree build to make sure that costs in build osgTerrain databases isn't incurred during the build traversal. Robert Osfield 2008-06-06 10:51:23 +00:00
  • 238d482230 Quitened down the release context message Robert Osfield 2008-06-06 09:08:16 +00:00
  • cf97035a45 Added OSGDB_EXPORT Robert Osfield 2008-06-06 08:42:37 +00:00
  • ac068178aa Added timing code Robert Osfield 2008-06-05 18:52:29 +00:00
  • a9b1ea660d Basic implementation of kdtree generation based on vertices Robert Osfield 2008-06-05 17:28:06 +00:00
  • abfb5bbb8d Added accep(Shape&) Robert Osfield 2008-06-05 13:46:19 +00:00
  • 9212d4dd95 Further work on fleshing out basic classes Robert Osfield 2008-06-04 17:59:39 +00:00
  • c57b288e54 Updated wrappers Robert Osfield 2008-06-04 16:53:17 +00:00
  • 282fa84789 Added support for optionally calling releaseContext at the end of each renderinTraversals() to help with cases where uses are driving multiple contexts from mulitple viewers in a single threaded frame loop. Robert Osfield 2008-06-04 16:46:14 +00:00
  • 338be0b926 Fleshed out some basic kd-tree data structures. Robert Osfield 2008-06-03 17:29:27 +00:00
  • 8d0c7890ce First cut of osgkdtree example, this will be used as a base of the development of native kdtree support to help speed up intersection testing. Robert Osfield 2008-06-03 16:13:49 +00:00
  • a32d336c90 Added missing updateBlock() Robert Osfield 2008-06-03 15:49:59 +00:00
  • 71187a2c56 From Mario Valle, fixed warnings Robert Osfield 2008-06-03 13:07:40 +00:00
  • 6873d4237c Ran merge to get rid of tabs Robert Osfield 2008-06-03 13:06:54 +00:00
  • ef601e6add From Marco Lehmann and Robert Osfield, this fix was implemented by Robert but is based on suggested fix from Marco for fixing a crash due to lack of thread safety in std::ofstream("/dev/null"); The fix is to use a custom stream buffer that just discards all data. The implementation is also twice as fast as the old /dev/null based approach. Robert Osfield 2008-06-03 11:31:42 +00:00
  • 5711964481 Added unit test to smoke out a thread issue with using ofstream("/dev/null") inside osg::notify() Robert Osfield 2008-06-03 11:28:16 +00:00
  • e09e07d45b Added support for assigning GraphicsContext to individual GUIEventAdapter events, and use of this within osgViewer::View to better track the sources of events. Robert Osfield 2008-06-02 17:34:47 +00:00
  • 213a2d8d13 Changed FIND_PACKAGE(PkgConfig) to INCLUDE(FindPkgConfig OPTIONAL) as per suggestion from Philip Lowman. Robert Osfield 2008-05-31 08:47:15 +00:00
  • 840eab0109 Updated authors and version file for 2.5.1 dev release Robert Osfield 2008-05-30 21:23:49 +00:00
  • af974b2590 Updated ChangeLog Robert Osfield 2008-05-30 21:12:44 +00:00
  • 03d12b4b94 Added version check on FIND_PACKAGE(PkgConfig) to attempt to fix build with older versions of CMake Robert Osfield 2008-05-30 21:08:28 +00:00
  • 65772e451c Added applyMaskAction(CLEAR_COLOR) to Camera::setClearColor() to enable proper inheritance Robert Osfield 2008-05-30 20:15:31 +00:00
  • c714e46ff6 Updated ChangeLog Robert Osfield 2008-05-30 17:03:32 +00:00
  • 5c30b98785 From Jean-Sebastien Guay, "This is a fix for the warning we've been discussing on osg-users. CMake 2.6.0 allows quotes to be unescaped in strings in ADD_DEFINITIONS statements, where we had to escape them before (CMake 2.4.x). Setting CMake policy CMP0005 to OLD removes the warning for 2.6.0, and the quotes are still escaped, so it still works with 2.4.x. " Robert Osfield 2008-05-30 16:53:45 +00:00
  • 0a6b4d5709 From Luc Frauciel, Added support for osgTerrain::ValidDataOperator. Robert Osfield 2008-05-30 12:59:49 +00:00
  • 9cd56609db Updated packgage number for 2.5.1 developer release Robert Osfield 2008-05-30 11:44:06 +00:00
  • 0cc38108a5 Fixed cirular reference in DatabaseRequest Robert Osfield 2008-05-30 11:43:04 +00:00
  • f07d106366 Moved enum to public scope and rebuilt wrappers to fix wrapper build error Robert Osfield 2008-05-29 13:54:59 +00:00
  • 7a2c403992 Added code to catch erroneous Dof axis settings Robert Osfield 2008-05-29 11:45:31 +00:00
  • e1eeabcea0 Improved the NaN depth detection within CullVisitor and debug output. Robert Osfield 2008-05-29 11:13:29 +00:00
  • 2a11d25bbc Improved the NaN error detection and reporting. Robert Osfield 2008-05-29 11:09:56 +00:00
  • 4745ab040b Added catch for NaN depth values Robert Osfield 2008-05-28 17:56:22 +00:00
  • 7c23951ee1 From Wojiech Lewandowski, Workaround for wglMakeCurrent bug in NVidia drivers by calling wglMakeCurrent twice. Robert Osfield 2008-05-28 16:14:08 +00:00
  • 3ca777f31e Updated wrappers Robert Osfield 2008-05-28 14:37:50 +00:00
  • 1047f970bb From Adrian Egli, improvements to ParallelSplitShadowMap implementation Robert Osfield 2008-05-28 14:11:22 +00:00
  • 8e91926ca5 From Thibault Genessay, "The PNG plugin crashes when you try to read a malformed file (attached is an example). This can happen in circumstances that are not manageable by the OSG itself (e.g. 3rd party buggy program) but one would expect the plugin to be able to recover by returning ReadResult::ERROR_IN_READING_FILE. Robert Osfield 2008-05-28 13:51:56 +00:00
  • 7e0184f080 From Thibault Genessay, "On Windows, when setting a cursor through osgViewer::GraphicsWindow::setCursor() the new cursor type is recorded but not applied until windows sends another WM_SETCURSOR message. This delays the application of the cursor to the next mouse event. Robert Osfield 2008-05-28 13:45:40 +00:00
  • 8573194aa0 From Michael Platings, "Yes it's definitely a driver problem - I submitted a bug report to nvidia 6 months ago and the issue is still "in progress". I've given up waiting for them! Robert Osfield 2008-05-28 13:01:44 +00:00
  • 712b6cb2d9 From Mathieu Marache, Robert Osfield 2008-05-28 12:49:47 +00:00