Load Obj and mtl / Raw

Started by Bin, March 03, 2013, 11:03:25 PM

Previous topic - Next topic

Bin

Hy,

i have put my Obj and mtl Files in the Raw Folder.
How can i load that files?

Thanks
Sample would be great

Thomas.

Here you are...
Resources res = getResources();
Object3D[] objs = Loader.loadOBJ(res.openRawResource(R.raw.object), res.openRawResource(R.raw.material), 1);