nmwsharp / nmwsharp/polyscope

Enhance mouse click return

未关闭
#147 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement Python
主要语言
C++
星标
2.2k
派生
242
平均合并
11 分钟
30 天内合并 PR
1

描述

Currently polyscope.get_selection() in python only returns the face/cell you clicked on. It would be super useful for animation and interaction if we could additionally get just a little more info like the position on the mesh of our click!

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 Python 入口 polyscope.get_selection() 开始,跟踪鼠标拾取如何到达 C++ 查看器。确定点击位置应如何表示,以及如何与选中的面或单元一起返回;issue 中没有指定文件或测试,因此应根据选择 API 的行为检查完成情况。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp, python
领域
api, computer-graphics
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。