-
-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assimp supported formats enabled by default #2053
Comments
Nice! To be fair we focused on specific formats and I dont thing we ever tried these formats. Please note you will also need to find a small data to test with and add a test, as well as finding out the right configuration for the format.
As long as assimp report an error and does not crash, its fine I suppose. |
Related to #38 |
BTW we have a discord if you want to discuss the way forward: https://discord.f3d.app |
If this Quake MDL ? It is currently being adressed here: #1591 |
Ah no i just meant .mdl as an extension is murky because you have QMDL and HLMDL which is then split again in source1 mdl and source2 mdl for valve source engine versions - assimp also only supports quake mdl - but if that's handled on the vtk side i guess it really doesn't need to be enabled on the assimp plugin side then! |
Good! Then I take it that you will try to expose the formats you listed ? @incompetentcoder |
I simply added them to the formats.xml and assimp.json and cmakelists - i haven't verified the mimetype information and smd probably needs z up in the config but here's the simple thing i just did to check https://gist.github.com/incompetentcoder/2de014a6545a67a8b0cfbd4010940676 |
Thanks! I meant to open an actual PR though, and to follow to contribution process: https://github.com/f3d-app/f3d/blob/master/CONTRIBUTING.md What do you think ? |
Ah, I can fork and submit a PR, sure. Mostly my intention was just asking whether it's even an option to just enable more formats via assimp plugin or whether the goal is to provide more via f3d/vtk itself. I suppose it would be prudent to then have cmake flags to enable/disable all the assimp plugin formats individually and maybe test all formats assimp supports for whether they work and have a comprehensive list |
Interestng approach but no, we dont plan to have assimp specific options to turn on or off formats. We want to provide well tested formats through assimp in f3d and in the f3d binaries we ship. This is why we only enabled the one that mattered a lot and that we were able to test. If you are able to test the format you mentionned and to provide good test file for CI, then its good to enable them! |
Hello, thanks for f3d first of all!
I have been playing around with assimp formats for some time and I found the following to be working fine without issue and easy to enable by default maybe? adding them to the xml and config and cmakelists isn't much work for sure but i haven't found a single failing model for the following formats:
mdl is a bit trickier since there's many differend kinds of mdl and assimp does not support them all.
The text was updated successfully, but these errors were encountered: