How do I make a cube in javafx that have 6 different textures on each side of the cube?
The only way I know how to solve this, is by making 6 imageviews and give them each a specific coordinates that make them look like a cube.
Is there a other way to do this?
Like, I like to give the cube later on lighting, and some rotations. It will be more complex if I use this method.
Btw, I heard about Triangle Mesh, but I don't know how TextureCoords works.
handy links:
https://docs.oracle.com/javase/8/javafx/api/javafx/scene/shape/TriangleMesh.html
https://docs.oracle.com/javase/8/javafx/api/javafx/scene/shape/Box.html