anicg Posted February 16, 2022 Share Posted February 16, 2022 attached is a wonderful file from cigiwiki: https://www.tokeru.com/cgwiki/index.php?title=HoudiniCops Where it converts a latlong into a cubemap, kind of unwraps an 360degree image. The problem is I'm stuck with the cubemap and want to go back to latlong. Any idea how to invert the code? Latlong_to_cubemap_v04.hipnc Quote Link to comment Share on other sites More sharing options...
sebkaine Posted February 19, 2022 Share Posted February 19, 2022 (edited) i dont't have a direct answer to your question but houdini has a command line utility call isixpack that allow cube to lat and lat to cube conversion : whatever you do in houdini or vex you will get decent quality but distorsion at the nadir/pole. the best library for doing this kind of work is krpano, almost every HDRI map manipulation tool use this library. it gives great result in term of distorison and blurring. https://krpano.com/home/ For the hard way , this is one of the best place to start : http://paulbourke.net/panorama/cubemaps/ https://github.com/madwyn/libcube2cyl/blob/master/src/Cube2Cyl.hpp Edited February 19, 2022 by sebkaine 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.