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

查看:16
本文介绍了是否有关于在 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) 我可以缩放模型或将它们放入相机视口吗?做到这一点有多难?需要非常棒的数学技能吗?

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天全站免登陆