OpenSceneGraph/src/osgPlugins
Robert Osfield 9643c15346 From David Callu, "Problem:
osgText::Text and osgText::Text3D use the same font file.
     The first really load the file and obtain an osgText::Font object,
     the second use the cache created during the first load of the
     font file, and so obtain an osgText::Font object instead of
     osgText::Font3D object. To obtain an osgText::Font3D object,
     osgText::Text3D call osgDB::readObjectFile(...) with an option
     to specify the plugin we want an osgText::Font3D instead of
     osgText::Font.

Generalised Problem:
    In osgDB::Registry, loaded file cache is referenced by the name
    of this file, so if I load a file with some options, and the cache
    already contain object for this filename, I obtain an object
    potentially not loaded with my options.

Behaviours:
    Cache management is delegate to osgDB::Registry, but cache
    coherence (load a file with option then reuse it, deactivate the
    cache when load a specific file or don't cached the loaded file)
    is user's responsibility.

Text3D solution:
    Postfix the font file name by .text3d or something similar and then have the freetype plugin return
    osgText::Font3D when it detects this.
    This operation is done by osgText::readFont3DFile() which unsure the filename have .text3d as extension.
    This is totaly transparent for user, and backward compatible.


BTW, I fix the bug about the Normal of 3D text. Currently, the front and wall face have
the same normal (0,0,1) in the Text3D object coordinate. Now the wall face have its own
normal array computed by the plugin.

BTW 2, I implement
- void Text3D::accept(osg::Drawable::ConstAttributeFunctor& af) const
- void Text3D::accept(osg::PrimitiveFunctor& pf) const
so now statistics are well reported.
"
2009-03-10 10:56:00 +00:00
..
3dc Where possible moved redundent C header includes from headers to source files 2008-12-12 18:47:30 +00:00
3ds Warning fixes 2009-02-03 15:28:53 +00:00
ac Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache. 2009-01-21 18:23:55 +00:00
bmp Fixed warnings 2008-12-17 10:33:39 +00:00
bsp From Jason Daly, "Somehow, one of the shaders in the bsp plugin started behaving incorrectly between the original submission and now. I suspect it has to do with a typo in the setup of the shader that was fixed at some point, or it happened during the recent warnings purge. In any case, I had to invert the usage of a parameter in the shader to make it behave properly again. 2009-01-29 11:18:03 +00:00
bvh Build fixes for when the implict ref_ptr<> cast is not enabled 2008-12-16 20:49:12 +00:00
cfg Merged warning fix from OSG-2.8 branch: 2009-02-10 20:31:50 +00:00
curl From Jason Beverage, "I've added a small change to the CURL plugin that allows support for HTTP redirects." 2009-02-10 13:37:16 +00:00
dae From Roland Smeenk, "Attached are two small fixes: 2009-02-11 09:14:12 +00:00
dds Where possible moved redundent C header includes from headers to source files 2008-12-12 18:47:30 +00:00
dicom From Alberto Luaces, "here are some minor fixes to notify warnings were the std::hex modifier was 2009-02-06 10:35:21 +00:00
dot From Ricard Schmidt, dot writer plugin. 2008-10-14 16:35:03 +00:00
dw Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache. 2009-01-21 18:23:55 +00:00
dxf From Martin Beckett, "I have added support for DXF POINTS to the dxf reader plugin 2009-02-20 11:51:47 +00:00
exr Changed OPENEXR_LIBRARY to OPENEXR_LIBRARIES to pick up on Ulrich's changes to the FindOpenEXR.cmake 2008-11-30 16:33:55 +00:00
ffmpeg Fixed thread exit problems 2009-03-08 16:48:48 +00:00
freetype From David Callu, "Problem: 2009-03-10 10:56:00 +00:00
gdal From Mattias Helsing, "I have developed the earlier cpack example a bit. Perhaps you could 2008-12-12 11:01:09 +00:00
gecko Suppress gcc warnings emitted by external headers 2009-02-05 14:35:46 +00:00
geo Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache. 2009-01-21 18:23:55 +00:00
gif Fixed warnings 2008-12-18 11:54:34 +00:00
glsl From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and 2008-11-07 15:08:08 +00:00
gz Fixed warning 2008-12-19 16:59:10 +00:00
hdr Fixed bug in checking if numRead values. 2009-02-19 17:34:35 +00:00
imageio From Eric Wing and Stephan Huber, ImageIO code originally wrote by Eric Wing, and then later conveted into an OSG plugin by Stephan Huber. 2009-03-10 10:30:34 +00:00
Inventor Fixed warning 2009-01-29 11:03:38 +00:00
ive Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache. 2009-01-21 18:23:55 +00:00
jp2 Converted plugins to use the new supportsExtension()/supportsOptions/supportsProtocl() methods 2008-07-13 22:18:59 +00:00
jpeg Warning fixes 2009-02-03 15:28:53 +00:00
logo From Stephan Huber, build fix for OSX XCode build 2009-02-02 16:56:46 +00:00
lwo Fixed data copy bug 2009-02-06 12:15:15 +00:00
lws From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and 2008-11-07 15:08:08 +00:00
md2 Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache. 2009-01-21 18:23:55 +00:00
mdl Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache. 2009-01-21 18:23:55 +00:00
net Converted plugins to use the new supportsExtension()/supportsOptions/supportsProtocl() methods 2008-07-13 22:18:59 +00:00
normals From Andy Skinner, fixes for Solaris build 2009-01-09 12:17:40 +00:00
obj Warning fixes 2009-02-03 15:28:53 +00:00
ogr From Ralf Habacker & Robert Osfield, fixed handling of file name string of the form"PG:host=localhost user=postgres dbname=osm tables=public.planet_osm_line". The patch also routes gdal debug and error message to the related osg::notify debug port - this is usefull for debugging ogr plugin. 2009-02-23 09:54:25 +00:00
OpenFlight Replaced -1 with ~0u to fix warning due to being written to a UInt field. Note, OpenFlight spec says -1, which is clearly an error in the spec, so we've had to guess at ~0u being an appropriate value. 2009-01-29 09:27:23 +00:00
osg From Bryan Thrall, "The .osg plugin doesn't seem to support an option to write shader files 2009-02-09 21:48:30 +00:00
osga From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and 2008-11-07 15:08:08 +00:00
osgAnimation From Roland Smeenk & Cedric Pinson, 2009-03-09 17:38:39 +00:00
osgFX Fixed the capitilization of the osgdb_osgfx plugin 2007-10-25 09:00:25 +00:00
osgParticle From Pierre Haritchabalet, "In IO_FluidProgram.cpp, FluidProgram_readLocalData() function is wrong. When density parameter is read, the function "setFluidViscosity()" is called instead of "setFluidDensity()". 2009-02-10 18:56:53 +00:00
osgShadow Fixed warnings 2008-12-18 15:49:44 +00:00
osgSim Fixed warnings 2009-01-28 12:51:47 +00:00
osgTerrain Refactored osg::TransferFunction1D to use an std::map internally which is kept in sync with the actual osg::Image that is passed to the GPU. 2009-02-02 14:43:27 +00:00
osgText From David Callu, IO support for Text3D 2007-12-10 19:51:33 +00:00
osgtgz From Andy Skinner, fixes for Solaris build 2009-01-09 12:17:40 +00:00
osgViewer Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache. 2009-01-21 18:23:55 +00:00
osgVolume From Alberto Luaces, "here are some minor fixes to notify warnings were the std::hex modifier was 2009-02-06 10:35:21 +00:00
osgWidget Fixed warnings 2008-12-18 11:06:57 +00:00
pdf Moved osgVolume::ImageUtils to osg::ImageUtils, updated wrappers, and started moving osgvolume example across to create osgVolume subgraphs 2009-01-09 15:19:25 +00:00
pfb Converted plugins to use the new supportsExtension()/supportsOptions/supportsProtocl() methods 2008-07-13 22:18:59 +00:00
pic From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and 2008-11-07 15:08:08 +00:00
png Converted plugins to use the new supportsExtension()/supportsOptions/supportsProtocl() methods 2008-07-13 22:18:59 +00:00
pnm From Andy Skinner, fixes for Solaris build 2009-01-09 12:17:40 +00:00
quicktime From Riccardo Corsi, "in attach you'll find a patch to cleanup a little bit the (de)initialization code of QuickTime environment from the quickTime pluging. 2009-02-11 17:14:53 +00:00
rgb From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and 2008-11-07 15:08:08 +00:00
rot Converted plugins to use the new supportsExtension()/supportsOptions/supportsProtocl() methods 2008-07-13 22:18:59 +00:00
scale Converted plugins to use the new supportsExtension()/supportsOptions/supportsProtocl() methods 2008-07-13 22:18:59 +00:00
shp Added workaround for silly posix read deprecation warning under VS. 2009-01-23 15:02:04 +00:00
stl Where possible moved redundent C header includes from headers to source files 2008-12-12 18:47:30 +00:00
svg From Mattias Helsing, "I have developed the earlier cpack example a bit. Perhaps you could 2008-12-12 11:01:09 +00:00
tga From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and 2008-11-07 15:08:08 +00:00
tgz From Andy Skinner, fixes for Solaris build 2009-01-09 12:17:40 +00:00
tiff From Jason Beverage, "Here is a small fix that enables writing 16 bit short images in the tiff plugin. 2009-01-27 15:14:47 +00:00
trans Converted plugins to use the new supportsExtension()/supportsOptions/supportsProtocl() methods 2008-07-13 22:18:59 +00:00
txf From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and 2008-11-07 15:08:08 +00:00
txp Warning fixes 2009-02-03 15:28:53 +00:00
vnc Fixed warnings 2008-12-18 15:49:44 +00:00
vrml Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache. 2009-01-21 18:23:55 +00:00
vtf From Jason Daly, "Somehow, one of the shaders in the bsp plugin started behaving incorrectly between the original submission and now. I suspect it has to do with a typo in the setup of the shader that was fixed at some point, or it happened during the recent warnings purge. In any case, I had to invert the usage of a parameter in the shader to make it behave properly again. 2009-01-29 11:18:03 +00:00
x Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache. 2009-01-21 18:23:55 +00:00
xine Suppress gcc warnings emitted by external headers 2009-02-05 14:35:46 +00:00
zip From Andy Skinner, fixes for Solaris build 2009-01-09 12:17:40 +00:00
CMakeLists.txt From Eric Wing and Stephan Huber, ImageIO code originally wrote by Eric Wing, and then later conveted into an OSG plugin by Stephan Huber. 2009-03-10 10:30:34 +00:00