1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Creating Shadows (NOT Drop Shadows) for Maze

Discussion in 'General GIMP help' started by Anonymous, Jun 17, 2010.

  1. Anonymous

    Anonymous Guest

    Greetings!

    Not only am I new to these forums, I'm new to GIMP and image editing in general. So, please be gentle with me. :)

    Though I read a tutorial on shadows and searched this forum, I didn't find what I seek.

    Here is a .GIF of part of my labyrinth game:

    [​IMG]

    I made just the maze layer, white background layer, and two drop shadow layers visible and saved a copy as a .GIF so you all could see what I'm trying to accomplish. In reality, there is a lot of stuff in the maze like treasure chests and monsters and a grass background.

    The drop shadow layers look good, but I can't help but think there is a better way. Drop shadows are made to make the image look like it is floating above the background. I want a shadow to make the "walls" of the maze look like they are standing in three dimensions by hitting it with a light source from the north-west corner.

    Is there a quick, easy way to do this, or is the drop shadow good enough? Don't get me wrong, I like the drop shadow and it's easy to use, but really, it's not technically right if you look very closely at all.

    Or, maybe there is a way to adjust the drop shadow to get what I want?

    Thanks for reading and thanks in advance for any helpful advice!

    -Sharpe
     
  2. David Wood

    David Wood Moderator Staff Member

    Joined:
    Jul 22, 2009
    Messages:
    5,501
    Likes Received:
    5
    Trophy Points:
    38
    Occupation:
    Freelance graphic designer and visual effects arti
    Location:
    Western New York
    Home Page:
    Hi Sharpe, welcome to the forum. The drop shadows you made look pretty good, but the tutorials you used is mostly for shadows seen from the front, not the above, instead use the drop shadow filter, Filters>Light and Shadow> Drop shadow, You can adjust how close or far the shadow is from the walls, so this will help with getting rid of the floating problem. Try a shadow with a small blur close to the wall, and one farther away with a lower opacity and larger blur to achieve realistic shadows. :)
     
  3. istarlome

    istarlome Member

    Joined:
    Oct 20, 2008
    Messages:
    586
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    lexington, ky by way of dunkirk, ny
    here's what i do when i'm creating dungeon maps.

    1. alpha select the wall layer by right clicking that layer and then clicking "alpha to selection".
    2. grow the selection by about 4. this you will have to experiment with.
    3. add a layer and fill with black
    4. do a gaussian blurr of around 7. again you will have to experiment with that.
    5. lower the layer to below the walls.


    doing this with the filter you can select x and y values of zero. that will make it look like you are looking down on the map.

    i like my method over the filter. it seems to look better. here's an example:

    [​IMG]
     
  4. guitarist2013

    guitarist2013 Member

    Joined:
    Oct 20, 2009
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Istarlome, I request a tutorial on how you made those dungeon maps! ;D
     
  5. istarlome

    istarlome Member

    Joined:
    Oct 20, 2008
    Messages:
    586
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    lexington, ky by way of dunkirk, ny
    ok, i've been wanting to make one using gimp only.

    you can see the series on how the one above was done here: http://istarlome.deviantart.com/gallery/#tutorials

    it uses gimp to make a floor tile, mapx to make the floor plan and gimp to finish it off. but i've made the same thing completely in gimp.

    i'll work on it later and have it up soon.
     
  6. Anonymous

    Anonymous Guest

    David, I didn't use a tutorial to make my shadows; I just used the drop shadow filter you listed.

    No matter how much I tinkered with it, it still looked like what it is: a drop shadow. Drop shadows are for things that are floating above the background. I want my walls to be anchored to the ground (of course) and cast a shadow as if there was a low-setting sun or whatever hitting it from the north west.

    Istar, your dungeons look great and are far better than anything I can do, but I'm looking for a different style of shadow.

    Is there nothing in the Lighting Effects that will do this? I mean, if GIMP does a drop shadow, surly it does a regular shadow as well...?
     
  7. guitarist2013

    guitarist2013 Member

    Joined:
    Oct 20, 2009
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Yay! I need to make some good ones for an RP I'm running. so thank you! =D
     
  8. David Wood

    David Wood Moderator Staff Member

    Joined:
    Jul 22, 2009
    Messages:
    5,501
    Likes Received:
    5
    Trophy Points:
    38
    Occupation:
    Freelance graphic designer and visual effects arti
    Location:
    Western New York
    Home Page:
    Oh, sorry, I read your post wrong, I thought you meant you used the tutorial you linked to. Um, if you set the x and y values you can get a non floating shadow. But for a low setting sun try duplicating the maze, and running the motion blur on it, set the angle of blur and the amount. :)
     
  9. Rod

    Rod Moderator Staff Member

    Joined:
    Apr 19, 2010
    Messages:
    1,740
    Likes Received:
    0
    Trophy Points:
    36
    I rarely ever use the drop shadow filter anymore.
    I just duplicate what i want shadowed...color the duplicate black ...blur it and lower the layer.
    Then i just move it down and to the right or according to the light source location.
    The blur is usually right at around 10 to 20.

    [​IMG]
     
  10. David Wood

    David Wood Moderator Staff Member

    Joined:
    Jul 22, 2009
    Messages:
    5,501
    Likes Received:
    5
    Trophy Points:
    38
    Occupation:
    Freelance graphic designer and visual effects arti
    Location:
    Western New York
    Home Page:
    Ha ha, that's cool Rod.
     
  11. istarlome

    istarlome Member

    Joined:
    Oct 20, 2008
    Messages:
    586
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    lexington, ky by way of dunkirk, ny
    here's what i would try (i missed the part about the north west).

    make your floor plan.

    duplicate the layer

    zoom in and move the layer right and down slightly. select the move tool and click on a wall. you can then use the arrow keys to move the layer one pixel at a time.

    do a gaussain blur at about 7 (or what you think looks good)

    move the layer down.

    duh, i didn't see rod's post before i posted this... :-[
     
  12. Sharpe

    Sharpe New Member

    Joined:
    Jun 18, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    David, I tried setting the x and y to 0, but no shadow came out. Anything above 3 and you can tell it's a drop shadow.

    Rod, that looks great, but that is a drop shadow.

    Istar, that will probably look good (someone on CartographersGuild.com suggested that), but still, that will produce a drop shadow. By definition, that is a drop shadow.

    Just to make sure we're on the same page, I made an image here at work on a lap top touch pad with my finger:

    [​IMG]
     
  13. David Wood

    David Wood Moderator Staff Member

    Joined:
    Jul 22, 2009
    Messages:
    5,501
    Likes Received:
    5
    Trophy Points:
    38
    Occupation:
    Freelance graphic designer and visual effects arti
    Location:
    Western New York
    Home Page:
    Did you try the motion blur I mentioned?
     
  14. Sharpe

    Sharpe New Member

    Joined:
    Jun 18, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Sorry, I accidentally posted as a guest.

    No, I'm at work and haven't tried anything yet. Someone on Cartographer's Guild mentioned something like that:

     
  15. istarlome

    istarlome Member

    Joined:
    Oct 20, 2008
    Messages:
    586
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    lexington, ky by way of dunkirk, ny
    when you get it right, fencepost might make a script for you if you ask really nicely. :)
     
  16. David Wood

    David Wood Moderator Staff Member

    Joined:
    Jul 22, 2009
    Messages:
    5,501
    Likes Received:
    5
    Trophy Points:
    38
    Occupation:
    Freelance graphic designer and visual effects arti
    Location:
    Western New York
    Home Page:
    Yeah, motion blur should work well.
     
  17. istarlome

    istarlome Member

    Joined:
    Oct 20, 2008
    Messages:
    586
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    lexington, ky by way of dunkirk, ny
    i'm finding that the motion blur settings of: length of 8-10 and an angle of 210 looks good

    i followed up with a gaussian blur of 3 to make the corners look nicer.
     
  18. fencepost

    fencepost Member

    Joined:
    Jan 15, 2010
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Occupation:
    Environmental Scientist
    Location:
    Florida
    Are you wanting a "Perspective Shadow"? If so, have you tried Filters > Light and Shadow > Perspective...

    Here's a simple example:

    [​IMG]

    Sorry if I misunderstand. Also, if it's not what you wanting, once you get your own steps down, you can do as istarlome suggested and give me a shout and I'll see if I can script it for you. No need to ask nicely....cash works best! ;D

    Art
     
  19. fencepost

    fencepost Member

    Joined:
    Jan 15, 2010
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Occupation:
    Environmental Scientist
    Location:
    Florida
    Ok, I just did some further experimentation and the Perspective script doesn't appear to work as well for small distances. In fact, I can hardly get it to create short shadows, they all are long. Maybe I don't understand the script enough. So, even if it is what you need, it *might* not be the right method. Try it out and see if you can get it to work and let me know.

    Art
     
  20. Sharpe

    Sharpe New Member

    Joined:
    Jun 18, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Not much time to reply, but YES that perspective shadow looks just like what I want. But, like you say, the shadows won't be very long...

    Haven't had time to work on the project, but will update.
     

Share This Page