OpenSceneGraph/src/osgPlugins
Robert Osfield 1feea279a5 From Luc Frauciel, "I've encoutered a nasty group of dae which are incompatible with dae plugins (and probably collada schema ) in 4 different ways :
1)  they use direct link to texture

-> this is already handle by current plugin : OK

2)  they defined colors with only 3 color components

->  it leads to a crash when trying to acces to the fourth component
 I fixed that

3)  they contain empty primitive lists

-> reading is ok, but osgviewer crashes when trying to display the geometries
The reason is that osg assume that  DrawElementsare never empty (blunt acces to DrawElements.front() in PrimitiveSet.cpp)
I corrected this (on the plugin side), but I wonder :
Is it the responsability of plugins to create non empty DrawElements, or of osg core not to crash when they occur ?
If the responsability is on the osg core side, I can submit a patch to PrimitiveSet.cpp regarding that aspect.

4)  they use a material binding scheme not supported by the plugin

->I've implemented a mechanism to handle this binding scheme

You will also find in the patch an example of these evil dae and comments on the offending elements.
They seems to be produced by ComputaMaps (www.computamaps.com)
They load well in Google Earth
"
2012-03-23 11:16:01 +00:00
..
3dc Converted osg::notify to OSG_INFO etc. 2010-05-28 16:29:53 +00:00
3ds Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
ac Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
bmp Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
bsp Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
bvh Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
cfg Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
curl Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
dae From Luc Frauciel, "I've encoutered a nasty group of dae which are incompatible with dae plugins (and probably collada schema ) in 4 different ways : 2012-03-23 11:16:01 +00:00
dds Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
dicom Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
directshow Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
dot Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
dw Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
dxf Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
exr Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
fbx Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
ffmpeg Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
freetype Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
gdal Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
geo Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
gif Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
glsl Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
gta Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
gz Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
hdr Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
imageio Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
Inventor Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
ive Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
jp2 Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
jpeg Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
logo Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
lwo Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
lws Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
md2 Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
mdl Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
normals Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
nvtt Added support for using GL_UNPACK_ROW_LENGTH in conjunction with texture's + osg::Image via new RowLength 2012-01-24 14:34:02 +00:00
obj Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
ogr Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
OpenFlight Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
osg Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
osga Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
osgtgz Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
p3d Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
pdf Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
pfb Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
pic Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
ply Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
png Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
pnm Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
pov Added support for using GL_UNPACK_ROW_LENGTH in conjunction with texture's + osg::Image via new RowLength 2012-01-24 14:34:02 +00:00
pvr Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
qfont Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
QTKit From Stephan Huber, fixed build under OSX 10.5. 2010-09-30 09:40:48 +00:00
quicktime Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
revisions Copya and Paste Anti-Pattern strikes again! Renamed FreeType usage to Revisions to correct previous mistake when copying and modifying the ReaderWriter. 2011-09-19 09:44:29 +00:00
rgb Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
rot Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
scale Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
shadow Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
shp Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
stl Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
svg Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
terrain Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
tga Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
tgz Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
tiff Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
trans Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
txf Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
txp Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
view Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
vnc Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
vrml Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
vtf Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
x Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
xine Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
zip Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
CMakeLists.txt From Martin Lambers, "It adds a new ReaderWriter plugin for the GTA file format 2012-02-17 16:45:49 +00:00