Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: Rotating equirectangular maps (G'mic script, GIMP and Krita) + Sinusoidal projection

  1. #21

    Default

    Quote Originally Posted by Redrobes View Post
    Thanks for coming on to our forum and making these filters available in the G'Mic. Also thanks Naeddyr and to MollyJ for supplying the code, time and energy to make this happen.
    I'm actually a bit sorry to have missed this until now It should have been integrated into G'MIC much earlier!

    Quote Originally Posted by Turambar View Post
    This is very cool. Is this live on G'MIC now?
    Yes, it is. Users of latest stable (or dev) version (i.e 3.3.4 or 3.3.5_pre) will get the new "Map Projection" category with the 14 projection filters inside, just by pressing the "Update Filters" button.
    I will probably add them today on the G'MIC Online web service, as well (https://gmicol.greyc.fr/).

  2. #22
    Guild Artisan Turambar's Avatar
    Join Date
    Jan 2022
    Location
    Washington D.C.
    Posts
    563

    Default

    Quote Originally Posted by dtschump View Post
    I'm actually a bit sorry to have missed this until now It should have been integrated into G'MIC much earlier!



    Yes, it is. Users of latest stable (or dev) version (i.e 3.3.4 or 3.3.5_pre) will get the new "Map Projection" category with the 14 projection filters inside, just by pressing the "Update Filters" button.
    I will probably add them today on the G'MIC Online web service, as well (https://gmicol.greyc.fr/).
    That is great!

  3. #23
    Professional Artist Naima's Avatar
    Join Date
    Mar 2010
    Location
    Italy
    Posts
    1,585

    Default

    Quote Originally Posted by Naeddyr View Post
    Here is a script to arbitrarily rotate an equirectangular map with roll, pitch and yaw rotations in G'mic.

    There are G'mic plugins for GIMP and Krita, and if you're on Ubuntu and getting your GIMP from a 2.10 ppa you should already have it.

    Otherwise, you can download G'mic from https://gmic.eu/download.shtml

    To install the script, create a text-file with the contents of this paste-bin, named either user.gmic or .gmic depending on the system.
    https://pastebin.com/NKN9VEE4

    EDIT: MollyJ has provided some fixes for bugs I think might affect people with newer versions of the Gmic plugin (I can't, after months of not touching the thing, even figure out how to update it): https://pastebin.com/6ZuwezVw

    If the old version of the script doesn't work, try this one. Should be the same way to install it as a user.gmic or .gmic file :TIDE

    user.gmic is for Windows users. You copy that file into a directory where the G'mic plugin can find it. In my test-case, /Users/%username%/AppData/Roaming seemed to work, but this... Isn't reliable, if my googling is correct.

    Linux and Mac users just put .gmic into your /~ home folder. Just straight there.

    This text file is the single file that G'mic will scan for new scripts, so if you want more scripts that aren't already in the G'mic standard library, you have to append them into the text file (and same if you already have the file installed, you just copy the contents of what I provide here into it).

    Attachment 124542

    To run the script, open up GIMP or Krita and open a new Equirectangular map image. Technically, you can open anything and the script won't crash or anything, but to test it download something like one of the smaller downloads of this Wikimedia Blue Marble map.

    If you don't see the Map Projection subfolder in the list of G'mic scripts, try refreshing all the scripts with the Refresh button on the bottom middle of the window.

    The Equirectangular Rotation plugin lets you just rotate an equirectangular map, and is super, super useful to get rid of polar distortion and copy/paste bits and pieces of a map by rotating it so what you want is in the middle and then copying that into the middle of another map. This is basically a streamlined version of my old "getting rid of polar distortion" tutorial here, years and years back, that used the Hugin panorama stitching application.

    The Sinusoidal projection plugin is the same, except it outputs the map into a sinusoidal projection, and even slices it if you want.

    Don't expect to see many more projections, figuring out the exact black magic invocations for just these two, super simple projections was painful. And that's not even talking about scripting this all in G'mic.

    I have tried to keep my scripts as readable as possible, and invite anyone to extend and replace them.
    Been using your tutorial for as long as I remember, I will gladly try this new method, I hope is straightfoward .
    Is there anything like that for Photoshop too?

Page 3 of 3 FirstFirst 123

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •