Robert Osfield
fa499dc55f
From Andy Skinner, fixes for Solaris build
2009-01-09 12:17:40 +00:00
Robert Osfield
315aeeb557
Where possible moved redundent C header includes from headers to source files
2008-12-12 18:47:30 +00:00
Robert Osfield
720551d549
From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and
...
fopen to osgDB::fopen to facilitate support for wide character filenames using UT8 encoding.
2008-11-07 15:08:08 +00:00
Robert Osfield
02b456bcfa
Converted plugins to use the new supportsExtension()/supportsOptions/supportsProtocl() methods
...
to help enable better querying of supported features
2008-07-13 22:18:59 +00:00
Robert Osfield
61e3285ffc
From Paul Martz, "Attached are some minor plugin fixes. PNM, RGB, and JPEG would all crash if attempting to read an empty file, and FLT would go into an infinite loop. All are fixed with this change.
...
I also fixed some return values for a couple of these, changing FILE_NOT_HANDLED to ERROR_IN_READING_FILE where appropriate."
2008-05-09 11:27:03 +00:00
Robert Osfield
9e2fe92ef1
From Rudolf Wiedemann, "I need to link OpenSceneGraph statically to my application, so I
...
completed the new registration of the plugin-readerwriters
("REGISTER_OSGPLUGIN") according to your osgstaticviewer-example (see
attachment, based on today's svn)."
2007-07-06 13:54:26 +00:00
Robert Osfield
80d260c472
From Colin McDonald, "The writeImage method in ReaderWriterPNM.cpp had an error checking the
...
accepted file extensions, so that once the plugin was loaded in the
Registry it would grab any image file write request, regardless of the
file extension. This was a particular problem if it was statically loaded."
2007-05-24 16:11:42 +00:00
Robert Osfield
7f6b5008e2
Added write ppn support, use -O ascii to select ascii ppn output, otherwise binary
...
is chosen.
Fixed crash when erroneous pnm files were read.
Added -O flip option.
2006-08-10 11:08:20 +00:00
Robert Osfield
049d2055a5
Moved the template function into the global namespace.
2005-01-27 20:26:51 +00:00
Robert Osfield
bcbd5c7786
From Kevin Moiule, rewrote PNM plugin to handle grayscale PNM images.
2005-01-21 19:33:56 +00:00
Robert Osfield
48ef6136f2
From Kevin Moule, fix to memory overwrite error.
2005-01-07 20:24:36 +00:00
Robert Osfield
d9b9a6f1f8
Made read/write methods in ReaderWriter all const to facilate multi-threading
2004-11-23 15:29:52 +00:00
Robert Osfield
ce07879e2e
Moved plugins across to using ReaderWriter::Options* for search paths in addition
...
to standard osgDB::DataFilePaths
2004-11-22 23:54:45 +00:00
Robert Osfield
1f5b044c71
Made ReaderWriter::className const
2004-10-26 10:26:43 +00:00
Robert Osfield
83bf813e58
Moved the responsibility for finding file to load on to the ReaderWriter plugins,
...
instead of osgDB::Registry where it original lay. This has been done to allow
fileName strings to be encode data rather than just file names, such as one
requires when using PagedLOD along with plugins for doing dynamic tesselation.
2003-12-08 11:24:43 +00:00
Robert Osfield
86254927b9
From Eric Sokolowsky - pnm (ppm, pgm, pbm) plugin
2003-04-30 15:40:57 +00:00