Reputation: 9865
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
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.
Upvotes: 0
Views: 412
Reputation: 1010
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.
Upvotes: 1