matheowis / HDRI-to-CubeMap

Image converter from spherical map to cubemap
https://matheowis.github.io/HDRI-to-CubeMap/
MIT License
471 stars 77 forks source link

Thank you for the HDRI to cubemap website converter! #10

Open patrikpatrik opened 2 years ago

patrikpatrik commented 2 years ago

hi Mateusz, Thank you for this neat conversion tool it works really nice! I don't mean to sound repetitive but is it possible to save 4096 and above? I've tried 4096 but as you mentioned on your readme it stalls halfway. I have enough ram as I'm on desktop i9 9900k, I suppose I can save it myself through photoshop but but 4k saving would be very convenient!

Cheers~ Patrikpatrik

matheowis commented 2 years ago

Hi @patrikpatrik, Sorry for the long wait, I have abandoned this project, I have no idea why it doesn't work, i tried to save 4096 and it worked on the default img, it might work because the defoult image is low res, based on all the errors it just eats too much memory, it might be some browser thing, but i havent found anything on the subject, i also tried it in few diferent browsers and the problem stays the same. but i was able to save it using the last layout, you could try to connect the images in photoshop later, my guess is that the image is to large to fit in a single variable, but the max size of an array should be 2^32, which should hold raw file of 16k x 16k image