By shomikghosal
on Tue, 10/02/2012 - 17:18
In the sample iOS project for ImageTargets, there is a file called "Teapot.h" that has all of the vertices, indices, textCoords, and normals. These numbers were obviously generated. In Unity, I have created a new 3D object, and I would like to replace the teapot with it. How do I generate these numbers from my new 3D object?
3D data generation
Well you need a program that exports 3d models into .h format.
3D data generation
There is not a native solution for exporting OBJ files from Unity, though the Unity developer community has apparently worked up a few solutions - http://answers.unity3d.com/questions/11538/how-can-i-export-3d-model-from-unity3d-file.html