可以获取 o3d.Shape 的顶点和索引吗?

发布于 2024-10-08 11:46:47 字数 132 浏览 0 评论 0原文

我正在将 o3d webgl 库与 chrome nightly 和雷区一起使用。我正在寻找知道如何从 o3d.Shape 对象获取顶点和索引的人。我想这样做的原因是这样我可以利用最新发行版的拾取演示中的原始对象。

提前致谢, 克里斯

I am using o3d webgl library with chrome nightly and minefield. I am looking for someone who knows how I can obtain the vertices and indices from an o3d.Shape object. The reason why I would like to do this is so that I can utilize the primitive objects within the picking demo from the latest distribution.

Thanks in advance,
Chris

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

〆一缕阳光ご 2024-10-15 11:46:48

您不需要顶点或索引,对象可以直接添加到场景中并由拾取管理器拾取

You dont need to vertices or indices, the object can be added to the scene directly and is picked up by the picking manager

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文