Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

Use FBX instead of IQM as standard model format in Inexor. #559

Open
koppiman opened this issue Feb 15, 2018 · 6 comments
Open

Use FBX instead of IQM as standard model format in Inexor. #559

koppiman opened this issue Feb 15, 2018 · 6 comments

Comments

@koppiman
Copy link

koppiman commented Feb 15, 2018

Due to the circumstance that md5 is an outdated format I suggest to migrate to FBX as standard format.

Note from IAmNotHanni: The discussion of a new player model has been separated into a new ticket. See #561.

@IceflowRE
Copy link

What is the point against iqm?

@a-teammate
Copy link
Contributor

Not much, the last time we investigated on this, we found iqm to be a good choice (#499)

But there are also points against using iqm. while it is technically a good choice, it is lacking an ecosystem bigger than cube (and some really small other open source communities).

There is a format (made by Khronos, the organization making i.e. OpenGL and vulkan) for the exact same purpose (loading models fast from storage into GPU memory):
https://github.com/KhronosGroup/glTF
It is in contrast to IQM actively developed and hence seems to starts getting traction in the community.

Furthermore for data exchange the by far most popular model is indeed FBX.
If you google for models online the majority will probably be in FBX.
It had been unavailable to the open source world, since there only existed a proprietary SDK for loading/saving it and no simple description of the file format. The blender team changed that and reverse engineered that format, so now there are MIT licensed loaders for it as well.
Still FBX won't be really fast to load.

@Croydon
Copy link
Contributor

Croydon commented Feb 16, 2018

Is this now a ticket about new player models or a new model format? We need to stop mixing things up.

@IAmNotHanni
Copy link
Contributor

Blender supports FBX export by default and it's way better documented. I've never been happy with iqm import/export scripts in Blender. They just never worked as intended.
It would be nice to use a new model loading library which is still being developed.

@IAmNotHanni IAmNotHanni changed the title We need new playermodels Use FBX instead of IQM as standard model format in Inexor. Feb 16, 2018
@Fohlen
Copy link

Fohlen commented Feb 23, 2018

@a-teammate
Copy link
Contributor

We can use assimp as standalone tool (maybe as backend for a flex ui) to convert the models in an fast loadable format. But it is not a good choice for loading stuff fast, ive talked with their devs quite some time 3 years ago.

What they suggested fits precisely our general architecture with core being minimal: only support one model format in the backend (or at max two if there is really a specific thing a single format can not provide)
#499 sums the design up.
This issue here is about what the main model format should be of inexor. There can other ones be supported, but not as good as the main one probably. Assimp is just for the secondary model formats.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants