PDA

View Full Version : Upload 3D model



Inquirer
07-19-2010, 11:00 AM
Hi

I was wondering how to upload an existing 3d model (.3ds or .obj) to the android plantform using OpenGL.

Thanks

Zarniwoop
07-19-2010, 04:52 PM
Hi,

I've done something like that recently, and I had to write my own code to parse the model files and create vertex buffer objects from them. Maybe there are "canned" solutions, I don't know.

It isn't hard, obj is a very simple format. But it would be nice if this feature existed in a "standard" add on library for GL. (Maybe it already does? Somewhere?)

Inquirer
07-26-2010, 03:22 PM
I was hoping it existed in a standard library :(

Thanks for the information :)

Kimmi
07-28-2010, 04:12 AM
You ca try to port the following library onto the Android operating system. Its written using C/C++ and was ported on many other operation systems already:
http://assimp.sourceforge.net/

Greetings,
Kimmi