equirectangular-to-cubemap

command module
v0.0.0-...-193db73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 8 Imported by: 0

README

equirectangular-to-cubemap

Convert equirectangular image to cubemap (6 faces stored separately)

Build

$ go build ./e2c.go

Usage

$ ./e2c <output_size> <input_image> <output_folder>

Example:

$ ./e2c 512 skybox.png output

Or directly:

$ go run ./e2c.go 512 skybox.png output

Notes

  • It's able to load jpg and png images, but output is always png. (although it can be changed easily)

Go?

  • I just wanted to try it.. this is literally my first program in Go. :)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL