feat: add OBJ model loading with normals, tangents, and file dialogs #66

Merged
akadmin merged 1 commit from feature/obj-model-loading-with-normals into main 2026-04-13 02:34:21 +00:00
Owner

Closes #13

  • Extend MyVertex with normal/tangent/bitangent fields (serde default for
    backward compat); update all geometry primitives with analytic values
  • Add src/geometry/model.rs: tobj-based OBJ loader with flat-normal fallback,
    UV-space tangent formula, and Gram-Schmidt orthogonalisation
  • Add LoadObjCommand: first group populates the triggering entity, remaining
    groups spawn as siblings (fixes N+1 entity bug)
  • Add MeshSource component and AddMeshSourceCommand; wire into serialization
  • Add AssetKind::Model and AssetManager::import_model
  • Add rfd file dialogs to MeshSource (OBJ) and TextureComponent (images) in
    the inspector
  • Add moriKnob.obj/mtl sample asset; add ADR-0010

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Closes #13 - Extend MyVertex with normal/tangent/bitangent fields (serde default for backward compat); update all geometry primitives with analytic values - Add src/geometry/model.rs: tobj-based OBJ loader with flat-normal fallback, UV-space tangent formula, and Gram-Schmidt orthogonalisation - Add LoadObjCommand: first group populates the triggering entity, remaining groups spawn as siblings (fixes N+1 entity bug) - Add MeshSource component and AddMeshSourceCommand; wire into serialization - Add AssetKind::Model and AssetManager::import_model - Add rfd file dialogs to MeshSource (OBJ) and TextureComponent (images) in the inspector - Add moriKnob.obj/mtl sample asset; add ADR-0010 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: add OBJ model loading with normals, tangents, and file dialogs
All checks were successful
CI / build (pull_request) Successful in 9m15s
72f9a4ebc6
Closes #13

- Extend MyVertex with normal/tangent/bitangent fields (serde default for
  backward compat); update all geometry primitives with analytic values
- Add src/geometry/model.rs: tobj-based OBJ loader with flat-normal fallback,
  UV-space tangent formula, and Gram-Schmidt orthogonalisation
- Add LoadObjCommand: first group populates the triggering entity, remaining
  groups spawn as siblings (fixes N+1 entity bug)
- Add MeshSource component and AddMeshSourceCommand; wire into serialization
- Add AssetKind::Model and AssetManager::import_model
- Add rfd file dialogs to MeshSource (OBJ) and TextureComponent (images) in
  the inspector
- Add moriKnob.obj/mtl sample asset; add ADR-0010

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
akadmin deleted branch feature/obj-model-loading-with-normals 2026-04-13 02:34:21 +00:00
Sign in to join this conversation.
No reviewers
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
akadmin/NemesisEngine!66
No description provided.