FBX implementation discussion

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
chronologicaldot
Competition winner
Posts: 699
Joined: Mon Sep 10, 2012 8:51 am

FBX implementation discussion

Post by chronologicaldot »

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...
n00bc0de
Posts: 116
Joined: Tue Oct 04, 2022 1:21 am

Re: FBX implementation discussion

Post by n00bc0de »

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.
CuteAlien
Admin
Posts: 9926
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: FBX implementation discussion

Post by CuteAlien »

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.
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
Post Reply