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

feat(voxel): Add 3D Storage Buffer / Texture streaming to 06_voxel_renderer

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust

調査の方向性

Start with examples/06_voxel_renderer/src/main.rs and shaders/voxel.wgsl to trace how get_voxel() supplies terrain, then read crates/lgpu/src/buffer.rs for storage buffer allocation and write_at(). The issue proposes a GPU backed voxel grid and mouse driven editing; done means the renderer streams voxel data and users can place and mine blocks interactively.

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

説明

enhancement help wanted
Summary

The real-time voxel renderer in examples/06_voxel_renderer currently evaluates procedural terrain directly in the fragment shader via get_voxel().

To enable an interactive voxel sandbox where users can place and mine blocks in real time, the world volume can be backed by a GPU storage buffer or 3D storage image.

Proposed Architecture
  1. Allocate an lgpu::Buffer with BufferUsage::STORAGE representing the voxel grid (e.g., 28 \times 64 \times 128$ bytes $\approx 1$ MB).
  2. Register the buffer into lgpu's global bindless descriptor heap (buffer.id()).
  3. Access the storage buffer in voxel.wgsl using the bindless ID.
  4. Add mouse click handling to pick the targeted voxel and update it dynamically on the GPU using buffer.write_at().
Relevant Code
  • examples/06_voxel_renderer/src/main.rs
  • examples/06_voxel_renderer/shaders/voxel.wgsl
  • crates/lgpu/src/buffer.rs
主要言語
Rust
スター
8
フォーク
1
平均マージ
1時間 45分
マージ済み PR(30日)
6

環境構築

はじめの一歩

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

kuntal-devrat/lgpu のほかの issue

kuntal-devrat/lgpu の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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