Cubic Images to Skyboxes

I often have the need to transform cubic images into a cube map or skybox, so I have written this program in python to create them quickly and easily.

Dependencies are:

  • Python 2.6 or higher
  • Python Imaging Library (PIL)
  • Images need to be the same size and square to avoid problems

Images need to be named with the following convention:

  • f  – front
  • r – right
  • l – left
  • t – top
  • b – back / behind
  • d – down

For example – When you call the program and image files are named f_image.png, r_image.png, l_image.png ,  the proper command would be

python %c_image.png

Download Link

Here is an example output of this program:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s