1

I'm trying to map a square slice of an equirectangular image inside a cubemap with 6 faces, without distortion.

The point is that I'm dealing with huge array sizes if I try to project the whole equirectangular texture (because the circumference is Earth-like), so I'm cutting it into pieces on demand, with a higher detail.

I need to convert/project this square image (512*512px) which is covering 0.08° of the 360*180 degrees that the equirectangular image provides. The total circumference is 4407500mts. and the offset is 34.5° Lat and 56.8 ° Lon. (These values would change, but not the circumference)

Can you help me to find a way to project that image onto a cubemap?

I already have an algorithm to make a cubemap from the full equirectangular image but can't find a way to do the same with just a squared portion of it.

0

Please delete this question. I'm using a different account because this one got linked to my work email. Thank you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.