Member-only story
3d Game Programming with Java and libGDX — Getting the Image Texture Correct
Or… the journey through the x, y, and z axes through the lens of a computer screen.
TL;DR
By exporting the UV Map from blender, and then using your favourite editor, you can ensure that you have the Image Texture in the correct location.
Note: this is part of a series of articles: See 3d Game Programming with Java and libGDX — Overview of Articles
What You Will Need
- Download blender if you don’t have it yet — at the time of writing it is version v2.90.0
- An image editing programme (this example uses the GIMP)
In this guide
I shall be using the rhombic dodecahedron that I created in another article 3d Game Programming with Java and libGDX — Setting up a Model with Blender
- Determining which face is where on the UV Map
- Exporting the UV Map as an image
- Editing the image and testing
Determining which face is where on the UV Map
If we go back to the the model that we were using, and the image texture that was created…