You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would be interested in this too. I didn't have any luck parsing basic objects created using the instructions posted in a previous issue. Unfortunately I do not know enough about obj files to correct or improve the parser.
I can't parse and get this .obj file (http://depositfiles.com/files/sq3ldakif ) (http://depositfiles.com/files/8xrctkf0f )(mtl)
Code:
ObjParser objParser = new ObjParser(mContext.getResources(), mTextureManager, R.raw.mesh092_obj);
objParser.parse();
mObjectGroup = objParser.getParsedObject();
mObjectGroup.addLight(mLight);
addChild(mObjectGroup);
android:minSdkVersion="12"
Error:
04-24 18:10:10.575: E/AndroidRuntime(19374): java.lang.ArrayIndexOutOfBoundsException: length=88258; index=-32767
04-24 18:10:10.575: E/AndroidRuntime(19374): at java.util.ArrayList.get(ArrayList.java:306)
04-24 18:10:10.575: E/AndroidRuntime(19374): at rajawali.parser.ObjParser.parse(ObjParser.java:194)
04-24 18:10:10.575: E/AndroidRuntime(19374): at master.unict.it.RajawaliTestRender.initScene(RajawaliTestRender.java:60)
The text was updated successfully, but these errors were encountered: