Skip to content

adrieng/skybox.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skybox.py is a simple but hopefully useful skybox creation script.

A so-called "skybox" is simply a cube whose inner faces have been textured to look like distant landscape. The viewer is under the illusion that the faces are far away, thus giving the whole scene a sense of background at a very low cost.

The script takes six square images representing the faces of a cube and produces:

  • a big seamless texture map for the whole cube
  • a 3D cube with the proper UV coordinates (in OBJ format)

An example skybox generated by skybox.py

Have a look at the Makefile in the test/ directory for example usage.

The script needs a modern Python interpreter (2.6+) and the Python Imaging Library to run.

-- Adrien Guatto, [email protected]

About

Simple seamless skybox creator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages