I ran across this quick library for loading FBX which might be suitable as an extension to Irrlicht:
https://github.com/ufbx/ufbx
It's a C library, but compatible with newer C++ (C++11). It might be wrappable.
I know some people use IrrAssimp, but last I tried that, stuff was broken. Maybe that just needs some more love...
FBX implementation discussion
-
chronologicaldot
- Competition winner
- Posts: 699
- Joined: Mon Sep 10, 2012 8:51 am
Re: FBX implementation discussion
I checked the documentation out. Its a good foundation for an FBX loader. But you would still need to get the data it gives you to work within the constraints of irrlichts animation system. That was the big issue I had when working on the anim8or loader. For instance, I was using ISkinnedMesh for loading in the animation but I had to sacrifice anim8ors ability to use morph targets on the rigged mesh since I could not find an easy way to do it in irrlicht. I don't fully know what features FBX supports so it may have different issues or no issues at all.
As for IrrAssimp, I haven't needed to use it since I don't really use blender for much besides UV mapping. It could be that IrrAssimp is just not updated to work with the latest version of Assimp.
As for IrrAssimp, I haven't needed to use it since I don't really use blender for much besides UV mapping. It could be that IrrAssimp is just not updated to work with the latest version of Assimp.
Re: FBX implementation discussion
OK, forgot I wanted to open source mine. It's now posted in viewtopic.php?t=53179
But only for static fbx, if I had to code it for animated fbx I'd do it a bit different. But might be a start.
But only for static fbx, if I had to code it for animated fbx I'd do it a bit different. But might be a start.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm