panorama-to-cubemap
panorama-to-cubemap copied to clipboard
How do I set up the output resolution?
Can I choose the resolution output?
Can I choose the resolution output?
Not at this time.
The output resolution is set automatically according to the resolution of the input image. Namely, the width of each cube face is 1/4th the width of the input panorama. If you would like to scale the cubemap, scale your original panorama before inputting it into the program.
Cubemaps in many 3D programs prefer squares of 2, so 128 or 256 are preferable to 200. 512 would be even better. What else is needed beyond changing line 182 of main.js to read:
maxWidth: 512,
?
I put a version here that supports a few more resolutions (64, 128, 256, 512, 1024, 2048, 4096)
- Also added drag and drop for uploading the panorama
- Dark mode
- A button to save all 6 images. You'll get asked for each face but it's slightly faster than clicking each image.