Improve terrain rendering
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 44/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
調査の方向性
Start by running the Bepu sample and selecting its heightfield scene to reproduce the terrain triangles being culled near the bottom of the screen. Read the heightfield model component and the sample's terrain material setup; the issue describes uniform subdivision and built-in Phong tessellation as the relevant options. Done means providing an alternative tessellator or terrain mesh generation method that handles large height changes and avoids the premature culling.
索引モデルが issue の本文から書いたものです。
説明
Stride version
Latest git
Platforms
Windows, Linux, Android, macOS, iOS, Game Studio (editor)
Graphics API
No response
What happens
The idea with PR #3758 was to get physics working and provide a fairly simple and straightforward rendering package that users or maintainers can build on top of.
As of writing, the heightfield model component is a uniformly dense plane that can be stretched on the whole field or around the camera. The sample comes with a default setup for the terrain material using the built-in phong tessellation to effectively act as a dumb LOD for terrain detail. Our phong is very aggressive when culling, it doesn't expect any change in height from generated vertices, meaning that triangles that are near the frustum and with a significant slope may be culled too early, as can be seen in the video below.
This is not necessarily a show stopper as users my increase the uniform subdivision on the component and remove tessellation to fix this issue, but it would be nice to provide an alternative tessellator that expects large changes in height, or implement one of the many existing methods for terrain mesh generation.
Steps to reproduce
- Spawn bepu sample after #3919 is merged in
- Run the sample
- Select the heightfield scene
- Notice the triangles intersecting with the bottom of the screen occasionally being culled
Log and callstack
Screenshots and other details
No response
- 主要言語
- C#
- スター
- 8k
- フォーク
- 1.2k
- 平均マージ
- 2日 7時間
- マージ済み PR(30日)
- 316
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
stride3d/stride のほかの issue
-
`.gitignore` isn't created for sample projects対応中かも @ferafiks が 1 日前に担当しました。 オープンarea-Asset area-GameStudio area-Samples bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
area-Build bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
area-Samples enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stride3d/stride#3386 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
area-Physics bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
stride3d/stride#3384 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area-Samples bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
stride3d/stride#3066 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
stride3d/stride の issue をすべて見る
似ている issue
-
area: scaffold status: needs-tests
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
NimblePros/Metronome#23 ·
-
要トリアージ
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
unoplatform/uno#26709 ·
メンテナーはふだん 1 日以内に返信
-
area-Tools-ILLink untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
dotnet/runtime#138255 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信