Loading model using Jeff Lamarches script

匿名 (未验证) 提交于 2019-12-03 02:38:01

问题:

I'm trying to load 3D model into scene using Jeff Lamarches python script to export 3D model into Objective C header file in Blender.

I'm using Blender version : 2.63a

Got Lamarche's script from here : https://github.com/jlamarche/iOS-OpenGLES-Stuff

What I did

  • Installed the script as it is described in instructions
  • Opened blender with default cube
  • Tried to export Objective C header file of the default 3D

The header file is generated without any vertex data, any idea why this happens ? Please provide any reference that might help me to load 3D model into iOS GL context with its texture.

回答1:

You must be in edit mode. Make sure you unwrap the cube and save the png and load it into xcode. If that doesn't work, also try while in edit mode, click mesh->faces->triangulate faces.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!