如何用cocos3D实现顶点蒙皮
我需要使用骨骼动画来实现身体的顶点蒙皮。 我的项目是用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论