Skip to content

Question about mesh bounding box center discrepancy for powerplant model in ModelLoadSDKMESH.cpp #674

Description

@xtmacbook

Hello,

I have a question regarding ModelLoadSDKMESH.cpp.
When loading the powerplant model, I found a discrepancy in the computed bounding box center.

Two different implementations are being compared:

  1. The bounding box calculation logic inside ModelLoadSDKMESH.cpp
  2. The original SDKMesh loader used in the old DirectX 11 sample code

Both load the same powerplant model file, but the final merged scene bounding box center is different between these two code paths.

I want to figure out what could cause this difference.
Possible suspects I am checking:

  • Different handling of mesh local bounding box transform
  • Different AABB merging logic
  • Whether mesh bounding boxes are already pre-transformed when loaded from the SDKMESH file

Could you help point out what may lead to this bounding box center mismatch?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions