create A custom CubeMap from a 360 Image

Hi, I’m Trying to take the result from a 360 image and craating a new image with the deformations projected over a cube with Modified UV’s . is there a way to save the image resulted from that. (attaching imagge of what i mean)

–this is the original 360 image.

–this is the new projection layout that I wanted. I have already tested it and this is the way I need it

– I would like to get the image 360 from the original to have this Model UV Form

Is there a way to do this in unreal or other software?

–BIG NOTE: I tried the bake out materials but the end result its nothing like i wanted.

–and it ends like this !!

Change that 360 deg view into cubemap (gimp can do it, affinity photo messes something, unsure about photoshop).

When you have proper cubemap search this forum for cubemap+NASA, about month ago there was post about mapping cubemap to sky meshes, and i went a bit nuts in reply.

tl/dr:
do not use mesh UVS, instead calculate sky uvs in pixel shader. even your custom mapping can be done with material shader.

hint: make direction vector as parameter, calculate DOT product and swap from spherical to cylindrical mapping whet DOT < 0

ps.
your top texture uses SPHERICAL uv mapping not flat one in 1UVs area. And that is reason why you should not use mesh uvs, those map whole triangles/faces, and it is impossible to map that to sphere without any stretching, and stretching along edges of poly cause seams.

1 Like