sn0wsh00 Posted January 12, 2021 Report Share Posted January 12, 2021 (edited) I recently found a couple of GitHub tools that convert cubemap faces into equirectangular panoramas and vice versa: Panorama to Cubemap by jaxry Cubemap to Panorama by danilw I've been using the Panorama to Cubemap tool to port SpaceEngine skyboxes into CS:GO. To be more specific, I've been converting panoramic/cylindrical screenshots taken in SpaceEngine into the Valve skybox format. For the Cubemap to Panorama tool, I've been using it to apply CS:GO sky textures onto skydomes. To use the Panorama to Cubemap tool, upload your panoramic screenshot in a 2:1 format. After the tool processes your screenshot, download the cubemaps by clicking on the individual faces. Use the following conversion to rename the cubemap faces: nx -> bk ny -> dn nz -> lf px -> ft py -> up pz -> rt From there, import the renamed skyboxes into VTFedit. To use the Cubemap to Panorama tool, upload each cubemap image into each respective slot (upload BK to Back, LF to left etc.) When it comes to rotation, make sure the Up face rotation is set to 90 degrees, while all the other faces are set to 0 degrees. After setting your resolution, you can now download your new panoramic skybox. If you want to specifically learn how to fit your panorama onto a skydome, read this tutorial I wrote here. Edited January 24, 2021 by sn0wsh00 grammar Lizard 1 Quote Link to comment Share on other sites More sharing options...
ThunderKeil Posted January 13, 2021 Report Share Posted January 13, 2021 Used that first link a bit too a year or some ago to try and get some architectural photos extracted from equirectangular panoramas, it seems like a good first step but if the building is wider or higher than the cube face you just end up with heaps of work trying to fix the bent pieces than if you used a proper panorama editor in the first place Was a little tough trying to figure out Hugin ((free) panorama editor) because I guess turning panoramas into not-panoramas isn't what panorama creation software is primarily geared towards, and since I guess noone else was doing it either because it was pretty hard to troubleshoot. Well either that or I just lacked the photographers' jargon needed to search my issue. Easy as pie once you do figure out the steps though Quote Link to comment Share on other sites More sharing options...
weex Posted February 27 Report Share Posted February 27 (edited) Hi everyone, Very interesting, but I've got a cubemap of 5K faces each, how could I do ? What it the limit size of the final panorama ? Looks like there is a limit of 6900pixels large ? right ? Looks like cannot go upper... Anyone have this info ? How could i generate larger pano, of like 12K large ? Help... Cheers Edited February 28 by weex Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.