Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#674 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
cpp

調査の方向性

Start by comparing the bounding-box handling in ModelLoadSDKMESH.cpp with the original SDKMesh loader from the old DirectX 11 sample, using the powerplant model as the reproduction case. Trace local bounding-box transforms, AABB merging, and whether SDKMESH-loaded boxes are pre-transformed; done means identifying the cause of the differing merged-scene center.

索引モデルが issue の本文から書いたものです。

説明

question

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!

主要言語
C++
スター
2.9k
フォーク
537
平均マージ
2日 21時間
マージ済み PR(30日)
6

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/DirectXTK のほかの issue

microsoft/DirectXTK の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。