I want to put a dice texture on a box like the one the Simple Application has by default. The Problem is, the whole texture is shown on every side of the dice, instead of wrapping around the geometry.
There seems to be no way to do this in the material settings. I´ve found the method setWrap, but don´t know if this can solve my problem.
Read about custom meshes. How you’d set the texture coordinates on a custom mesh is the same way you’d set it on a Box. There is no magic method that does the work for you so eventually you’ll have to look at the Box.java source code and see how it sets its texture coordinates.
Then just call that same method on your box and give it different values.
…however, for interpreting the code you are definitely going to want to know how meshes are constructed and there is a tutorial for that.