horde3d / Horde3D

Horde3D is a small 3D rendering and animation engine. It is written in an effort to create an engine being as lightweight and conceptually clean as possible.
http://horde3d.org/
1.51k stars 306 forks source link

Working 3D animation pipeline #239

Open gwald opened 1 week ago

gwald commented 1 week ago

Hi, Just wondering what 3D animation tools that work with the Horde3D 's converter. There's openCollada with Max/Maya: http://horde3d.org/forums/viewtopic.php?f=11&t=2285

And I found TrueSpace working also: http://horde3d.org/forums/viewtopic.php?f=11&t=2285&p=10422&hilit=truespace#p10422 The problem with TS is that the import side is very limited, I'm testing these FBX, DAE and GLTF plugins: https://clintons3d.com/plugins/truespace/importexport/index.html

Untested with Collada support: Poser Daz3D Blender --akeytsu-- FBX Only milkshape

There is also skinned animation, aka vert animation/morphing, which is easier and works ,but only useful for a single frame of animation/tween: https://github.com/horde3d/Horde3D/issues/225

Also the .anim format seems like a very simple format, I was thinking BVH animation would translate well to it, and probably a lot easier to get and more correct than Collada XML. What do you think of the convertor also using .bvh files for animation?

algts commented 1 week ago

Blender seems to be working correctly with version > 2.80 (it seems to be based on OpenCollada). akeytsu can only export FBX. Don't know about other DCC software but they probably also use FBX. Can't say anything about BVH animation, didn't work with it. Anyway, as engine only supports .anim files, you would have to convert the input format (collada, bvh, fbx, gltf, etc.) to anim file. I think that extending converter is the way to go (should probably be called Asset converter when several formats are supported).

gwald commented 1 week ago

Good points, your right about akeytus, it imports collada but only exports FBX, the rest I know export collada. I think I'm going to focus on just using this: FBX 2013.3 Converter for Windows 64-bit https://aps.autodesk.com/developer/overview/fbx-converter-archives

It had this issue: https://github.com/horde3d/Horde3D/pull/240 And seems to have created the model and anim, but I'm getting...

Invalid node handle in h3dSetupModelAnimStage
Invalid node handle in h3dSetModelAnimParams and Invalid node handle in h3dUpdateModel

algts commented 1 week ago

It seems that the model you've converted did not load correctly. You should check the h3ddAddNodes function returned node - it is likely incorrect.

gwald commented 1 week ago

I was trying to animate a group node :/ https://github.com/horde3d/Horde3D/issues/241

FBX 2013.3 Converter seems to be pretty good so far.

I'll leave this open and test a few of the 3D apps.