如何用cocos3D实现顶点蒙皮

发布于 2024-12-27 10:38:23 字数 268 浏览 4 评论 0原文

我需要使用骨骼动画来实现身体的顶点蒙皮。 我的项目是用cocos2D编写的,所以我选择的解决方案是使用cocos3D和顶点蒙皮。 我查看了 cocos 0.6.5 存档中的示例,但示例仅显示了如何从 POD 文件加载动画。 相反,我想手动构建骨架,创建 CCSkinMeshNode 并使用我自己的算法对其进行动画处理(无需在 3D 编辑器中构建 3D 模型)。

我用谷歌搜索,但找不到任何描述如何在 cocos3d 中使用骨架、骨骼的文档或示例。

或者我应该尝试使用 OpenGL 代码?

I need to implement vertex skinning of a body using skeletal animation.
My project is written in cocos2D, so the solution, i've chosen is to use cocos3D and vertex skinning.
I looked into the examples in cocos 0.6.5 archive, but example shows only how to load animation from POD file.
Instead of this I want to construct skeleton manually, create CCSkinMeshNode and animate it using my own algorithms(without building 3D model in 3D-editors).

I googled it, but couldn't find any documentation or examples that describe how to work with skeleton, bones in cocos3d.

Or may be i should try to use OpenGL code?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文