Files
OpenSceneGraph/src/osgPlugins/dae
Robert Osfield ae93f08492 From Roger James,"I have had another go at the windows specific file name handling in daeWMaterials.cpp. I think I have arrived at a temporary compromise.
I have decided to just normalise the drive letter part of file names for the time being and also ensure that names of the format x:/xxxxx are treated as absolute paths. This will cover a lot of cases.

I have raised a bug against collada which hopefully should resolve some others. However there are some pathological cases which I have commented on in the code, these will probably never work properly unless there is a significant rewrite of the daeURI functionality. Hopefully they are rare."
2006-12-05 17:10:39 +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
  see http://sourceforge.net/projects/collada-dom
  svn export -r 34 https://svn.sourceforge.net/svnroot/collada-dom/trunk

- libxml2

- iconv

UNIX BUILD

set the env vars:

  COLLADA_INSTALLED = yes
  COLLADA_DAE_HOME = root directory of COLLADA DOM
   
  And if you've compiled the debug version of the COLLADA DOM then define:
  
  COLLADA_DEBUG_LIBS = yes
  
  Note, Collada svn trunk currently defaults to debug build.

The above env vars can also be setup in your own custom Make/depdendencies file (copy this and point
to the locally modified copy using the env var OSG_DEPENDCIES so the the OSG's build system can find
it.

//EOF