feat(examples): Add polygonal chunk mesher with Greedy Meshing
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
Start by reading examples/06_voxel_renderer and the cited depth pipeline, indexed draw, and buffer initialization APIs. Add a complementary example that builds indexed quad meshes from voxel chunks using greedy meshing and demonstrates dynamic rendering with a depth buffer. Done means the example runs and shows the polygonal voxel chunk mesher described in the issue.
索引モデルが issue の本文から書いたものです。
説明
Summary
Currently, examples/06_voxel_renderer showcases voxel raymarching via DDA in a fragment shader.
A great complementary example would be a classic polygonal chunk mesher that generates indexed 3D quad meshes from voxel chunk arrays using Greedy Meshing (combining coplanar adjacent faces into single quads).
What this demonstrates:
lgpudynamic rendering with a dedicated depth buffer (TextureFormat::Depth32Float).- Structured vertex & index buffer allocation using
device.create_buffer_init_slice(). - Drawing with
encoder.draw_indexed_with_depth(). - A real-world reference for game developers building block games or voxel engines with
lgpu.
Relevant APIs
lgpu::Device::create_graphics_pipeline_with_depthlgpu::CommandEncoder::draw_indexed_with_depthlgpu::BufferUsage::VERTEX/INDEX
- 主要言語
- Rust
- スター
- 8
- フォーク
- 1
- 平均マージ
- 1時間 45分
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kuntal-devrat/lgpu のほかの issue
-
enhancement help wanted
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
kuntal-devrat/lgpu#2 ·
kuntal-devrat/lgpu の issue をすべて見る
似ている issue
-
auto:doc-drift auto:producer
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
fritzprix/libr-agent#2458 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
yantrikos/yantrik-os#1048 ·
メンテナーはふだん 1 日以内に返信
-
rust
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
vllm-project/vllm#64939 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信