Monday 26 October 2009

The Art of NSLog

Ever wanted to know how to disable debug messages in release mode? How to print out the name of the current function that is being called? The current line in the source code?

All this can be done with the help of NSLog and some macros.


Thursday 15 October 2009

Exporting Objects from Blender into Your iPhone App

As OpenGL ES provides no standard format for importing 3D meshes, you will need external tools to display non-trivial 3D meshes in your app. Blender is a well-known open-source 3D modeling tool (of course you can do almost everything else 3D-related).

Here is a good tutorial which shows you how to export your meshes from blender to a format that can be used in OpenGL ES applications, for instance on the iPhone: