Quote:
Originally Posted by flamingliquid
Export Blender > Perl Script (Creates header file) > import Header into OpenGL
Thats what I thought about the normals, but in the header file I don't see any sort of normal array, only indications that one should be there. Am I exporting it incorrectly into OBJ from Blender?
|
You should be exporting your models as indexed arrays suitable for using glDrawElements.
I am not familiar with Blender so I don't really know what Header/OpenGL exporting does but here is a script which is iPhone specific:
iPhone Development: Improved Blender Export