你如何用OpenGLES绘制圆柱体? [英] How do you draw a cylinder with OpenGLES?

查看:94
本文介绍了你如何用OpenGLES绘制圆柱体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用OpenGLES绘制圆柱体?

How do you draw a cylinder with OpenGLES?

推荐答案

您需要通过对象加载来完成。你无法使用Open GL ES调用3D形状基元。

You'll need to do it via object loading. You can't call on 3D shape primitives using Open GL ES.

通过Jeff Lamarche的博客,有很多关于如何在那里加载对象的非常好的资源。 链接文字

Look through Jeff Lamarche's blog, there's lots of really good resources on how to object load there. link text

这篇关于你如何用OpenGLES绘制圆柱体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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