Results 1 to 6 of 6

Thread: Natural-looking, rugged cavern walls automatically generated by a line in Photoshop?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default

    It would be difficult to distort lines without them getting broken up, but it is very possible to distort spaces. - i.e. solid is black and open (coridoors and rooms) is white. Then distort using one of many options (displacement mapping, noise, water, etc). Then magic wand select the black regions invert and fill with white (to get rid of any non-connected bits caused by the distortion) and majic wand the white then invert and fill with black. To get back to lines, just do an edge detect, or stroke the selection on a blank layer.

    This is basically what the distortion option does in my gimp dungeon maker script.

    You should be able to make it a Photoshop action - someone more PS savvy should be able to give more information.

    -Rob A>

  2. #2
    Guild Applicant
    Join Date
    Sep 2013
    Location
    USA
    Posts
    4

    Default

    Quote Originally Posted by RobA View Post
    It would be difficult to distort lines without them getting broken up, but it is very possible to distort spaces. - i.e. solid is black and open (coridoors and rooms) is white. Then distort using one of many options (displacement mapping, noise, water, etc). Then magic wand select the black regions invert and fill with white (to get rid of any non-connected bits caused by the distortion) and majic wand the white then invert and fill with black. To get back to lines, just do an edge detect, or stroke the selection on a blank layer.

    This is basically what the distortion option does in my gimp dungeon maker script.

    You should be able to make it a Photoshop action - someone more PS savvy should be able to give more information.

    -Rob A>
    That's true, and that's fine for my purposes, it doesn't have to be a line.

    I'm looking to create mostly one or two tile corridors for ease of use in play, but that still look somewhat natural.

    The important thing is that it is directed randomness...there are a lot of tutorials for using clouds or other methods to generate landmasses and such, but these are usually completely random and you find an island that you like.

    I suppose I could do something fairly similar, generate islands and look for a generally straight line and use it. But I'd like to know more about good distortion options using the method you mention.

  3. #3

    Default

    Just google for "photoshop displacement map" and you will find examples of how to create a displacement map from an image (or noise) and use apply that to a source image (your wall lines).

    -Rob A>

Posting Permissions

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