获得玛雅模型到iPhone玛雅、模型、iPhone

2023-09-07 22:54:18 作者:别打感情牌

什么是做到这一点的最好方法是什么?谷歌搜索显示了我一大堆方法,但什么是目前最好的?我会很乐意用刚刚得到玛雅人出口和在iPhone屏幕上呈现的模式,但我会火上浇油,如果有一种方法来呈现它,然后支持捏放大等。

What is the best way to do this? Googling has shown me a bunch of ways, but what is the current best? I'd be happy enough to just get the model exported from Maya and rendered on the iPhone screen, but I'd be stoked if there was a way to render it, then support pinch to zoom, etc.

非常感谢,刚刚完成我的第一个3D建模课了,我火上浇油!

Thanks a lot, just finished my first 3D modeling class today and I'm stoked!

推荐答案

好了,除非有人有一个更好的办法,我跟着这个帖子:的 http://heikobehrens.net/2009/08/27/obj2opengl/ 。它牵涉到输出模式作为OBJ,然后通过一个Perl脚本运行它把它转换为C语言结构的一个的.h

Well, unless someone has a better way, I followed this post: http://heikobehrens.net/2009/08/27/obj2opengl/ . It involves exporting the model as a .obj, then running it through a Perl script to convert it to a .h of C structures.