1e3183a355Quietened down debug info
Robert Osfield
2008-06-21 17:56:38 +00:00
af271f99ecAdded support for X11's overrideRedirect functionality
Robert Osfield
2008-06-21 17:50:58 +00:00
113a77b219Converted tabs to four spaces
Robert Osfield
2008-06-21 11:34:01 +00:00
415d45525cChanged 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
e56ff4d5c6Updated ChangeLog
Robert Osfield
2008-06-20 19:51:21 +00:00
ff811736fcFrom Terry Welsh, added missing MixinVector header
Robert Osfield
2008-06-20 17:32:27 +00:00
779a7c46acAdded 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
a71939c5bbFrom 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
7b19b987ecUpdated ChangeLog
Robert Osfield
2008-06-20 15:49:15 +00:00
8aa7c330f8Changed 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
be185cb3afFrom 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
ce13510b47From 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
bc6e5b5da2Updated version numbers for dev releases
Robert Osfield
2008-06-20 11:11:47 +00:00
0e7920f144From Mathias Froehlich, "Fixes a compile of src/osgSim/ShapeAttribute.cpp on suse 10.2."
Robert Osfield
2008-06-20 10:46:33 +00:00
3672ba51e7From Melchior Franz, fixed typo on variable name
Robert Osfield
2008-06-20 09:46:45 +00:00
5db501941dFrom 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
96a80666c9Updated wrappers
Robert Osfield
2008-06-19 20:42:10 +00:00
2011028ee7From Neil Groves,
Robert Osfield
2008-06-19 20:38:38 +00:00
d6469b87c1From 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
936edacc92From Mathias Froehlich, added support for using OpenThreads::Atomic for thread safe ref/unref.
Robert Osfield
2008-06-19 17:30:38 +00:00
2ba5f002d2from Andrew Bettison, LineStipple support for .ive
Robert Osfield
2008-06-19 14:57:36 +00:00
0faaf93dc2From Adrian Egli, "Improvements to the PSSM implementation"
Robert Osfield
2008-06-19 14:45:54 +00:00
cc9d12f34fFrom 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
dd13893861From 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
c3c727b822From 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
37d81679b7From 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
4c9b3de4a1Updated wrappers to fix OpenThreads::Atomic build issues.
Robert Osfield
2008-06-19 13:28:33 +00:00
a94cfccdceFrom Michael Platings, fixed typo error in renderbin assignment
Robert Osfield
2008-06-19 12:02:20 +00:00
061be3d084In 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
174f9bbfe0From 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
0abf539b60Updated wrappers
Robert Osfield
2008-06-18 20:27:06 +00:00
f06d50a7ebFrom 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
45fcb25765From Liang Aibin:
Robert Osfield
2008-06-18 20:17:13 +00:00
0a0034aebbUpdated wrappers
Robert Osfield
2008-06-18 16:46:38 +00:00
1e5783ece7Added a wrapString(const char*) which automatically handles null strings.
Robert Osfield
2008-06-18 16:45:21 +00:00
959c01557cConvert string handling to use strdup and free rather then awkward new char[] code paths
Robert Osfield
2008-06-18 16:28:52 +00:00
7ae28bea0dAdded --fbo-samples value and --color-samples value command line paramters for enabling fbo multisampling
Robert Osfield
2008-06-18 14:21:22 +00:00
90ea0bd95fFrom Michael Platings and Paul Palumbo, multi-sample FBO support
Robert Osfield
2008-06-18 14:09:11 +00:00
7bef1bd16aFrom 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
df87106d4bFrom Bob Kuehne, "added multi-texture support (alpha/trans images)"
Robert Osfield
2008-06-18 11:56:50 +00:00
b82e24b08dUpdated wrappers
Robert Osfield
2008-06-18 11:51:22 +00:00
dd137c2442From 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
bc79df7cd8From Gino van den Bergen, "Added support for vrml primitive caching"
Robert Osfield
2008-06-18 10:51:02 +00:00
7dc3ad4b5eFrom David Callu, "fixed bounding box bug"
Robert Osfield
2008-06-18 10:46:05 +00:00
d7e9e5e495From Mathias Froehlich, OpenThreads::Atomic support
Robert Osfield
2008-06-17 17:43:59 +00:00
7cfe00d3d9Added overriding of CullSettings::inheritCullSettings() into osg::Camera to properly inherit the clear colour.
Robert Osfield
2008-06-16 20:22:16 +00:00
4e7dd7f0dbChanged class to struct
Robert Osfield
2008-06-16 16:06:01 +00:00
f10cb3c388Added mutex to serialize access to the trpager
Robert Osfield
2008-06-16 13:20:51 +00:00
68e750626aChecking in missing header changes
Robert Osfield
2008-06-16 09:32:22 +00:00
b7a548923cRefactored 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
fac838f791Updated wrappers, authors and readme for 2.5.2 dev release
Robert Osfield
2008-06-06 19:57:56 +00:00
5c98e1609dUpdated ChangeLog
Robert Osfield
2008-06-06 19:41:28 +00:00
3585375d59Updated versions for 2.5.2 dev release
Robert Osfield
2008-06-06 17:45:33 +00:00
20e6ec7b23From 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
239f4e5c42From Stephane Lamoliatte, "fix to reading of DatabasePath property"
Robert Osfield
2008-06-06 16:41:24 +00:00
1ee9b09e06From 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
01c284429bFrom 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
c2a4825afaFrom 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
b6a0f3d8d0Cleaned up implementation to only use simple structure
Robert Osfield
2008-06-06 14:10:20 +00:00
6fb62b9604Renamed _rendergraph to _stateGraph to better reflect its function
Robert Osfield
2008-06-06 13:21:57 +00:00
ed45e32355Introduce a lower overhead data structure for leaves.
Robert Osfield
2008-06-06 13:21:27 +00:00
aa73e1d1d4Added 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
238d482230Quitened down the release context message
Robert Osfield
2008-06-06 09:08:16 +00:00
cf97035a45Added OSGDB_EXPORT
Robert Osfield
2008-06-06 08:42:37 +00:00
ac068178aaAdded timing code
Robert Osfield
2008-06-05 18:52:29 +00:00
a9b1ea660dBasic implementation of kdtree generation based on vertices
Robert Osfield
2008-06-05 17:28:06 +00:00
abfb5bbb8dAdded accep(Shape&)
Robert Osfield
2008-06-05 13:46:19 +00:00
9212d4dd95Further work on fleshing out basic classes
Robert Osfield
2008-06-04 17:59:39 +00:00
c57b288e54Updated wrappers
Robert Osfield
2008-06-04 16:53:17 +00:00
282fa84789Added 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
338be0b926Fleshed out some basic kd-tree data structures.
Robert Osfield
2008-06-03 17:29:27 +00:00
8d0c7890ceFirst 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
a32d336c90Added missing updateBlock()
Robert Osfield
2008-06-03 15:49:59 +00:00
71187a2c56From Mario Valle, fixed warnings
Robert Osfield
2008-06-03 13:07:40 +00:00
6873d4237cRan merge to get rid of tabs
Robert Osfield
2008-06-03 13:06:54 +00:00
ef601e6addFrom 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
5711964481Added 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
e09e07d45bAdded 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
213a2d8d13Changed FIND_PACKAGE(PkgConfig) to INCLUDE(FindPkgConfig OPTIONAL) as per suggestion from Philip Lowman.
Robert Osfield
2008-05-31 08:47:15 +00:00
840eab0109Updated authors and version file for 2.5.1 dev release
Robert Osfield
2008-05-30 21:23:49 +00:00
af974b2590Updated ChangeLog
Robert Osfield
2008-05-30 21:12:44 +00:00
03d12b4b94Added 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
65772e451cAdded applyMaskAction(CLEAR_COLOR) to Camera::setClearColor() to enable proper inheritance
Robert Osfield
2008-05-30 20:15:31 +00:00
c714e46ff6Updated ChangeLog
Robert Osfield
2008-05-30 17:03:32 +00:00
5c30b98785From 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
0a6b4d5709From Luc Frauciel, Added support for osgTerrain::ValidDataOperator.
Robert Osfield
2008-05-30 12:59:49 +00:00
9cd56609dbUpdated packgage number for 2.5.1 developer release
Robert Osfield
2008-05-30 11:44:06 +00:00
0cc38108a5Fixed cirular reference in DatabaseRequest
Robert Osfield
2008-05-30 11:43:04 +00:00
f07d106366Moved enum to public scope and rebuilt wrappers to fix wrapper build error
Robert Osfield
2008-05-29 13:54:59 +00:00
7a2c403992Added code to catch erroneous Dof axis settings
Robert Osfield
2008-05-29 11:45:31 +00:00
e1eeabcea0Improved the NaN depth detection within CullVisitor and debug output.
Robert Osfield
2008-05-29 11:13:29 +00:00
2a11d25bbcImproved the NaN error detection and reporting.
Robert Osfield
2008-05-29 11:09:56 +00:00
4745ab040bAdded catch for NaN depth values
Robert Osfield
2008-05-28 17:56:22 +00:00
7c23951ee1From Wojiech Lewandowski, Workaround for wglMakeCurrent bug in NVidia drivers by calling wglMakeCurrent twice.
Robert Osfield
2008-05-28 16:14:08 +00:00
3ca777f31eUpdated wrappers
Robert Osfield
2008-05-28 14:37:50 +00:00
1047f970bbFrom Adrian Egli, improvements to ParallelSplitShadowMap implementation
Robert Osfield
2008-05-28 14:11:22 +00:00
8e91926ca5From 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
7e0184f080From 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
8573194aa0From 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
712b6cb2d9From Mathieu Marache,
Robert Osfield
2008-05-28 12:49:47 +00:00