panorama-to-cubemap icon indicating copy to clipboard operation
panorama-to-cubemap copied to clipboard

How do I set up the output resolution?

Open dwang0721 opened this issue 7 years ago • 3 comments

Can I choose the resolution output?

dwang0721 avatar Jun 12 '17 17:06 dwang0721

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.

jaxry avatar Jun 13 '17 18:06 jaxry

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, ?

gigapede avatar Dec 24 '18 18:12 gigapede

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.

greggman avatar Jul 31 '23 23:07 greggman