16
Support / Obj Loader!!!
« on: May 03, 2014, 12:01:48 pm »
Hi,
I am trying to load obj with mtl file.
Thanks.
I am trying to load obj with mtl file.
Code: [Select]
Object 3D[] obj = Loader.loadObj("level.obj", "level.mtl", 1f);
level = obj[0];
level.buil();
world.addObject(level);
I am getting error in second line, array index out of bound.Thanks.