A downloadable tool for Windows and Linux

Download NowName your own price

This is a simple command line program that changes the projection of textures.

You can transform from cubemap to latlong (also know as equirectangular), and viceversa.


Usage

There are 2 kinds of command:

reproject latlongToCubemap <inputFile> <outputFile> <outputFaceResolution> [numSamples] 
reproject cubemapToLatlong <inputFile> <outputFile> <outputWidth>x<outputHeight> [numSamples] 

The number of samples is optional. The more, the better quality (at the expense of more computation cost). The default value is 128, which is usually more than enough.

Examples:

$ ./reproject latlongToCubemap myLatlong.hdr newCubemap.hdr 512
$ ./reproject cubemapToLatlong myCubemap.png newLatlong.png 2048x1024 1000 


More info in github.

Image source: https://hdrihaven.com/hdri/?c=nature&h=sunny_vondelpark

Download

Download NowName your own price

Click download now to get access to the following files:

reproject 650 kB
reproject.exe 389 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.