1
Bugs / Re: Blender Object Loading But with Multiple Materials
« on: April 07, 2011, 07:44:03 am »
You rock man! Works like a charm now. Thanks for the fix. JPCT is awesome too btw.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
TextureManager.getInstance().addTexture("harl.jpg", new Texture("harl.jpg"));
TextureManager.getInstance().addTexture("asphalt.jpg", new Texture("asphalt.jpg"));
for(Object3D testing : Loader.loadOBJ("untitled.obj", "untitled.mtl", 10)){
testing.translate(0, -40, -60);
world.addObject(testing);
}
TextureManager.getInstance().addTexture("harl.jpg", new Texture("harl.jpg"));
TextureManager.getInstance().addTexture("asphalt.jpg", new Texture("asphalt.jpg"));
Object3D testing = Object3D.mergeAll(Loader.loadOBJ("untitled.obj", "untitled.mtl", 10));
testing.translate(0, -40, -60);
world.addObject(testing);