It is currently Thu Jul 25, 2024 5:29 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 42 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Flat design drop shadow [challenge!]
PostPosted: Sun Nov 24, 2013 4:42 am  (#21) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14730
Location: USA
What about running the advanced shadow script within a selection?
The shadow would get cut off rather like a straight edge on all the selection areas and the shadow wouldn't have any spaces in it that were not filled.It would also gradually fade as that is what Graechans script was designed to do.

A gradient within a free selection seems close.
Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Flat design drop shadow [challenge!]
PostPosted: Sun Nov 24, 2013 4:51 am  (#22) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2012
Posts: 949
Location: Mesa, AZ
Motion blur. I started with a dup of the font, alpha locked it, colored it black, motion blur on the first layer by 2. Then duplicate that, motion blur by 4, dup again, motion blur by 6 or 7, and so on, until you got a long stretch of shadows. I did 5 layers of motion blurs in this one, you can do more for a better transition. Then adjust opacities on all the layers so it looks like it's fading into nothing since motion blur gives it that back edge you apparently don't want for this exercise. I admit I didn't go very precise with this, but you get the idea of what I did, hopefully.

Image

_________________
Image

I now have a Tumblr, check it out!


Top
 Post subject: Re: Flat design drop shadow [challenge!]
PostPosted: Sun Nov 24, 2013 4:56 am  (#23) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
I knew it would be something like that ek. Thanks for proving me right.


Top
 Post subject: Re: Flat design drop shadow [challenge!]
PostPosted: Sun Nov 24, 2013 4:57 am  (#24) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2012
Posts: 949
Location: Mesa, AZ
Ayup, I aim to please.

_________________
Image

I now have a Tumblr, check it out!


Top
 Post subject: Re: Flat design drop shadow [challenge!]
PostPosted: Sun Nov 24, 2013 5:11 am  (#25) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14730
Location: USA
Here is a fg to transparent gradient inside a selection.
Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Flat design drop shadow [challenge!]
PostPosted: Sun Nov 24, 2013 5:55 am  (#26) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14730
Location: USA
This was done with Saulgoodes 3Diffy script and a layer mask of a fg to transparent gradient.

Image
It is indeed a challenge to get that right type of straight edged shadow effect. :)
I think tony has come closest in my humble opinion.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Flat design drop shadow [challenge!]
PostPosted: Sun Nov 24, 2013 6:37 am  (#27) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14730
Location: USA
Just one more. This is with Tonys idea except i used 30 for length and duplicated the layer 4-5 times then created a new from visible and set the opacity. This kept the straight edges on the shadow even after motion blur.

XCF workspace file is attached also.
Attachment:
longshadowexample_RD.xcf [271.46 KiB]
Downloaded 144 times

Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Flat design drop shadow [challenge!]
PostPosted: Sun Nov 24, 2013 7:05 am  (#28) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14730
Location: USA
I think it looks better with some kind of texture though.

Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Flat design drop shadow [challenge!]
PostPosted: Sun Nov 24, 2013 2:55 pm  (#29) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
It is challenging indeed! Rod I like your second try! Ekk - that's a close shot. Came out real nice.
He4rty - good result and neon text effect in separate thread!
My opinion on motion blur stands. The only but significant drawback here is the shadows from some parts of the letters
extends over the other parts which is not supposed to be happening. Or the shadows not being evenly dispersed.

Image Image

Now compare to this (the same image again)

Image

Seems like only Rod could overcome this problem. Applying black-to-transparent gradient over shadow is a good idea
but would involve a lot of manual editing.

I've tried a different approach. As mentioned earlier, tried ofnuts path-inbetweener script.
The results are promising. In a nutshell, I created two paths from a letter, set one off and ran the script with
15 intermediate paths between them (the more steps - the better results). Then stroke each path on a separate layer.
You can either stroke with the same color and gradually lower the opacity outwards or stroke with fading color (black to
white or whatever bg color is).
As shown in this image

Image

Had no time to actually finish this today but you get the idea.


Top
 Post subject: Re: Flat design drop shadow [challenge!]
PostPosted: Sun Nov 24, 2013 6:50 pm  (#30) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
Not sure that will work with path-inbetweener alone... You will stroke things that aren't present in the shadow, you have to first edit the path to remove everything that can't cast a shadow, so if the shadow must extends towards the top left, you need to reduce the path to the red parts:

Attachment:
PathForShadow.png
PathForShadow.png [ 7.61 KiB | Viewed 3623 times ]


And while I was thinking about a way to algorithmically reduce that path, I found a possible other way to do this:
- set the text to white (temp layer), duplicate it and shift the duplicate in the direction of shadow
- set the top layer mode to difference: you get the outline of the text,only on the side of the shadow, while the rest of the text turns black
- add a layer mask, init to black and white copy of layer, and the black part become transparent, leaving you with just the outline.
- set alpha-lock and paint in black
- now the painful part: duplicate and shift this shadow several times, progressively reducing the opacity.

Sorry for the small demo, I continued on my example above:

Attachment:
ShadowFromDifference.png
ShadowFromDifference.png [ 11.34 KiB | Viewed 3623 times ]

_________________
Image


Top
 Post subject: Re: Flat design drop shadow [challenge!]
PostPosted: Sun Nov 24, 2013 8:22 pm  (#31) 
Offline
GimpChat Member
User avatar

Joined: Aug 30, 2012
Posts: 2174
Offnuts - Interesting technique and similar to what I was thinking, although your method of creating the initial shadow sounds much better. I was going to use the script multi-replicate for the offset layers as this has the added advantage of being able to grow each layer, so the shadow could expand as it fades. I don't think the script handles the opacity of each layer so this would have to be done by hand.

_________________
Image


Top
 Post subject: Re: Flat design drop shadow [challenge!]
PostPosted: Sun Nov 24, 2013 9:06 pm  (#32) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
ofnuts wrote:
Not sure that will work with path-inbetweener alone... You will stroke things that aren't present in the shadow, you have to first edit the path to remove everything that can't cast a shadow, so if the shadow must extends towards the top left, you need to reduce the path to the red parts:



YAY!!!It is working with your script ofnuts!!!
I stroke each path on a separate layer with incremental transparency outwards.
The image isn't the best quality, but adding a few more intermediate paths,
less stroke width and 300 dpi is going to look even better!

Image


Attachment:
FlatDesignDropShadow.xcf [589.84 KiB]
Downloaded 158 times


XCF file - Just turn off paths visibility by Shift-clicking any eye icon in the paths panel


Edit. For comparison I used the same technique in Illustrator
this one looks very sharp

Image


Top
 Post subject: Re: Flat design drop shadow [challenge!] - solution found!!!
PostPosted: Mon Nov 25, 2013 1:11 pm  (#33) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14730
Location: USA
Hey that worked out pretty well. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Flat design drop shadow [challenge!] - solution found!!!
PostPosted: Mon Nov 25, 2013 2:15 pm  (#34) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
Looks really cool!


Top
 Post subject: Re: Flat design drop shadow [challenge!] - solution found!!!
PostPosted: Mon Nov 25, 2013 4:10 pm  (#35) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
thanks guys :geekon


Top
 Post subject: Re: Flat design drop shadow [challenge!] - solution found!!!
PostPosted: Mon Nov 25, 2013 7:10 pm  (#36) 
Offline
GimpChat Member
User avatar

Joined: Aug 16, 2012
Posts: 4271
Location: Göteborg, Sweden
wow, yet another thing that looked impossible but turned out quite possible! impressive job, everyone!

_________________


Top
 Post subject: Re: Flat design drop shadow [challenge!] - solution found!!!
PostPosted: Tue Nov 26, 2013 3:52 pm  (#37) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
I love posts like this!

For small (< 500x500, or larger in the latest gimp) chunks of text just use brush dynamics with a gradient blend. Here is a graphic tutorial:
Attachment:
flat.jpg
flat.jpg [ 566.02 KiB | Viewed 2668 times ]


Note that this does not work with narrow text because the brush spacing can't go lower than 1 (gimp 2.6) and the dynamics are different with 2.8+

I can try it on my other machine layer to see the difference... It could also be scripted quite easily.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Flat design drop shadow [challenge!] - solution found!!!
PostPosted: Tue Nov 26, 2013 4:18 pm  (#38) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
RobA wrote:
I love posts like this!

For small (< 500x500, or larger in the latest gimp) chunks of text just use brush dynamics with a gradient blend. Here is a graphic tutorial:
Attachment:
flat.jpg


Note that this does not work with narrow text because the brush spacing can't go lower than 1 (gimp 2.6) and the dynamics are different with 2.8+

I can try it on my other machine layer to see the difference... It could also be scripted quite easily.

-Rob A>


That is OUTSTANDING Rob!
The shadows are soooo loooooooong, with my suggested paths method it would have taken hours to accomplish.
Your solution is simple and elegant. Some limitations but it is scriptable! Priceless!
Thanks!


Top
 Post subject: Re: Flat design drop shadow [challenge!] - solution found!!!
PostPosted: Tue Nov 26, 2013 4:54 pm  (#39) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
Genius, RobA !

RobA wrote:
the dynamics are different with 2.8+


i did it by setting the dynamic to Color from gradient and stroking a path

Image


Top
 Post subject: Re: Flat design drop shadow [challenge!] - solution found!!!
PostPosted: Wed Nov 27, 2013 12:13 am  (#40) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
The effects using colour from gradient and the stroke (just make sure the fade length matches the path or the reference circle) can be enhanced by a bit of a curve adjustment to make it pop a bit more:
Attachment:
flat.jpg
flat.jpg [ 27.87 KiB | Viewed 2391 times ]


For reference, here is the dynamic settings I used for that 100px long stroke:
Attachment:
2013-11-26_235959.png
2013-11-26_235959.png [ 13 KiB | Viewed 2391 times ]


And as another tip, after baking the white to black gradient stroke, just use Layer->Transparency->Colour to Alpha to turn the white transparent (rather than setting the layer mode to multiply), lock the layer's alpha channel, then fill the layer with any colour you want to get a coloured fade:
Attachment:
flat2.jpg
flat2.jpg [ 20.72 KiB | Viewed 2391 times ]


-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
Post new topic Reply to topic  [ 42 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) GEGL PERPSECTIVE DROP SHADOW (THEORY - NOT A PLUGIN YET))

3

No new posts Attachment(s) How to make a corner lift drop shadow effect in Gimp

22

No new posts Attachment(s) GEGL (fork of Drop Shadow) that knocks out original image.

2

No new posts A script solution requested: conversion from text-only pdf to ...

2

No new posts Comic book/Flat colors look filter

1



* Login  



Powered by phpBB3 © phpBB Group