I all want to do is to draw one of these images on a quad (which I assume has to be rotated by 45 degree). But, I don’t want a rectangle texture to be shown (the texture+the transparent edges), I only want to draw the visible tile.
In my head, the solution is to rotate the quad by 45 degrees, attach the texture on it without rotation (or -45), and scale it by a specific factor so that the visible image has the size of the quad. But for some reasons I cant get it to work.
Make your quad in blender, assign the texture to it and export it to jme. You need to add an alpha channel to your texture so that only the gray part is visible.
Create the quad and all other stuff in code. To do so have a look at the following wiki entry: https://jmonkeyengine.github.io/wiki/jme3/advanced/custom_meshes.html
It will explain how to do what you want. After creating the quad, you have to crate a material, either lightning or unshaded, it depends on what you want to in the end. Anyway in both cases you need to set the blend mode to Alpha, so that only the important part is visible. The following wiki entry provides you enough information to make you happy https://jmonkeyengine.github.io/wiki/jme3/beginner/hello_material.html