Skip to content

RaveCenter/SkyBoxGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

SkyBoxGenerator

Generate a skybox. Script handles the necessary projections of the spherical panorama (e.g. mercator map) onto the cube.

Script should be run in the same folder as the target image. Vectorized for the most part; will take some time for large images (e.g. will take ~2 mins for a 4096x4096x4096 skybox on 16384x8192 panorama image) command to run:

generate_skybox('mars.png',4096)

Parameters: filename - of image resolution - width of resulting skybox (Game engines generally support powers of 2 up to 4096)

Original:

Original

After:

Front Image Right Image Back Image Left Image Top Image Bottom Image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages