An open API service indexing awesome lists of open source software.

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

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
```