jPCT-AE - a 3d engine for Android > Support
Load Obj and mtl / Raw
(1/1)
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...
--- Code: ---Resources res = getResources();
Object3D[] objs = Loader.loadOBJ(res.openRawResource(R.raw.object), res.openRawResource(R.raw.material), 1);
--- End code ---
Navigation
[0] Message Index
Go to full version