I checked the model in Windows and I can view it perfectly. I also checked the maxPolysVisible, the constant defined is 512 and the number of sub-object is only 241. I tried to increase it to 1024 but nothing difference.
This is the screen shoot:
https://imgur.com/a/uQZcJaUIt look like the camera is too near the object. I used
Camera.moveCamera(Camera.CAMERA_MOVEOUT, speed)
to move camera far-away but there is no result.
Here is my desktop source to serialize the model:
Object3D[] obj = Loader.load3DS("car.3ds", 1);
for (int i = 0; i < obj.length; i++) {
obj[i].build();
}
new DeSerializer().serializeArray(obj, new FileOutputStream("car.ser"), true);
Android source to load model:
zis = new ZipInputStream(assMan.open("models/car.ser.zip"));
zis.getNextEntry();
Object3D[] objs = Loader.loadSerializedObjectArray(zis);
Object3D o3d = Object3D.mergeAll(objs);
Log.d(TAG, "Num of sub object: " + objs.length); // THIS LOGGED 241 SUB-OBJECTS
o3d.build();
world.addObject(o3d);
Camera cam = world.getCamera();
cam.moveCamera(Camera.CAMERA_MOVEOUT, 2000);
cam.lookAt(o3d.getTransformedCenter());
I also attached desktop log of serializing the model as well as android log of loading it. You can see it if you want more information.
Thank you very much indeed!