OpenSceneGraph/include/osgDB
Robert Osfield 3171be0ff7 From Gustav Haapalahti and Robert Osfield,
First Submission email from Gustav:
"This submission adds a --cache option to osgconv and osgviewer that enables setObjectCacheHint(osgDB::Options::CACHE_ALL); It greatly reduces memory usage when a .osg file has lots of external references with ProxyNode:s that points to the same file.

Options are also added to the osg plugin. The code was already mostly implemented but there was no way to change the options.
includeExternalReferences
writeExternalReferenceFiles
A counter is added to keep track if an external file has already been written down to avoid writing the same file over and over again. If it has already been written once then it is not written again.
The counter is added to the Output class in osgDB.
"

Second Submission email from Gustav:
"This is a continuation to my previous submission.
I noticed that the same problem that I fixed in ProxyNode.cpp for the osg plugin (external files being written over and over again) also existed in the ive plugin. I attached a submission where the ive plugin remembers which external files that have already been written and do not write them again."


Changes to the above done by Robert Osfield,

    changed command line parameter to --enable-object-cache
    changed set/get methods in osgDB::Output and ive/DataOutputStream.cpp to be s/getExternalFileWritten(const std::string&)
    cleaned up set up of osgDB::Options.
2009-06-08 16:50:50 +00:00
..
Archive Refactored the Registry::ReadFileCallback, WriteFileCallback and ReaderWriter::Options to they are now defined in their own header and in the osgDB namespace. 2009-05-09 08:49:27 +00:00
AuthenticationMap Moved AuthenticalMap/AuthenticationDetails out in their own files 2008-07-17 12:13:04 +00:00
Callbacks Moved ReadFile/WriteFile/FindFile/FileLocationCallbacks from include/osg/Options into their own Callbacks header/source file. 2009-05-11 16:38:40 +00:00
ConvertUTF Where possible moved redundent C header includes from headers to source files 2008-12-12 18:47:30 +00:00
DatabasePager Moved Registry::ReadFileCallback + WriteFileCallback, and osgDB::ReaderWriter::Options into their own separate Options file and into the osgDB namespace. 2009-05-11 11:39:12 +00:00
DatabaseRevisions Implemented updating of revision files as new data is writing to the FileCache 2009-06-04 14:07:12 +00:00
DotOsgWrapper Where possible moved redundent C header includes from headers to source files 2008-12-12 18:47:30 +00:00
DynamicLibrary Updated copyright years. 2006-07-18 15:21:48 +00:00
Export From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)." 2007-12-10 17:30:18 +00:00
Field Where possible moved redundent C header includes from headers to source files 2008-12-12 18:47:30 +00:00
FieldReader Where possible moved redundent C header includes from headers to source files 2008-12-12 18:47:30 +00:00
FieldReaderIterator Updated copyright years. 2006-07-18 15:21:48 +00:00
FileCache Implemented updating of revision files as new data is writing to the FileCache 2009-06-04 14:07:12 +00:00
FileNameUtils From Stephan Huber, 2009-03-10 12:21:13 +00:00
FileUtils Refactored the Registry::ReadFileCallback, WriteFileCallback and ReaderWriter::Options to they are now defined in their own header and in the osgDB namespace. 2009-05-09 08:49:27 +00:00
fstream Merged in various changes from the OSG-2.8 to being svn/trunk up to date. 2009-02-19 14:24:10 +00:00
ImageOptions Refactored the Registry::ReadFileCallback, WriteFileCallback and ReaderWriter::Options to they are now defined in their own header and in the osgDB namespace. 2009-05-09 08:49:27 +00:00
ImagePager Refactored the Registry::ReadFileCallback, WriteFileCallback and ReaderWriter::Options to they are now defined in their own header and in the osgDB namespace. 2009-05-09 08:49:27 +00:00
Input Refactored the Registry::ReadFileCallback, WriteFileCallback and ReaderWriter::Options to they are now defined in their own header and in the osgDB namespace. 2009-05-09 08:49:27 +00:00
Options Minor tweaks to avoid warnings when generating wrappers/doxygen documentation 2009-05-18 10:28:14 +00:00
Output From Gustav Haapalahti and Robert Osfield, 2009-06-08 16:50:50 +00:00
ParameterOutput Fixed warnings 2009-01-07 10:32:59 +00:00
PluginQuery From Ralf Habacker, "The appended patch fixes this issue by adding a virtual method named supportedFeatures() to the class ReaderWriter, which could be overriden by a specific plugin to adjust the set of features. 2009-03-10 15:00:39 +00:00
ReaderWriter Added ReaderWriter::fileExists() method to help enable querrying of existing of files on servers using the curl plugin 2009-05-13 19:46:16 +00:00
ReadFile Refactored the Registry::ReadFileCallback, WriteFileCallback and ReaderWriter::Options to they are now defined in their own header and in the osgDB namespace. 2009-05-09 08:49:27 +00:00
Registry Minor tweaks to avoid warnings when generating wrappers/doxygen documentation 2009-05-18 10:28:14 +00:00
Serializer Moved Serializer header from VPB into osgDB. 2008-09-18 15:50:22 +00:00
SharedStateManager Introduce NodeVisitor::className and libraryName() 2008-12-17 12:13:15 +00:00
Version From David Callu, improved consistency of Version strings and add version support 2007-09-05 17:12:24 +00:00
WriteFile Refactored the Registry::ReadFileCallback, WriteFileCallback and ReaderWriter::Options to they are now defined in their own header and in the osgDB namespace. 2009-05-09 08:49:27 +00:00
XmlParser Fixed handling of space after = in options set up. 2009-05-13 15:05:23 +00:00