Does anyone have any experience converting LW Objects into a format for OpenGL ES.
This is the hardware accelerated format for Apple’s iPhone SDK. I found a short sample code on the iPhone developer’s website @ http://developer.apple.com/iphone/index.action listed under “Sample Code>GLteapot” that runs a 3D model of the OpenGL teapot in real time 3d. (you have to register to login…)
This sample code package includes a header file labled, “teapot.h” which includes the data for the teapot vertices, normals, etc. under “float teapot_vertices [] = {, float teapot_normals [] = {, ect.”
Is there a way that I could convert one of my own LW model’s data into this format? The sample code simply allows the user to spin/rotate the teapot object around similar to a QTVR experience. Although I don’t even own and iPhone, I’m still interested in toying with the iPhone SDK. Unfortunately OpenGL doesn’t run in the SDK emulator (yet…), but that’s another issue 