processing / processing/libprocessing
Implement `Geometry` API Object
未關閉
還沒有人認領這個 Issue。
- 主要語言
- Rust
- 星號
- 69
- 分支
- 14
- 平均合併
- 15 天 22 小時
- 30 天內合併 PR
- 3
描述
We need to implement that basis for PShape. Let's steal the name from p5 and call this Geometry. Shape is kind of a weird term. Really, this is vertex data and we typically don't refer to 3d models as "shapes."
In Processing4, Shape contains Phong material info in its vertex layout. We definitely don't want to do this because we want to support materials as a first class API.
Steps:
- Make it loadable as a Bevy
Mesh. - Add lifecycle methods.
- Build APIs for interacting with vertex layout, defining vertex attributes, etc.
- Add support for modifying CPU side vertex data.
- Add vertex buffer readback support. This is going to be a bit tricky as Bevy packs multiple meshes into vertex buffer slabs.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
此 issue 未指定檔案或測試;請先檢視描述中提到的 Processing PShape 參考與 Bevy Mesh 整合。完成條件是 Geometry 能夠作為 Bevy Mesh 載入,並提供生命週期、vertex-layout、CPU 端資料與 vertex-buffer 讀回 API。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- rust
- 領域
- computer-graphics
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100