Viewing this model in AR mode on Android causes Scene Viewer to crash
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- android, typescript
- 領域
- ar-vr-xr, mobile-dev
調査の方向性
まず、添付された Light.zip モデルを使って Android Scene Viewer でクラッシュを再現し、その後、Y=0 以下のジオメトリに対して AR カメラの near および far plane の値がどのように計算されるかを追跡します。モデルが、報告された Filament の assertion やクラッシュなしに AR モードで開くこと(地面の平面より上に頂点が1つもない場合も含む)が完了の条件です。
索引モデルが issue の本文から書いたものです。
説明
I have pinpointed the issue to the fact that this model has no vertices above the Y=0 ground plane. If I create another version of the file with all the vertices shifted a tiny amount above the Y=0 plane, or a version with the transform itself shifted up a tiny amount, then it no longer crashes. I think it's because it's using only the mesh data found above the Y=0 plane to calculate the near and far plane values for the camera, but since there isn't any, it uses near=0 and far=0 and then Filament crashes.
04-21 13:46:24.330 E Filament: reason: Camera preconditions not met in setCustomProjection(): near = far = 0
04-21 13:46:24.485 F libc : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL)
- 主要言語
- TypeScript
- スター
- 8.4k
- フォーク
- 964
- 平均マージ
- 5日 11時間
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google/model-viewer のほかの issue
-
AR not offered in DuckDuckGo iOS (`Ddg/` UA), Ecosia iOS, and Firefox for Android対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
google/model-viewer#5227 ·
メンテナーはふだん 4 日以内に返信
-
Normal maps are inverted with KHR_materials_variants対応中かも @mmporong が 12 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
google/model-viewer#5218 ·
メンテナーはふだん 4 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
google/model-viewer#5210 · コメント 14 件 ·
メンテナーはふだん 4 日以内に返信
-
Helpオープン
難易度 2/5 1時間未満 初心者へのやさしさ 12/100
google/model-viewer#5206 ·
メンテナーはふだん 4 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
google/model-viewer#5203 ·
メンテナーはふだん 4 日以内に返信
google/model-viewer の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Bug Nethernet Tests
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JSPrismarine/JSPrismarine#3949 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
withkarann/aifoxx#504 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信