/** Directly load the model on the calling thread. The model with not be managed by an {@link AssetManager}. */ public Model loadModel (final FileHandle fileHandle, TextureProvider textureProvider) { return loadModel(fileHandle, textureProvider, null); }
/** Directly load the model on the calling thread. The model with not be managed by an {@link AssetManager}. */ public Model loadModel (final FileHandle fileHandle, TextureProvider textureProvider) { return loadModel(fileHandle, textureProvider, null); }
/** Directly load the model on the calling thread. The model with not be managed by an {@link AssetManager}. */ public Model loadModel (final FileHandle fileHandle, P parameters) { return loadModel(fileHandle, new TextureProvider.FileTextureProvider(), parameters); }
/** Directly load the model on the calling thread. The model with not be managed by an {@link AssetManager}. */ public Model loadModel (final FileHandle fileHandle, P parameters) { return loadModel(fileHandle, new TextureProvider.FileTextureProvider(), parameters); }
/** Directly load the model on the calling thread. The model with not be managed by an {@link AssetManager}. */ public Model loadModel (final FileHandle fileHandle) { return loadModel(fileHandle, new TextureProvider.FileTextureProvider(), null); }
/** Directly load the model on the calling thread. The model with not be managed by an {@link AssetManager}. */ public Model loadModel (final FileHandle fileHandle) { return loadModel(fileHandle, new TextureProvider.FileTextureProvider(), null); }
@Override public void create () { super.create(); ModelLoader g3djLoader = new G3dModelLoader(new JsonReader()); model = g3djLoader.loadModel(Gdx.files.internal("data/g3d/btscene1.g3dj")); disposables.add(model); importer = new MyImporter((btDynamicsWorld)world.collisionWorld); importer.loadFile(Gdx.files.internal("data/g3d/btscene1.bullet")); camera.position.set(10f, 15f, 20f); camera.up.set(0, 1, 0); camera.lookAt(-10, 8, 0); camera.update(); }
/** Directly load the model on the calling thread. The model with not be managed by an {@link AssetManager}. */ public Model loadModel (final FileHandle fileHandle, TextureProvider textureProvider) { return loadModel(fileHandle, textureProvider, null); }
/** Directly load the model on the calling thread. The model with not be managed by an {@link AssetManager}. */ public Model loadModel (final FileHandle fileHandle, P parameters) { return loadModel(fileHandle, new TextureProvider.FileTextureProvider(), parameters); }
/** Directly load the model on the calling thread. The model with not be managed by an {@link AssetManager}. */ public Model loadModel (final FileHandle fileHandle) { return loadModel(fileHandle, new TextureProvider.FileTextureProvider(), null); }
public Model loadModel(String path) { String extension = PathHelper.getExtension(path).toLowerCase(); ModelLoader loader = loaders.get(extension); return loader.loadModel(Gdx.files.internal(fullPath() + path)); }