OpenSceneGraph/src/osgPlugins/dae
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
..
CMakeLists.txt From Garrett Potts and Robert Osfield, changes to build against Collada DOM 2.x 2008-05-08 12:36:07 +00:00
daeReader.cpp From Roger James, "The changes are as follows:- 2007-12-11 14:06:45 +00:00
daeReader.h From Roger James, "The changes are as follows:- 2007-12-11 14:06:45 +00:00
daeRGeometry.cpp From Garrett Potts and Robert Osfield, changes to build against Collada DOM 2.x 2008-05-08 12:36:07 +00:00
daeRMaterials.cpp From Gino, "According to the 1.4.1 COLLADA spec (2nd ed) the standard behavior for fx_sampler_wrap_common is as follows 2008-05-26 21:32:05 +00:00
daeRSceneObjects.cpp 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
daeRTransforms.cpp 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
daeWGeometry.cpp From Paul Martz, "When exporting a DrawArrays PrimitiveSet, the DAE plugin computes an incorrect nbVerticesPerPoly if the first index is not zero. The issue can be reproduced easily with: 2008-05-26 22:34:06 +00:00
daeWMaterials.cpp From Gino, "According to the 1.4.1 COLLADA spec (2nd ed) the standard behavior for fx_sampler_wrap_common is as follows 2008-05-26 21:32:05 +00:00
daeWriter.cpp From Garrett Potts and Robert Osfield, changes to build against Collada DOM 2.x 2008-05-08 12:36:07 +00:00
daeWriter.h From Roger James, "The changes are as follows:- 2007-12-11 14:06:45 +00:00
daeWSceneObjects.cpp Renamed osg::CameraNode to osg::Camera, cleaned up osg::View. 2006-11-27 14:52:07 +00:00
daeWTransforms.cpp 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
domSourceReader.cpp 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
domSourceReader.h 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
ReaderWriterDAE.cpp From Steven Thomas, "Subject: Collada fix 2008-05-13 10:56:10 +00:00
ReaderWriterDAE.h Converted plugins to use the new supportsExtension()/supportsOptions/supportsProtocl() methods 2008-07-13 22:18:59 +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.