Show Posts

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.


Topics - einherjer

Pages: [1]
1
Support / Texturing problem
« on: April 27, 2010, 02:56:03 pm »
Hello guys..
My model comes with 5 different texture files, RGBA png-s + lightmapping texture.
How should code it so that all textures go on the "right place"?
One more question.. Why is my model rotated 180 degrees? (I had to rotate model.rotateX(3.14f); )
Code: [Select]
Object3D[] modeldata = Loader.loadOBJ("models/map/Home01.obj", "models/map/Home01.mtl", 0.01f);
model = modeldata[0];
model.rotateX(3.14f);
model.build();
world.addObject(model);
world.getCamera().setPosition(new SimpleVector(0,6,-15));


Pages: [1]