Drawing a 3D cube and rotating it [duplicate]

浪尽此生 提交于 2019-12-11 02:16:23

问题


For an iOS app I want to draw a 3D cube and be able to rotate it with swipe gestures. Where can I find a tutorial or something for such a basic scenario? All I can find are deep reads for openGL but I think there must be something easier?


回答1:


Cocos3d is a good framework to start with, and rather simple to use. Check the demo for examples, I think they have a rotating object inside as well.




回答2:


You can watch this tutorial..... http://www.raywenderlich.com/3664/opengl-es-2-0-for-iphone-tutorial



来源:https://stackoverflow.com/questions/15572493/drawing-a-3d-cube-and-rotating-it

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!