Implement `Geometry` API Object
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- rust
调研方向
该 issue 未指定文件或测试;请先查看描述中提到的 Processing PShape 参考和 Bevy Mesh 集成。完成标准是 Geometry 能够作为 Bevy Mesh 加载,并提供生命周期、vertex-layout、CPU 端数据和 vertex-buffer 读回 API。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Rust
- 星标
- 69
- 派生
- 14
- 平均合并
- 15 天 22 小时
- 30 天内合并 PR
- 3
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
processing/libprocessing 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
processing/libprocessing#233 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
processing/libprocessing#229 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
processing/libprocessing#201 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
processing/libprocessing#194 ·
-
documentation
难度 2/5 1-3 小时 新手友好度 72/100
processing/libprocessing#146 · 1 条评论 ·
查看 processing/libprocessing 的全部 Issue
相似的 Issue
-
todo:perf
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 88/100
-
ACP agents get no MCP servers when the thread is created before the project's first worktree loads 未关闭state:needs triage
难度 2/5 1-3 小时 新手友好度 88/100
zed-industries/zed#64611 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
ontola/atomic-server#1625 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
objectionary/phie#154 ·