Hey, calculating normals on the iphone would be a waste time, the normals are already pre-calculated and sitting in the .obj file you exported. The only thing I am confused about is.. Why are you using the perl script to further parse the data? What is your setup right now, do you export from blender and then use the perl script to put the data into a format you can understand? Anyways, I read through the perl script and basically it prints the vertex data, then the normal data and then the texture coords. So you should already have all the data you need. Let me know what your setup is so I can help more with this.
|