是否有关于在iPhone上的openGL ES中加载3D模型的教程? [英] Is there an tutorial on loading an 3D model in openGL ES on the iPhone?

查看:78
本文介绍了是否有关于在iPhone上的openGL ES中加载3D模型的教程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚才开始玩一些3D建模师。现在我很好奇:我怎样才能将这样的3D模型带到iPhone或iPad上,以便我可以在屏幕上看到它,甚至可以用手势旋转它?

I've started to play around with some 3d modelers a while ago. Now I'm curious: How can I bring such an 3D model to the iPhone or iPad, so that I can see it on screen and maybe even rotate it with gestures?

1)3D模型的最佳文件格式是什么?

1) What's the best file format for the 3D models?

2)如何将特定的3D模型文件加载到openGL ES中然后渲染它?

2) How would I load a particular 3D model file into openGL ES and then render it?

3)我如何将材料应用于多边形,即使模型显示为红色?

3) How would I apply an material to the polys, i.e. to make the model appear red?

4)该模型有一些中心或枢轴点,我可以轻松地旋转它?或者我是否需要令人难以置信的怪异数学技能来自我改造3D空间中的所有椎体?旋转东西有多难?

4) Does the model have some sort of center or pivot point where I can rotate it easily around? Or do I need incredible freakin' math skills to transform all the vertecies in 3D space myself? How hard is it to rotate something?

5)我可以缩放模型或将它们放入相机视口吗?这有多难?需要Freakin'真棒的数学技能?

5) Can I scale models or fit them into the camera viewport? How hard is that to do? Freakin' awesome math skills needed?

5)openGL ES是否支持某种带有可应用于模型或材质的渐变和效果的着色器树模型?

5) Does openGL ES support some kind of shader tree model with gradients and effects that can be applied to the model or material?

如果有人可以为知道3D但却不了解OpenGL ES的人指出快速入门指南,那会很高兴。也许有人已经就这个话题做了很好的教程?

Would be so happy if someone can point out an quick starting guide for people who know 3D, but don't know OpenGL ES. Maybe someone already made a great tutorial on this topic?

推荐答案

怎么样在OpenGL ES中使用Blender的3D模型

这篇关于是否有关于在iPhone上的openGL ES中加载3D模型的教程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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