command
module
Version:
v0.0.0-...-193db73
Opens a new window with list of versions in this module.
Published: Oct 24, 2023
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.