Skip to content

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sphere2cube

Tools to convert equirectangular projection 360 panoramas in 6 faces of the cube.

Migrate from a python version.

Requirement

  • A C++23 compiler
  • CMake 3.20+

Image IO uses stb_image / stb_image_write, vendored in third_party/stb, so there is no external library to install.

Compile and Run

Compile

cmake -S . -B build
cmake --build build

Run

./build/main [Panorama Filename]

For example, ./build/main sample/sample.png writes the six faces (front.jpg, back.jpg, ...) to the current directory.

Usage

See main.cpp

About

sphere2cube c++ version

Resources

Stars

7 stars

Watchers

1 watching

Forks

Contributors

Languages