I just ran through the HelloPhysics tutorial (https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_physics), and I’m getting this weird stretched image issue.
Imgur: The magic of the Internet
As you can see, the floor tile is fine in the bottom right hand corner, but gets stretched to the left and top, and there’s a huge section missing.
I’m wondering if it’s an error in the tutorial, or if I’m missing something.
Thanks,
~Jeremy
You must have missed some step, this line in initMaterials() makes the texture repeat instead of stretch:
[java]tex3.setWrap(WrapMode.Repeat);[/java]
D’oh >_< you are correct! That’s what I get for being lazy and doing some copy and paste.
Thanks!