绘制一个三维立方体和旋转它 [英] Drawing a 3D cube and rotating it

查看:446
本文介绍了绘制一个三维立方体和旋转它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关iOS应用程序我想画一个3D立方体,并能够用滑动手势,旋转。我在哪里可以找到一个教程什么的这样一个基本的场景?所有我能看到的是深读的OpenGL,但我想一定有什么更容易?

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?

推荐答案

Cocos3d 是一个很好的框架,首先,和相当简单易用。检查演示的例子,我觉得他们有一个旋转物体内也是如此。

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.

这篇关于绘制一个三维立方体和旋转它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆