Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.
/ glskybox Public archive

Faster skysphere to skybox convertion using OpenGL

License

Notifications You must be signed in to change notification settings

ChiChou/glskybox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glskybox

A simple python tool for converting skysphere texture to skybox.

Requirements

pip install -r requirements.pip

Usage

usage: glskybox.py [-h] [-o OUTPUT] [-s SIZE] [-f] FILE [FILE ...]

Convert skydome texture to skybox

positional arguments:
  FILE                  source file name

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        destination path
  -s SIZE, --size SIZE  output image size
  -f, --overwrite       overwrite existing output

Example:

Use a photo taken by PhotoSphere app, then run:

python glskybox.py your_sphere_photo.jpg

Check out the result in output/ directory.

If you give a directory as input, it will traverse all files inside it and render them.

About

Faster skysphere to skybox convertion using OpenGL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages