[osg-users] question on status of dae (collada) plugin

Frederic Marmond fmarmond at gmail.com
Thu Nov 26 05:31:06 PST 2009


Hi Roger,

In fact, I based my build on this 'howto' :
http://www.openscenegraph.org/projects/osg/wiki/Support/KnowledgeBase/Collada
where it is suggested to rename the .kml to .dae
Maybe this doc is wrong or outdated ? (by the way, the page is
currently unaccessible...)

Ok, reading .dae from other locations than collada-dom package works better :)
thanks!

Fred

On Thu, Nov 26, 2009 at 1:21 PM, Roger James
<roger at beardandsandals.co.uk> wrote:
> Frederic Marmond wrote:
>
> Hello world,
>
> I'm trying to load some collada files from osg, using osgviewer,
> recent trunk version on msvc8.
> I tried on those found on the collada-dom package
> (collada-dom/dom/test/1.4/data/*.dae ), but only one (cube.dae) is
> really loading. Some crash (segfault), some display an empty scene,
> and others don't find any scene at all.
> Aren't those data files considered as reference ones ?
>
> I also tried on some kml files (the google's format based on collada
> one), without success (even if I rename the .kml in .dae, of course):
> Warning: The DOM was unable to create an element named kml at line 15.
> Probably a schema violation.
>
> => is the dae plugin supposed to be usable, or is it in early
> development state (or am I badly using it) ?
>
> thanks for any information/confirmation !
>
> Fred
>
>
> Fred,
>
> The dae reader should be stable, it has not had any changes made to it since
> the osg 2.8.2 release which is working for me. All the new development work
> on it is being being done in a separate repository. It certainly should not
> crash. The data files in the Collada respository should mostly work although
> I have not checked them recently, and strangely some of them were in the
> past not fully compliant Collada and might still be!
>
> Google KML files are not Collada .dae files and will not work! However
> Google KMZ archive files usually do contain Collada .dae files. The .kmz
> files are really .zip archives and if you rename the .kmz extension to .zip
> you can then run a standard zip archive tool to extract the .dae file from
> them.
>
> I suspect that your build of the OSG Collada plugin has a problem. One thing
> you should check is that you have linked against the dom libraries that
> implement the 1.4 version of the Collada specification not  the 1.5 version.
> I link against libcollada14dom22 (that is Collada specification version 1.4
> dom library version 2.2).
>
> Roger
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


More information about the osg-users mailing list