sphere2cubeGo

command module
v0.0.0-...-5321ed2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

README

sphere2cube Golang version

Console script written on Go that convert an equirectangular/latlong map into an array of cubemap faces (like you would use to send to OpenGL)

How Does it Work

Alt text

How to Use:
go install
go build
./sphere2cubeGo -i panorama.jpg

You can specify size of the tile face via param -s

./sphere2cubeGo -i panorama.jpg -s 2048

Also you can specify output dir via param -o

./sphere2cubeGo -i panorama.jpg -s 2048 -o /path/to/result/dir
Add what:

原作者没有进行 插值,导致锯齿严重,参考 参考https://github.com/jaxry/panorama-to-cubemap进行插值

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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