Object3D[] levelParts = Loader.load3DS("3ds" + File.separator + "Full_final_Light.3DS", 0.02f);
level = new Object3D(0);
glass = new Object3D(0);
for (int i = 0; i < levelParts.length; i++) {
Object3D part = levelParts [ i ];
part.setCenter(SimpleVector.ORIGIN);
part.rotateX( (float) - Math.PI / 2);
part.rotateMesh();
part.setRotationMatrix(new Matrix());
if (!part.getName ().startswith ("Box62"))
level = Object3D.mergeObjects(level, part);
else
glass = Object3D.mergeObjects(glass, part);
}
glass.setTransparency (1);