Search Unity

  1. Engage, network and learn at Unite Austin 2017, Oct 3 - 5. Get your ticket today!
    Dismiss Notice
  2. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  3. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  4. Unity 2017.1 is now released.
    Dismiss Notice
  5. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  6. Unity 2017.2 beta is now available for download.
    Dismiss Notice

Gimp and Terrain RAW heightmaps

Discussion in 'External Tools' started by llde_chris, Oct 6, 2009.

  1. llde_chris

    llde_chris

    Joined:
    Aug 13, 2009
    Posts:
    205
    Hi,

    When you export a heightmap from the terrain, it appears as a RAW file.

    We know how to import the file via Photoshop, however not everyone here has photoshop, and some of the programmers like Gimp. How do we import the RAW file using Gimp? We can't seem to find the correct settings. :cry:
     
  2. bigkahuna

    bigkahuna

    Joined:
    Apr 30, 2006
    Posts:
    5,428
    I'm running Gimp 2.6.6 and it appears it should open and save a .raw file just fine. I don't have any files here to test it, but it should work. What problem are you having? Have you tried posting on the Gimp user's forum?

    Edit: Apparently Gimp uses the Ufraw plugin for this. It looks like the plugin comes with the standard Gimp package (at least it looks that way on my installation) so you shouldn't need to install anything. Here's the Ufraw website which might help:
    http://ufraw.sourceforge.net/
     
  3. pitibonom

    pitibonom

    Joined:
    Aug 17, 2010
    Posts:
    149
    nope. ufraw simply cant load unity terrain raw images :(
     
  4. wccrawford

    wccrawford

    Joined:
    Sep 30, 2011
    Posts:
    1,963
    You just resurrected a post over 2 years old.
     
  5. jake-gr

    jake-gr

    Joined:
    Oct 27, 2011
    Posts:
    93
    <rant> Why is resurrecting an old post so shunned upon?...
    Its over 2 years old... the situation is still valid (i too cant load terrains in gimp)...
    Also it shows that someone actually used the SEARCH feature before posting a new thread. So later if someone searches they wont be seeing 50+ posts on the same topic. </rant>

    is there by chance an alternative to ufraw that can be used to load terrain maps in gimp? (it works to load .raw from my camera, just unity terrain it wont open)
     
    magique likes this.
  6. KR1982

    KR1982

    Joined:
    Sep 30, 2013
    Posts:
    1
  7. Bering

    Bering

    Joined:
    Oct 16, 2013
    Posts:
    1
    Thanks, I had found this same link and tried changing the file extension to .raw but the key really is to click on the "Select File Type" option at the very bottom indeed.
     
  8. pietersmobile

    pietersmobile

    Joined:
    Jan 26, 2014
    Posts:
    7
    Nice! Thanx
     
  9. nickfourtimes

    nickfourtimes

    Joined:
    Oct 13, 2010
    Posts:
    52
    Hey, I'm the author of the post KR1982 linked above. I've since taken down my website, but since this post was getting some traffic, I've recreated it on my GitHub pages, here.

    Cheers!
     
  10. TheSniperFan

    TheSniperFan

    Joined:
    Jul 18, 2013
    Posts:
    676
    Sorry to disappoint you, but Gimp is still unsuitable for heightmap work as it doesn't support high bit depth images.
     
  11. Petomai

    Petomai

    Joined:
    Jul 27, 2016
    Posts:
    1
    What is a person supposed to do then if they cannot afford photoshop?
     
  12. BerniceChua

    BerniceChua

    Joined:
    Nov 30, 2016
    Posts:
    32
    Hi everyone, if you cannot afford Photoshop like me, and use GIMP, I found this tutorial:


    Hope that helps!
     
    Not_Sure likes this.