OpenSceneGraph/src/osgPlugins/dae
Robert Osfield cd44e63b90 From Cedric Pinson, "I have tried some model that produces crashes in the dae plugin because
of empty node:

if (GetFloat4Param(cot->getParam()->getRef(), f4)) {...}

in the model I have tested cot->getParam()->getRef() return 0x0 and make
it crahes inside GetFloat4Param.

I have added a test before calling GetFloat4Param
if (cot->getParam()->getRef() != 0 &&
GetFloat4Param(cot->getParam()->getRef(), f4)) {...}
"
2011-04-21 12:12:40 +00:00
..
CMakeLists.txt From Michael Platings, "Here's the all-new, all-dancing DAE plugin, with support for reading 2010-02-26 14:41:50 +00:00
daeRAnimations.cpp From Sukender, "I found the bug I was chasing! Here is my "twin" submission, from latest trunk rev: 12124. 2011-01-27 17:12:23 +00:00
daeReader.cpp From Sukender, "Added ability for writer to read from Vec3/4d/f. Plugin now warns if it finds another type of data" 2011-01-19 10:31:49 +00:00
daeReader.h From Sukender, "Added ability for writer to read from Vec3/4d/f. Plugin now warns if it finds another type of data" 2011-01-19 10:31:49 +00:00
daeRGeometry.cpp From Sukender, "Here are two sumbissions for DAE. 2011-02-14 14:16:58 +00:00
daeRMaterials.cpp From Cedric Pinson, "I have tried some model that produces crashes in the dae plugin because 2011-04-21 12:12:40 +00:00
daeRSceneObjects.cpp Converted osg::notify to OSG_INFO 2010-05-28 16:24:04 +00:00
daeRSkinning.cpp From Sukender, "Added ability for writer to read from Vec3/4d/f. Plugin now warns if it finds another type of data" 2011-01-19 10:31:49 +00:00
daeRTransforms.cpp Converted osg::notify to OSG_INFO 2010-05-28 16:24:04 +00:00
daeWAnimations.cpp From Sukender, " 2011-01-21 13:40:28 +00:00
daeWGeometry.cpp From Sukender, "I found the bug I was chasing! Here is my "twin" submission, from latest trunk rev: 12124. 2011-01-27 17:12:23 +00:00
daeWMaterials.cpp From Sukender, "I found the bug I was chasing! Here is my "twin" submission, from latest trunk rev: 12124. 2011-01-27 17:12:23 +00:00
daeWriter.cpp From Philipp Svehla, "We’ve added support for users to override the default values for child elements in asset tags (for the collada writer). This support was added for the following child elements: 2011-02-14 16:24:12 +00:00
daeWriter.h From Philipp Svehla, "We’ve added support for users to override the default values for child elements in asset tags (for the collada writer). This support was added for the following child elements: 2011-02-14 16:24:12 +00:00
daeWSceneObjects.cpp From Sukender, "Factorized the depth loop ("while ( lastDepth >= _nodePath.size() )...") into a method called updateCurrentDaeNode(). Added missing calls into apply(osg::LightSource &) and daeWriter::apply(osg::Camera &) and daeWriter::apply(osg::CameraView &)" 2011-01-19 09:53:34 +00:00
daeWTransforms.cpp From Sukender, "Factorized the depth loop ("while ( lastDepth >= _nodePath.size() )...") into a method called updateCurrentDaeNode(). Added missing calls into apply(osg::LightSource &) and daeWriter::apply(osg::Camera &) and daeWriter::apply(osg::CameraView &)" 2011-01-19 09:53:34 +00:00
domSourceReader.cpp From Sukender, "Added ability for writer to read from Vec3/4d/f. Plugin now warns if it finds another type of data" 2011-01-19 10:31:49 +00:00
domSourceReader.h From Ulrich Hertlien, "the changes from r12126 (see below) in dae/domSourceReader.h cause compiler errors on OS X 2011-01-28 10:53:49 +00:00
ReaderWriterDAE.cpp From Sukender, "I fixed the writing but never thought about the reading part... 2011-03-09 11:13:12 +00:00
ReaderWriterDAE.h From Sukender, "I fixed the writing but never thought about the reading part... 2011-03-09 11:13:12 +00:00
README.txt From Jeremy Moles and Rbert Osfeild, added extra details about CMake build options. 2007-06-04 20:32:15 +00:00
scea_shared_source_license.html From Andrew Lorino and Mike Weiblen, COLLADA 1.4.1 ReaderWriter, kindly developed and donated by Sony Computer Entertainment Inc. US R&D. 2006-08-23 13:32:03 +00:00

osgPlugins/dae/README.txt -  Mike Weiblen http://mew.cx/

OSG reader/writer plugin for the COLLADA digital asset exchange (DAE) schema.
See http://collada.org/ and http://khronos.org/collada/ for further info.


RUNTIME USAGE EXAMPLES

    osgviewer myFile.dae
    osgconv myFile.osg myFile.dae


RUNTIME PLUGIN OPTIONS

Import Options
--------------
none

Export Options
--------------
polygon : export polygons as COLLADA polygons instead of polylists.
          This option can be used for if polylists are not supported.
          ex : osgconv -O polygon myFile.osg myFile.dae


BUILD DEPENDENCIES

- COLLADA DOM (document object model) v1.4.1
  http://collada.org/mediawiki/index.php/DOM_guide:_Setting_up

- libxml2

- iconv

A standard "ccmake ." while in the root of the OSG source will expose
two CMake variables: COLLADA_INCLUDE_DIR and COLLADA_LIBRARY. Using
these two variables correctly can be a bit tricky (especially as
the "right" and "wrong" ways to use Collada are hard to define), but
I will briefly explain them below.

  COLLADA_INCLUDE_DIR: This variable wants the path where it can
  find the COLLADA headers. On most systems this will be something
  like /usr/include or /usr/include/collada.

  COLLADA_LIBRARY: This variable is asking for the FULL PATH to the
  file libcollada_dom.a. As long as it can find this file, the
  OSG Collada ReaderWriter should build just fine.