https://github.com/leon/rust-equi-to-cubemap
Converts an equi rectangular image to cube sides
https://github.com/leon/rust-equi-to-cubemap
Last synced: 10 months ago
JSON representation
Converts an equi rectangular image to cube sides
- Host: GitHub
- URL: https://github.com/leon/rust-equi-to-cubemap
- Owner: leon
- Created: 2021-12-12T10:45:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-20T06:46:28.000Z (over 4 years ago)
- Last Synced: 2025-05-18T19:08:45.014Z (about 1 year ago)
- Language: Rust
- Size: 21.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Equirectangular to cube side converter
takes a 360° equirectangular image, and converts it to all cube sides.
each cube side will be `image_width / 4` in size
## Setup
Make sure you are running the latest rust version
```
rustup update
```
## Test
Will output the cube sides in `out/` directory
```bash
cargo test
```
## Build and test release
Will output cube sides in same directory as original
```bash
cargo build --release
./target/release/equi_to_cubemap assets/pano3072.jpg
```