如何转换搅拌机混合(或OBJ)文件Qualcom Vuforia .h文件中 [英] How to convert Blender blend (or obj) file to Qualcom Vuforia .h file

查看:604
本文介绍了如何转换搅拌机混合(或OBJ)文件Qualcom Vuforia .h文件中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个iOS应用程序与增强现实使用高通公司Vuforia我了解如何从搅拌机(或其他软件)创建3D模型有困难。所有的例子都使用.h文件与顶点的坐标来生成,即一个茶壶。 我找不到有用的文件给我。 是否有工具来转换.blend或.OBJ文件的.h(OpenGL ES的)?

I'm developing an iOS app with augmented reality using Qualcomm Vuforia and I have difficulty in understanding how to create 3D models from Blender (or other softwares). All the examples use .h files with the coordinates of the vertices to generate i.e. a teapot. I can not find documentation useful for me. Is there a tool to convert .blend or .obj files to .h (OpenGL ES)?

感谢

推荐答案

我开发了一个叫做脚本 mtl2opengl 这不正是你需要的基础上,项目 obj2opengl 。该脚本是 .OBJ 并.mtl文件,我认为可以从搅拌机直接出口,并产生 .H 顶点数据文件。我在我的iOS增强现实应用的广泛使用(虽然我还没有使用的Vuforia SDK还)和附带的资源,包括样本X code项目了。希望它可以帮助!

I developed a script called mtl2opengl that does exactly what you need, based on the project obj2opengl. The script works with .obj and .mtl files, which I think can be exported straight from Blender, and produces .h files with vertex data. I use it extensively in my iOS augmented reality applications (though I haven't used the Vuforia SDK yet) and the accompanying resources include a sample Xcode project too. Hope it helps!

这篇关于如何转换搅拌机混合(或OBJ)文件Qualcom Vuforia .h文件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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