Robert Osfield
db6f07f1d6
Ran dos2unx of CMakeLists.txt files
2007-03-08 15:31:36 +00:00
Robert Osfield
f50ed9667a
From Eric Wing and others, first cut of CMake build support
2007-03-04 13:05:33 +00:00
Robert Osfield
42689e83ef
Removed ReentrantMutex
2007-02-26 11:23:55 +00:00
Robert Osfield
f43cd7332c
Further work on add serialization support for osgViewer configurations
2007-02-25 20:05:23 +00:00
Robert Osfield
ad3cac84e9
Moved Block, ReentrantMutex and ReadWriteMutex into OpenThreads.
2007-02-23 16:31:34 +00:00
Robert Osfield
dbb7c3c74c
Added support for using the new osgShadow plugin as a psuedo loader such that:
...
osgviewer cow.osg.shadow
Or to ShadowVolume rechnique specifically:
osgviewer cow.osg.sv.shadow
2007-02-15 22:28:32 +00:00
Robert Osfield
2f1bad5b2b
From Brian Keener, fixes for Cygwin filename handling
2007-02-08 22:31:02 +00:00
Robert Osfield
4914d3974a
From Paul Martz, "Here's my changes to Registry to allow extension alias mapping via a config file. I also attached a sample file that tests the parsing, but this is just FYI and not for inclusion in CVS.
...
To set up extension aliases using a config file, an app calls:
osgDB::Registry::instance()->readPluginAliasConfigurationFile(), passing in the file name as the parameter. (Of course this should be done before loading any files whose names depend on the mapping.) osgDB will search for the file using OSG_FILE_PATH.
The file should contain a line for each mapping, with the "map" extension first, followed by a space or tab, then the plugin identifier. For example, a file containing this line:
flt OpenFlight
would map the ".flt" extension to the OpenFlight plugin."
2007-02-05 10:44:10 +00:00
Robert Osfield
fdc5ebc900
Build fix for Win32
2007-01-18 09:03:08 +00:00
Robert Osfield
3ebc5efe05
From Joakim Simonsson, added osgDB::concateFile and osgDB::getRealPath.
...
Tweaks by Robert Osfield - Moved methods to FileNameUtils, added unix
implementation of getRealPath add extern and OSGDB_EXPORT to function declarations.
2007-01-17 15:59:29 +00:00
Robert Osfield
7626169283
From Jan Ciger, Tolga Abaci, Bruno Herbelin : OpenVRML 0.14.3 based .wrl/VRML plugin
2007-01-09 14:35:59 +00:00
Robert Osfield
9a31b7652e
Added mutex to lock of ReentrantMutex
2007-01-04 20:50:35 +00:00
Robert Osfield
4f87afdbf5
Improved the robustness of thread start and cancellation
2007-01-03 16:06:12 +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
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
d0cc014f1b
Further migration to using RenderInfo
2006-11-14 12:51:31 +00:00
Robert Osfield
530e9e08d4
Added better handling of writeNode operations that arn't successful.
2006-11-07 17:00:56 +00:00
Robert Osfield
fa76f7e973
Added a _threadHoldingMutex = 0; to ReentrantMutex::unlock() to avoid a potential
...
bug with the mutex being aquired by two threads.
2006-09-15 10:21:24 +00:00
Robert Osfield
87a221445e
Updated version numbers of the up comming 1.2 release
2006-08-31 20:54:28 +00:00
Robert Osfield
71c79506e9
From Eric Wing, compile fix for OSX
2006-08-21 21:09:40 +00:00
Robert Osfield
132f9ead45
Updated version number for 1.1.1 release
2006-08-12 08:29:16 +00:00
Robert Osfield
7e0a183032
Added fix to code catching error results ReadResult's to first instance of checking the
...
value of ReadResult.
2006-08-05 20:39:47 +00:00
Robert Osfield
6c419af79c
From Jeremy Moles, refactored by Robert Osfield.
...
Fixed bug osgDB::Registry::Registry::read(const ReadFunctor& readFunctor) relating to
the handling of failed loads with the ReadResult::_message value being lost, this changes
ensure that the original ReadResult from the plugin, with message intact, is returned correctly.
2006-08-05 20:36:49 +00:00
Robert Osfield
43e65c11b1
Added if search for the current databaseRequest in the _fileRequestList to handle
...
cases when the request is moved back in the list, or when the _fileRequestList is cleared
by an asyncronous call to DatabasePager::clear().
2006-08-03 19:14:52 +00:00
Robert Osfield
f1c2694c17
Updated copyright years.
2006-07-18 15:21:48 +00:00
Robert Osfield
88609a5eee
Updated version numbers for 1.1 release
2006-07-06 10:28:12 +00:00
Robert Osfield
7511fce540
Fix to Registry::read(ReadFunctor) to better handle reporting of errors
2006-07-04 12:57:59 +00:00
Robert Osfield
c3548195f7
Made the new OpenFlight plugin the default.
2006-06-28 10:22:04 +00:00
Robert Osfield
16d844090f
From Joan Abadie: patch fixes : "osgDB::makeDirectory doesn't work on win32 when using full path name like : "d:/demo"
...
it tryes a mkdir("d:")."
2006-06-08 11:22:45 +00:00
Robert Osfield
3246dde716
From Brede Johansen, new OpenFlight plugin!!!!!
...
By default the original flt plugin is still used, to select at runtime
the new plugin set the env OSG_OPEN_FLIGHT_PLUGIN=new
2006-03-08 21:38:37 +00:00
Robert Osfield
7604146d3f
From Farshid Lashkari, "A while back the behaviour of extension alias' was modified so that
...
the user can override existing alias'. The change allowed for circular
references, so the createLibraryNameForExtension would get caught in
an endless loop. The following fix will catch circular references."
2006-03-08 15:30:07 +00:00
Robert Osfield
1c83e3ecfb
From Ed Ralston, "According to the OSX Developer Documentation, CFRelease
...
cannot be called with a NULL argument.
This patch prevents osgDB::FileUtils from doing this."
2006-02-20 16:20:50 +00:00
Robert Osfield
4bc13ec71b
From David Guthrie, OSX marco reworking to better handling different OSX versions.
2006-02-05 21:53:37 +00:00
Robert Osfield
f09259f4f9
Improved the env var reporting to avoid the overlong lines.
2006-01-23 20:38:28 +00:00
Robert Osfield
4167bc3673
Standardised compile code to use _maximumNumOfObjectsToCompilePerFrame.
2006-01-02 12:03:18 +00:00
Robert Osfield
c465036a7c
Removed "if (mapExt!=toExt)" from alias map assignement to allow aliases to
...
be overriden for all cases.
2005-12-20 09:29:26 +00:00
Robert Osfield
197b68ecb8
Removed the closeLibraries call from the registry singleton desctuction.
2005-12-05 10:23:37 +00:00
Robert Osfield
f77b38ae9c
Added DatabasePager::s/getDrawablePolicy() to allow the way that the display list/VBO settings
...
are applied to loaded databases.
2005-11-22 13:14:00 +00:00
Robert Osfield
0e16b64665
Coverted tabs to space in core libraries.
2005-11-17 13:35:53 +00:00
Robert Osfield
4e580f46cf
From Gideon May, "I've added an alias for the new mpeg 4 format used by quicktime and
...
podcasts."
2005-11-15 21:24:35 +00:00
Robert Osfield
258425d649
Bumped the version numbers up to 1.0 in preparation for 1.0-rc1.
2005-11-09 10:49:56 +00:00
Robert Osfield
6ed9cb40cc
From Colin McDonald, fixed image size calculation in getTotalSizeInBytesIncludingMipmaps(),
...
added checks on success of opening files for writing in the .ive plugin.
2005-11-08 13:51:28 +00:00
Robert Osfield
4ea3956fda
From Norman Vine, "Cygwin uses unix style path separators"
2005-11-07 11:09:59 +00:00
Robert Osfield
0956f3cdb4
From Marco Jez, Fix for the class name lookup in osgDB::Registry::writeObject(), which can silently fail when a NodeKit's class (for example osgNVCg::Program) has the same name as that of an OSG's class (for example osg::Program).
2005-10-28 18:39:14 +00:00
Robert Osfield
032b7484d4
From Markus Trenkwalder, added meanigful return types in
...
Registry::read(const ReadFunctor& readFunctor) for ERROR_IN_READING_FILE and
FILE_NOT_FOUND cases.
2005-10-25 09:54:15 +00:00
Robert Osfield
fe1536ebd6
Fixed compile warnings.
2005-10-24 13:46:31 +00:00
Robert Osfield
d1108ea862
Added support for "-O OutputTextureFiles" options string in .osg plugin to
...
allow texture files to be written out when writing out a .osg file.
2005-09-19 14:07:44 +00:00
Robert Osfield
3810d3b850
From Norman Vine, fixed small typo.
2005-08-30 09:33:42 +00:00
Robert Osfield
d154c2a4cd
From Eric Sokolowsky, warning fixes for g++ 4.0 under Fedora Core 4.
2005-08-25 17:53:01 +00:00
Robert Osfield
51faa7e43a
Various updates to support the new GraphicsThread class.
2005-08-18 20:17:51 +00:00