This is a small post about getting Blender objects in to iOS using the Obj file format.
First off, below is a fantastic tutorial on how to do it.
This tutorial shows you how to export a Obj from Blender and convert it in to header files to use directly in to your iOS source.
The issue comes when you try to make your own object (I picked a cylinder) and convert it using the OSX tool it gets you to create. Every object I made, crashed the tool.
For it to work you need to apply UV (surface/mesh) co-ordinates. For someone who knows very little about 3D stuff, this caught me out.
- Select the object and press Tab (so the Mesh menu is available)
- Press U
- Select Smart UV
- Press OK.
I have no idea what it does but it does allow me to export my object and convert it using the Tool created in the link above 🙂