Robert Osfield
6ec4c64914
Updated wrappers
2008-10-06 17:15:16 +00:00
Robert Osfield
400e6eb09a
Updated to reflect changes in NodeVistor::ImageRequestHandler.
2008-10-06 17:02:56 +00:00
Robert Osfield
8147bd4df8
Refactored ImageSequence to provided a cleaner and more robust implementation
2008-10-06 17:02:20 +00:00
Robert Osfield
7e43decf4c
From Wojciech Lewandowski, build fixes for handling Matrix::value_type == float
2008-10-06 14:18:27 +00:00
Robert Osfield
9cce90e920
From Glenn Waldron, "osgTerrain::Locator::setTransformAsExtents() does not update the _inverse member. Fix attached.
...
"
2008-10-06 09:39:43 +00:00
Robert Osfield
45085f3eea
Converted tabs to four spaces
2008-10-06 08:58:50 +00:00
Robert Osfield
87e8f06522
Ran dos2unix on new shadow implemenations
2008-10-06 08:53:25 +00:00
Robert Osfield
5fe30854dd
From Jason Beverage, "Attached is a fix for getTile in the Terrain class. It should be checking for itr == _terrainTileMap.end() instead of itr != _terrainTileMap.end()."
2008-10-06 08:48:44 +00:00
Robert Osfield
7c6dbe0ed8
Moved the OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION definition into the Config.in rather use of -D define
2008-10-03 15:36:34 +00:00
Robert Osfield
3c52c2578f
Updated wrappers
2008-10-03 15:15:33 +00:00
Robert Osfield
56bc3ae194
Compile fix required when using ref_ptr<> implicit output conversion
2008-10-03 13:38:55 +00:00
Robert Osfield
281f55a55c
From Bryan Thrall, fixed typos in exception strings.
2008-10-03 11:04:23 +00:00
Robert Osfield
7a6ec46535
From Paul Martz, "I had to make Yet Another tweak to the workaround for the occlusion query issue on NVIDIA cards. Testing indicates that this produces stable results. I checked this in to the 2.6 branch as revision 8965. Please include this on the trunk"
2008-10-03 11:02:13 +00:00
Robert Osfield
830bb21a32
From Tatsuhiro Nishioka, submissions posted by Stephan Huber, "attached you'll find a modified ReaderWriterQT.cpp-file where I removed the support for rgb(a)-files.
...
Quicktime supports only files with 3/4-channels rgba-files and not 1/2-channels rgb-files.
This submission is from Tatsuhiro Nishioka, here's his original quote:
When FlightGear crashes, the error message
"GraphicsImportGetNaturalBounds failed" shows up. By adding printf
debug, I found the error was -8969: codecBadDataErr when loading a
gray-scaled (2 channels) rgba files even though the file can be loaded
with Gimp and osgViewer properly.
So I made an investigation on this problem and found an interesting
thing. This error occurs only when non-rgb files are loaded before rgb
files. The reason is that rgba files can be handled by both
osgdb_rgb.so and osgdb_qt.so, but the error happens only when
osgdb_qt.so try to load a gray-scaled rgba file.
When a program is about to load an rgba file, osgdb_rgb.so is loaded
and it handles the rgba file properly. In contrast, when a gray-scaled
rgb file is being loaded after a non-rgb file (say png) is already
loaded by osgdb_qt.so, osgdb_qt.so tries to load the file instead of
osgdb_rgb, which causes the error above.
Anyway, the bad thing is that QuickTime cannot handle gray-scaled rgb
files properly. The solution for this is not to let osgdb_qt handle
rgb files since osgdb_rgb can handle these properly.
"
2008-10-03 09:22:40 +00:00
Robert Osfield
4bde492d8c
From Stephan Huber, removed now redundent setEventQueue method
2008-10-03 09:19:53 +00:00
Robert Osfield
fb9181ff17
From Roland Smeenk, A year ago Stephan Maximilian Huber sent in a submission with enhanced statistics. Because I was interested in the scene statistics of his submission I tried to merge his changes with the current CVS head. I made a few changes to the way the statistics are displayed. Attached you will find the new StatsHandler and a screenshot of the statistics in the compositeviewer example.
...
This code will add two extra statistics options:
-Camera scene statistics, stats for the scene after culling (updated at 10 Hz)
-View scene statistics, stats for the complete scene (updated at 5 Hz)
Each camera and each view will expand the statistics to the right.
I also added the requests and objects to compile of the databasepager to the databasepager statistics.""
2008-10-03 09:02:23 +00:00
Robert Osfield
03cec07df8
From Mathias Froehlich, Wr.t AC3D Texture clamping "I had a quick look at the problem.
...
Attached is a change that is able to provide shared textures for the clamp and
the repeat case.
So this appears to be the best fix I guess ...
Also it additionaly shares the TexEnv StateAttribute in a whole ac3d model."
2008-10-03 08:35:59 +00:00
Robert Osfield
3b4184295e
Various improvements to the dicom loader to be able to handle a broader range of dicom files
2008-10-02 15:45:08 +00:00
Robert Osfield
c03b64731b
Improved the dicom plugins handling of different slice positions
2008-09-29 17:00:38 +00:00
Robert Osfield
723ebd3334
Turned off the yaw mode on the FlightManipilator to make it easier to navigate in volumes
2008-09-29 13:22:12 +00:00
Robert Osfield
34044c5989
From Erik den Dekker, "I received a compiler warning in osgDB::registry::readObjectOfType while compiling SVN trunk with MSVC 2008.
...
..\..\..\..\src\osgDB\Registry.cpp(910) : warning C4806: '==' : unsafe operation: no value of type 'bool' promoted to type 'osgDB::Registry::LoadStatus' can equal the given constant
A quick review of the code revealed a piece of code that was clearly wrong, possibly due to a copy-and-paste error.
"
2008-09-29 10:59:54 +00:00
Robert Osfield
0fdb54d8bb
Changed loadLibrary so that it retusn a LoadStatus variable to enable calling
...
codes to differentiate between whether a library is already loaded, or is newly loaded
2008-09-26 13:51:18 +00:00
Robert Osfield
195ad58494
From Lionel Lagarde, "Here is a correction on DatabasePager::FindCompileableGLObjectsVisitor
...
The apply(osg::Drawable *) method doesn't update the _drawableSet and
the isCompiled test was inversed."
2008-09-26 10:59:28 +00:00
Robert Osfield
bce664dcab
From Fabio Mierlo, "n the lines 428 and 430 of obj.cpp file from release 2.6.0, the parser
...
use only the first 7 characters to compare the string "map_opacity "
and to copy the followed parameter, but the string have 12 characters."
2008-09-26 10:43:18 +00:00
Robert Osfield
57150bb86a
Updated wrappers
2008-09-25 15:04:05 +00:00
Robert Osfield
36409f8597
Added .vert and .frag to list of accepted extension in the GLSL plugin
2008-09-25 10:21:44 +00:00
Robert Osfield
306a9dd6db
From Riccardo Corsi, Added 3gp file extension to supported list in quicktime plugin
2008-09-24 16:00:45 +00:00
Robert Osfield
5a87473444
Added 3gp extension alias for quicktime
2008-09-24 15:59:55 +00:00
Robert Osfield
5c264c7c74
Added mutex usage to protect access to plugin and readerwriter containers
2008-09-23 17:29:28 +00:00
Robert Osfield
71af4851c7
Fixed typo
2008-09-22 16:17:28 +00:00
Robert Osfield
976df65bcc
From Ulrich Hertlein, fixes for OSX build
2008-09-22 15:01:25 +00:00
Robert Osfield
8f4335825b
From Ralf Habacker and Robert Osfield, added search for plugins with OS specific file plugin extensions
2008-09-22 14:55:19 +00:00
Robert Osfield
48fe06fec3
Added getExtensionIncludingDot to provide more efficient handling of extensions
2008-09-22 14:46:54 +00:00
Robert Osfield
922b85b386
Changed the macro usage so that the quotes are now added inside the .cpp
2008-09-22 13:16:29 +00:00
Robert Osfield
fa77f50260
Added readNode implementation that creates an osgVolume::Volume for the specified dicom file.
2008-09-22 11:13:50 +00:00
Robert Osfield
3ec2c22ad4
Added Volume wrappers, and updated terrain wrappers
2008-09-21 11:12:31 +00:00
Robert Osfield
00f6622ac8
Create initial class placeholders for main volume rendering classes
2008-09-21 11:05:03 +00:00
Robert Osfield
ae08a5b261
Change TileID::layer to TileID::level
2008-09-20 15:43:38 +00:00
Robert Osfield
c35159fdde
From Chris Denham, changed gluGetErrorString to using osg::State::checkGLErrors() to avoid null pointer dereference
2008-09-20 10:34:47 +00:00
Robert Osfield
4aaf24b5d8
From Mathias Froehlich, added catch for GL_COLOR_MATERIAL mode being set.
2008-09-20 10:09:56 +00:00
Robert Osfield
8552faf774
From John Vida Larring, "If an application initializes osgViewer::GraphicsWindowEmbedded() but never gets around to do any rendering before the application is closed, the result with be a crash (SIGABRT/std::logic_error) in osg::getGLVersionNumber().
...
The fix was to check whether glGetString( GL_VERSION ) returned a null pointer (Ref. svn diff below). The altered src/osg/GLExtensions.cpp is zipped and attached to this email."
2008-09-20 10:05:31 +00:00
Robert Osfield
0b5852948d
Added wrapper support for new osgShadow classes
2008-09-19 19:51:57 +00:00
Robert Osfield
bf15614df6
From Wojciech Lewandowski, a range of new ShadowMap implementations include View Dependent Shadow Maps - LispSM
...
From Robert Osfield, refactored Wojciech's submission to integrated with osgShadow and use coding sytle more consistent with rest of OSG.
2008-09-19 19:51:27 +00:00
Robert Osfield
f388d6a938
From Mathias Froehlich, added support for search in the installed directories for plugins
2008-09-19 12:49:22 +00:00
Robert Osfield
a961b880bb
From Richard Schmidt, fixed the handling of user data so that it uses ref_ptr<> to avoid data getting deleted.
2008-09-19 08:16:41 +00:00
Robert Osfield
44113cfa14
Added Serializer wrappers
2008-09-18 16:03:34 +00:00
Robert Osfield
90d5c9d0c6
Moved Serializer header from VPB into osgDB.
2008-09-18 15:50:22 +00:00
Robert Osfield
7615c7073c
Updated wrappers
2008-09-18 15:44:21 +00:00
Robert Osfield
91f7895735
refactored the getWindows(..) and getContexts(..) methods so that they produce
...
consistent ordering based on the order Camera/slave camera ordering.
2008-09-18 15:18:59 +00:00
Robert Osfield
8bdb22c22e
From Mathias Froehlich, "Attached one namespace/scope lookup problem which shows up on irix."
2008-09-18 15:16:57 +00:00