0.1.1 • Published 1 year ago

equirect2cube v0.1.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

equirect2cube

NodeJS CLI tool for converting equirectangular panoramic images to cubemaps.

Usage

Install it: npm install -S equirect2cube

npx equirect2cube equirect.png --size 1024 --out ./tmp/

The command will create a png for each face of the cube (px.png, nx.png, py.png, ny.png, pz.png, nz.png) in the output folder (or the folder the command was executed in, if none is specified).

Note that the input image must be a png.

Attribution

The demo image was created with Blockade Labs skybox generator.

The project was forked from https://github.com/fenwick67/equirectangular-to-cubemap

0.1.1

1 year ago

0.1.0

1 year ago