Member-only story

3d Game Programming with Java and libGDX — Getting the Image Texture Correct

synapticloop
5 min readSep 10, 2020

--

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

  1. Determining which face is where on the UV Map
  2. Exporting the UV Map as an image
  3. 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…

--

--

synapticloop
synapticloop

Written by synapticloop

IT // Writer // 🫶 Got 30 seconds? Support my daughter's writing https://synapticloop.medium.com/piper-e0e565e266c7 🫶

No responses yet