[Bf-committers] Blender 2.5 OpenCollada doesn't import animation?

Erwin Coumans erwin.coumans at gmail.com
Wed Nov 11 01:06:02 CET 2009


I just committed a fix for the Windows CMake build for OPTION
WITH_OPENCOLLADA, and it compiles/links with the ${LIBDIR}/opencollada
now.

The import/export buttons in the GUI are not enabled yet (it says
WM_OT_collada_import), I need a crash-course in Blender 2.5 GUI
development :-)
Cheers,
Erwin


2009/11/10 Erwin Coumans <erwin.coumans at gmail.com>:
>
> Right now, the Blender trunk doesn't compile out-of-the box with OpenCollada
> enabled using cmake, because
> 1) OPTION(WITH_OPENCOLLADA "Enable OpenCollada Support
> (http://www.opencollada.org/)" OFF)
> (that is easily fixed, and I assume it is because things are still
> work-in-progress)
> 2) the include path and library path are not correctly set
> It would be good that if OPENCOLLADA is not defined, it should use
> lib/<platform> from the Blender SVN repository.
> For example OPENCOLLADA should point to lib/<platform>/opencollada/include
> Library include path is set to \usr\local\opencollada for Windows, it should
> use lib/<platform>/opencollada/lib
> 3) why does one platform (Mac/Apple) use OPENCOLLADA_INC and all the others
> OPENCOLLADA?
> I haven't had time for a patch yet, but is someone (Arystan or someone
> else) looking into this?
> Thanks,
> Erwin
>
> 2009/11/7 Arystan Dyussenov <arystan.d at gmail.com>
>>
>> Hi Erwin,
>>
>> Yep, that's true. I've started working this in August but did not finish.
>>
>> Actually skinned animations should be imported (after revision 24311 in
>> branch and 24313 in trunk), but with wrong values. If I recall correctly,
>> DAE uses absolute values for bone rotation  keys, while Blender uses
>> values
>> relative to bone rest pose. This conversion should be doable (by sampling
>> X,
>> Y, Z rotations at specific frames and converting them to rest-pose
>> relative)
>> but then curve tangents will be lost which is not a big problem I think.
>>
>> I'll try and tackle this in the next few weeks.
>>
>> Arystan
>>
>> On Sat, Nov 7, 2009 at 11:53 PM, Erwin Coumans
>> <erwin.coumans at gmail.com>wrote:
>>
>> > Hi,
>> > I've been trying to import a very simple rigged/skinned cylinder with
>> > an animation,
>> > from COLLADA .dae into Blender 2.5 using this 64 bit build
>> > http://www.letworyinteractive.com/b/tag/blender/
>> > (the file was exported from Maya using OpenCollada plugin, so the file
>> > should be compatible)
>> >
>> > It seems to import the mesh, bones and vertex weights fine, but there
>> > is no animation:
>> > here is the test file http://tinyurl.com/yh2dhyy
>> >  (Maya .mb, COLLADA .dae, .fbx are fine, .blend lacks animation)
>> >
>> > It would be great if animation would be imported for skinned/rigged
>> > meshes in Blender 2.5 .dae import.
>> >
>> > Is anyone still improving this OpenCollada work, and will it be part
>> > of the first Blender 2.5 alpha/beta release?
>> > Thanks
>> > Erwin
>> > _______________________________________________
>> > Bf-committers mailing list
>> > Bf-committers at blender.org
>> > http://lists.blender.org/mailman/listinfo/bf-committers
>> >
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>
>


More information about the Bf-committers mailing list