Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: PS Glass Distort filter for Gimp?

  1. #1
      Gidde is offline
    Community Leader Gidde's Avatar
    Join Date
    May 2009
    Location
    Michigan, USA
    Posts
    3,079

    Question PS Glass Distort filter for Gimp?

    (the Distort - Glass filter on the river gives it away but I don't know if GIMP has something similar or not)
    It does not, much to my dismay. I've been experimenting for days trying to find something in GIMP that will even approximately reproduce the effect.

  2. #2
      RobA is offline
    Administrator RobA's Avatar
    Join Date
    Apr 2007
    Location
    Niagara, Canada
    Posts
    5,549

    Default

    Quote Originally Posted by Gidde View Post
    It does not, much to my dismay. I've been experimenting for days trying to find something in GIMP that will even approximately reproduce the effect.
    I have this in my notes from way back....

    * Duplicate your layer, run a Sobel edge-detect on the duplicate, and then add a touch of Gaussian blur.
    * Create a new white layer (Xoffset) and Bump Map it against the duplicate with darkness compensation disabled, an Azimuth of "0", and an elevation of about "30".
    * Create a new white layer (Yoffset) and do a Bump Map against the duplicate with darkness compensation disabled, an Azimuth of "270", and an elevation of about "30".
    * Perform a Displacement Map on the original layer, using the Xoffset and Yoffset layers as the corresponding displacement maps and adjusting the amount of displace to suit.

    Can someone with PS and Gimp compare, and if it works I can script it up, OK?

    -Rob A>

  3. #3
      Gidde is offline
    Community Leader Gidde's Avatar
    Join Date
    May 2009
    Location
    Michigan, USA
    Posts
    3,079

    Default

    Hmm. I just tried this, and with a noisy ocean layer the sobel edge-detect gives me a completely transparent layer; dead in the water. Then I tried it with a black and white land-mask type image, and got very little distortion (even with displace values > 100). It looks like the distortion it does give is on the right track though. Could be that it needs something more defined than solid-noise colored clouds (with light coastal area - same as I started with for my glass-ified ocean in my last map) and less defined than black/white stark image. I'll keep playing with it.

    // Edit: Here are some comparison images in case they help. The blue image is just original and photoshop versions. The B/W is following the instructions you gave with a 200 displace.
    Attached Thumbnails Attached Thumbnails PS Glass Distort filter for Gimp?-gimpglasstest.png   PS Glass Distort filter for Gimp?-gimpglasstestoriginal.png   PS Glass Distort filter for Gimp?-gimpglasstestbworiginal.png   PS Glass Distort filter for Gimp?-gimpglasstestbwgimp.jpg   PS Glass Distort filter for Gimp?-gimpglasstestbwps.jpg  

    Last edited by Gidde; 07-13-2010 at 11:16 PM. Reason: Added Samples

  4. #4
      RobA is offline
    Administrator RobA's Avatar
    Join Date
    Apr 2007
    Location
    Niagara, Canada
    Posts
    5,549

    Default

    Quote Originally Posted by Gidde View Post
    Hmm. I just tried this, and with a noisy ocean layer the sobel edge-detect gives me a completely transparent layer; dead in the water. Then I tried it with a black and white land-mask type image, and got very little distortion (even with displace values > 100). It looks like the distortion it does give is on the right track though. Could be that it needs something more defined than solid-noise colored clouds (with light coastal area - same as I started with for my glass-ified ocean in my last map) and less defined than black/white stark image. I'll keep playing with it.

    // Edit: Here are some comparison images in case they help. The blue image is just original and photoshop versions. The B/W is following the instructions you gave with a 200 displace.
    Playing a bit more.

    I tried Filter->Edge Detect->Edge (Sobel, value 10) (Not Filter-->Edge Detect->Sobel)
    Gaussian blur 5
    Duplicate the blurred layer.
    Filter->Distort->Emboss (emboss, 0,30,30) on one (used as X displacement)
    Filter->Distort->Emboss (emboss, 270,30,30) on the other (used as Y displacement)
    Filter->Map->Dispace (20,20, edges smear)

    The blur changes the size of the ripples and the displace amount controls the sharpness?

    Here is the result:
    PS Glass Distort filter for Gimp?-ripple.jpg


    -Rob A>

  5. #5

  6. #6
      Jaxilon is offline
    Community Leader Gracious Donor Jaxilon's Avatar
    Join Date
    Nov 2009
    Location
    Arizona
    Posts
    3,945

    Default

    Look great RobA.
    “When it’s over and you look in the mirror, did you do the best that you were capable of? If so, the score does not matter. But if you find that you did your best you were capable of, you will find it to your liking.” -John Wooden

    * Rivengard * My Finished Maps * My Challenge Maps * My deviantArt

  7. #7
      hohum is offline
    Guild Journeyer hohum's Avatar
    Join Date
    May 2009
    Location
    Phoenix, AZ
    Posts
    166
    Blog Entries
    3

    Default Glass Filter (sorry about the hijack)

    Here is what I got:

    PS Glass Distort filter for Gimp?-gimpglasstestedge.png

    You need to run Filters>Edge Detect>Edge with a sobel setting. Then the displacement map with setting of 50 for both. If you do Filters>Edge Detect>Sobel you get a transparent layer.

    This is with lighting effects with a Yoffset layer bump mapped.
    PS Glass Distort filter for Gimp?-gimpglasstestlighteff.png

    And then the two combined with the light effects layer at 25% opacity.
    PS Glass Distort filter for Gimp?-gimpglasstestcomb.png

    Not perfect, but perhaps on the right track. I had tried a beaten metal effect with felimage galvanized noise and lighting effects that also did something similar.

  8. #8
      RobA is offline
    Administrator RobA's Avatar
    Join Date
    Apr 2007
    Location
    Niagara, Canada
    Posts
    5,549

    Default

    It looks like sobel of the source is just an option (ripples will be harsher where there are larger transitions, and the ripples parallel the transients).

    Here is the same, but starting with a high turbulence plasma cloud that was blurred 3px sobel edge detected, plurred 3 px again, then the rest of the steps followed (displace of 10 in the last step):

    PS Glass Distort filter for Gimp?-ripples2.jpg

    -Rob A>

  9. #9
      hohum is offline
    Guild Journeyer hohum's Avatar
    Join Date
    May 2009
    Location
    Phoenix, AZ
    Posts
    166
    Blog Entries
    3

    Default

    I'm just stealing you guys's stuff to see it side by side.

    Gidde's: RobA's:
    PS Glass Distort filter for Gimp?-gimpglasstest.png PS Glass Distort filter for Gimp?-ripples2.jpg

    Pretty darn close. Perhaps just a little more blur to the final image and they would be identical.

  10. #10
      Gidde is offline
    Community Leader Gidde's Avatar
    Join Date
    May 2009
    Location
    Michigan, USA
    Posts
    3,079

    Default

    Good call on the move! We had totally hijacked that poor thread

    Quote Originally Posted by RobA View Post
    I tried Filter->Edge Detect->Edge (Sobel, value 10) (Not Filter-->Edge Detect->Sobel)
    Aha! That was my problem.

    Thanks for helping test this out, Hohum, your test looks absolutely fantastic. In fact, the difference between yours and mine looks almost exactly like the differences if you play with the settings in the PS filter.

    I can't wait to try this on my current WIP. Rob, you are, as ever, my hero.

Page 1 of 2 12 LastLast

Posting Permissions

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