Add custom runtime-optimized 3D model format #867

Open
opened 2023-07-22 16:13:02 +00:00 by emidoots · 1 comment
emidoots commented 2023-07-22 16:13:02 +00:00 (Migrated from github.com)

Build:

  • Custom Mach blender plugin, not just for exporting models but for now only to do that.
  • A new custom runtime-optimized 3D model format for Mach.

glTF, Model3D, or other model formats are explicitly out of the picture.

glTF is terrible for performance and not designed to be a runtime-optimized format, its binary format includes JSON payloads 🤮

Other formats have various weird quirks for their intended purposes (which is totally fine) but long-term we will be better served by one tailored to our use cases.

Long term, we will have deeper blender integration, e.g. mach blender plugin that can directly export the optimized format, where our renderer understands blender materials to some approximation etc.

Build: * Custom Mach blender plugin, not just for exporting models but for now only to do that. * A new custom runtime-optimized 3D model format for Mach. glTF, Model3D, or other model formats are explicitly out of the picture. glTF is terrible for performance and not designed to be a runtime-optimized format, its binary format includes JSON payloads 🤮 Other formats have various weird quirks for their intended purposes (which is totally fine) but long-term we will be better served by one tailored to our use cases. Long term, we will have deeper blender integration, e.g. mach blender plugin that can directly export the optimized format, where our renderer understands blender materials to some approximation etc.
Atomk commented 2024-06-06 13:50:11 +00:00 (Migrated from github.com)

Why no longer Model3D? Just curious, reading their rationale it looks like a good candidate, even though it doesn't seem to be a very popular format (on their website Mach is listed as one of the four projects using the format). I understand the reasons you wrote here for discarding GLTF, but I could not find information on the decision about Model3D.

Why no longer Model3D? Just curious, reading their rationale it looks like a good candidate, even though it doesn't seem to be a very popular format (on their website Mach is listed as one of the _four_ projects using the format). I understand the reasons you wrote here for discarding GLTF, but I could not find information on the decision about Model3D.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#867
No description provided.