AliceVision icon indicating copy to clipboard operation
AliceVision copied to clipboard

[FR]: Save/export to glTF (.glb)

Open RafaelLinux opened this issue 4 years ago • 8 comments

I'm sure it's a hard work, but adopt open and updated technologies should be a priority to make Meshroom better. So, I propose that glTF to be the default 3D model format instead OBJ. OBJ

  • Has a limited feature set,
  • Is inefficient in terms of storage space and the ability to quickly read and write data, and as consequence, loading and viewing it in a web browser it's very slow. glTF
  • Has a very rich set of features.
  • Is very efficient at transferring 3D model data
  • Adopted in Blender
  • A growing set of software, industries and sites are adopting as a standard (Blender, Clara.io, Godot, Sketchfab, Threejs, Facebook ...)

I have no idea about how to do it, cause I'm not a C/C++ programmer, but I'm sure to adopt glTF as default format will make Meshroom the choice for all 3D creator.

Thank you

RafaelLinux avatar Aug 26 '19 10:08 RafaelLinux

Interesting. https://github.com/KhronosGroup/glTF

https://github.com/microsoft/glTF-SDK

natowi avatar Aug 26 '19 16:08 natowi

Any update on this @RafaelLinux? 🤔

TheShubham99 avatar Jun 27 '20 12:06 TheShubham99

Really it seems my question was not interesting for developers, cause no one replied 10 months ago

:/

RafaelLinux avatar Jul 05 '20 00:07 RafaelLinux

It is interesting, but we have limited resources and many other ideas/ features to implement. At the moment the focus is on finishing MR2020.1.

natowi avatar Jul 05 '20 05:07 natowi

Yes it would great to have. It was already in our big dream-list backlog! As it is independent from the pipeline, it would be a perfect feature for a developer who wants to contribute for the first time. If someone is seeing this 🙂

fabiencastan avatar Jul 05 '20 08:07 fabiencastan

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 01 '21 00:07 github-actions[bot]

Assimp supports obj and gltf among many others. http://github.khronos.org/glTF-Project-Explorer/ And we can use it also to replace all the code for obj and ply in case

simogasp avatar Jul 01 '21 09:07 simogasp

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 27 '22 00:06 github-actions[bot]

I identified an issue in the CMake files that prevents assimp from building with GLTF support. I will follow up shortly with a PR to fix that. While this does not make GLTF the default, but a simple change in the Meshroom pipelines would make this happen.

hammady avatar Mar 04 '23 19:03 hammady

Created the required PRs as noted above.

hammady avatar Mar 04 '23 20:03 hammady