OpenSceneGraph/src/osgPlugins/dae
2011-01-19 09:53:34 +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 Converted osg::notify to OSG_INFO 2010-05-28 16:24:04 +00:00
daeReader.cpp Converted osg::notify to OSG_INFO 2010-05-28 16:24:04 +00:00
daeReader.h From Michael Platings, "the attached files fix the DAE importer for animations that don't contain channels for all X, Y and Z components, as exported by SoftImage." 2010-03-22 17:55:14 +00:00
daeRGeometry.cpp Converted osg::notify to OSG_INFO 2010-05-28 16:24:04 +00:00
daeRMaterials.cpp From Warren Macchi, "While tracing texture artifacts with the 2.9.8 dev release we 2010-07-31 10:18:41 +00:00
daeRSceneObjects.cpp Converted osg::notify to OSG_INFO 2010-05-28 16:24:04 +00:00
daeRSkinning.cpp Converted osg::notify to OSG_INFO 2010-05-28 16:24:04 +00:00
daeRTransforms.cpp Converted osg::notify to OSG_INFO 2010-05-28 16:24:04 +00:00
daeWAnimations.cpp Converted osg::notify to OSG_INFO 2010-05-28 16:24:04 +00:00
daeWGeometry.cpp Converted osg::notify to OSG_INFO 2010-05-28 16:24:04 +00:00
daeWMaterials.cpp Converted osg::notify to OSG_INFO 2010-05-28 16:24:04 +00:00
daeWriter.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
daeWriter.h 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
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 Converted osg::notify to OSG_INFO 2010-05-28 16:24:04 +00:00
domSourceReader.h Converted osg::notify to OSG_INFO 2010-05-28 16:24:04 +00:00
ReaderWriterDAE.cpp From Sukender, "Fixed ReaderWriterDAE::ConvertFilePathToColladaCompatibleURI(): It now handles paths containing '#' character as expected." 2011-01-19 09:36:21 +00:00
ReaderWriterDAE.h From Sukender and Robert Osfield, clean up of options 2011-01-19 09:34:26 +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.