feat(voxel): Add 3D Storage Buffer / Texture streaming to 06_voxel_renderer
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- computer-graphics
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Allocate an
lgpu::BufferwithBufferUsage::STORAGErepresenting the voxel grid (e.g., 28 \times 64 \times 128$ bytes $\approx 1$ MB). - Register the buffer into
lgpu's global bindless descriptor heap (buffer.id()). - Access the storage buffer in
voxel.wgslusing the bindless ID. - 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.rsexamples/06_voxel_renderer/shaders/voxel.wgslcrates/lgpu/src/buffer.rs
- Ngôn ngữ chính
- Rust
- Star
- 8
- Fork
- 1
- Merge trung bình
- 1 giờ 45 phút
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của kuntal-devrat/lgpu
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 42/100
kuntal-devrat/lgpu#4 ·
Tất cả issue của kuntal-devrat/lgpu
Issue tương tự
-
Published SDL drops input-field default values: a non-null field with a default renders as requiredĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
色変記事を追加Đang mởpriority middle
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
KATO-Hiro/AtCoderClans#12955 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
auto:doc-drift auto:producer
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
fritzprix/libr-agent#2458 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Flaky test: terminal parity an_exited_shell_says_how reads status before the exit is seenCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
yantrikos/yantrik-os#1048 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
rust
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
vllm-project/vllm#64939 ·
Maintainer thường phản hồi trong vòng 1 ngày