Author Topic: Blender Collada export  (Read 1071 times)

John Byrne   «   on: June 12, 2012, 04:08:50 AM »
Hi, 

I'm trying to export an animation from Blender. I'm a little confused though, is this actually supported? I've baked the animation (IK) I have, and it appears as a series of frames, but still when I export nothing plays in the flare 3d player (and the _daeAnimation property is empty in the debugger).

Any ideas what I might be doing wrong?

Cheers

John Byrne   «   Reply #1 on: June 12, 2012, 05:08:55 AM »
Sorry, I suppose a sample file and a few more details are in order :-)

http://troot.org/cube_test/Archive.zip

These are the blend files pre and post bake. I'm using Blender 2.63

John Byrne   «   Reply #2 on: June 12, 2012, 06:31:54 AM »
After doing some research I've found that one of the issues seems to be in the upgrade from 2.49 -> 2.63a the 'bake matrices' option of the collada export was lost somewhere along the way. There is only the built-in File->Export->Collada option now and it doesn't have bake matrices.

Is this correct? Will export of collada from the latest version of Blender just not work?

Ivan Vodopiviz   «   Reply #3 on: June 12, 2012, 10:16:02 AM »
Hi John,

Unfortunately, Flare3D requires that setting to correctly import collada models. I'm not really sure what was the rationale for removing this setting from the exporter but, yes, at the moment there doesn't seem to be any way to export a Flare3D-compatible collada model from Blender.

We're investigating possible solutions, but we can't promise anything for the immediate future, sorry for the bad news :(

John Byrne   «   Reply #4 on: June 12, 2012, 11:57:03 AM »
ok, that's disappointing

after a little more research, I found this about the 'Second Life' option when exporting collada: 
http://blenderartists.org/forum/showthread.php?254619-COLLADA-Improvements-for-GSoC
(it's the second last comment, basically says that it is baked matrices)

Do you have a sample blend file that at one point worked?

Juan Pablo Carrano   «   Reply #5 on: July 04, 2012, 06:28:02 PM »
Guy's I made a Addon for blender to export for Flare3D.
This addon export a collada and if you hace bones and animations, automaticaly bake it. Don't work with Actions, you must to do all animations in one timeline like 3dsMax.
You can download this addon from here: http://www.pudupuduestudio.com.ar/ExportFlare.py.zip
I hope this addon help you. If you have questions, please wrote me at juan@pudupuduestudio.com.ar 

John Byrne   «   Reply #6 on: July 06, 2012, 07:55:37 AM »
Excellent, I'll have a play around with that and let you know if I find anything

Ariel Nehmad   «   Reply #7 on: July 09, 2012, 12:20:10 PM »
hey Juan!, thanks for sharing! :)

Juan Pablo Carrano   «   Reply #8 on: July 10, 2012, 02:58:37 PM »
Guy's
I thiks the addon work only with flare3d studio. My addon export a .dae then you must to open it in flare studio and save as .f3d. Some guy wrote me and tell me the .dae don't work when you try to load by code. But im not sure. if you can test the .dae will be great!
Sorry about my english.

Ivan Vodopiviz   «   Reply #9 on: July 11, 2012, 10:41:54 AM »
I just tested it and you're right, it doesn't load correctly. We'll look into this issue, thanks for the heads up.

Regards,

Feffers Stewart   «   Reply #10 on: December 17, 2012, 10:29:19 AM »
Are there any more updates on this add-on? We're trying to export a simple animation from blender and when we import it in flare3D we cannot see any frames in the timeline or hierarchy.

Ivan Vodopiviz   «   Reply #11 on: December 17, 2012, 11:26:14 AM »
Hi,

I'm not sure what the add-on does, but we are aware of a pretty important missing feature of Flare3D's ColladaLoader class: It doesn't support curve-based interpolations. Like most things in COLLADA, there are a few different ways of storing animations. We currently support the "baked matrices" approach that according to the COLLADA spec, all exporters should have as an option, but alas, Blender doesn't support in the 2.5+ versions.

I was able to add this feature to our loader but it isn't ready yet for public consumption. I think we'll be able to release it pretty soon. I'm sorry it's taking so long, but even getting this far was a real pain in the neck :(

Cheers,

Feffers Stewart   «   Reply #12 on: December 18, 2012, 01:09:54 AM »
Haha, that's ok. Thanks a lot for the information.

Feffers Stewart   «   Reply #13 on: December 18, 2012, 05:52:40 AM »
Sorry for the double post, but when do you think the feature will be out? Less than 1 month or..?

Thanks.