Post Reply 

Curves and shadows

Jan 15, 2012, 15:32
Post: #1
Curves and shadows
Hello, I am trying to Drop Shadow (Filters > Light and Shadow > Drop Shadow) on a shape with curved corners. Results are great when using Drop Shadow on shapes with no curved corners, but on shapes with curved corners, the end result is very pixilated (see attached). I tried using Gaussian Blur but I do not like the result.

Are there any tips and tricks of how to drop shadow on curved shapes?


Attached File(s) Image(s)
   
Find all posts by this user
Quote this message in a reply
Jan 15, 2012, 18:03
Post: #2
RE: Curves and shadows
IMHO the drop shadow is only making a pre-existing problem more obvious (conversely your clear background was hiding it). Your shape must have lost its anti-aliasing pixels. See http://gimpforums.com/thread-proper-subj...d-painting for some background information on the subject.

If you post your XCF (or part of it) I'll try to figure out where things went wrong.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jan 15, 2012, 22:17 (This post was last modified: Jan 15, 2012 22:19 by sja785.)
Post: #3
RE: Curves and shadows
(Jan 15, 2012 18:03)ofnuts Wrote:  If you post your XCF (or part of it) I'll try to figure out where things went wrong.

As always a big thanks for your reply. Attached is my .xcf file. I arrived to this result using the following steps:

1. Create a new image (transparent background).
2. Use Rectangle Select Tool with rounded corners.
3. Draw a shape and painted white.
4. Create a new layer and paint this grey.
5. Select the shape with rounded corners (using magic wand).
6. Go to Filters > Light and Shadow > Drop Shadow ...
7. Set: Offset-X = 0, Offset-Y = 0, Blur Radius = 10, Allow Resizing = false
8. I get a shadow but corners look pixilated Sad

The above steps are find for a squared shape, but as you can see from the result, a rounded shape does not look that great.


Attached File(s)
.xcf  shape-with-round-corners.xcf (Size: 22.51 KB / Downloads: 45)
Find all posts by this user
Quote this message in a reply
Jan 16, 2012, 02:12
Post: #4
RE: Curves and shadows
I do get a much cleaner result.

Step 3: what do you mean by "draw a shape"? Because if you just fill the selection, the edges are correct and much smoother than what you have here.
Step 5: do "Layer/Transparency/Alpha to selection on the shape layer, or save selection to channel at step 3 and restore here, or do the underlying layer when you no longer need the selection

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jan 16, 2012, 10:55
Post: #5
RE: Curves and shadows
(Jan 16, 2012 02:12)ofnuts Wrote:  Step 3: what do you mean by "draw a shape"? Because if you just fill the selection, the edges are correct and much smoother than what you have here.

I use the selection tool to select an area on the transparent layer, then I fill that selection.

(Jan 16, 2012 02:12)ofnuts Wrote:  Step 5: do "Layer/Transparency/Alpha to selection on the shape layer, or save selection to channel at step 3 and restore here, or do the underlying layer when you no longer need the selection

"Layer/Transparency/Alpha to selection" gives me better results (see attached). What does this option do? Is it possible to get better results then that?


Attached File(s) Image(s)
   
Find all posts by this user
Quote this message in a reply
Jan 16, 2012, 13:08
Post: #6
RE: Curves and shadows
(Jan 16, 2012 10:55)sja785 Wrote:  "Layer/Transparency/Alpha to selection" gives me better results (see attached). What does this option do? Is it possible to get better results then that?
See http://gimpforums.com/thread-proper-subj...d-painting for some background about anti-aliasing, partial transparency and why the Magic Wand Is Evil.

I don't think you can get much cleaner results. Don't forget that you are dealing with pixels. If you intend to print, use a bigger image (more pixels) to have much smaller pixels on paper.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jan 16, 2012, 15:15
Post: #7
RE: Curves and shadows
As always a big thanks ofnuts for all your help Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  clipping warning in curves, etc? linuxuser 2 829 Aug 23, 2012 21:09
Last Post: linuxuser
  Using Curves on 2.8 is crashing gracenglory75 5 785 May 23, 2012 20:16
Last Post: gracenglory75
Sad Adding drop shadows to images with backgrounds Treycee 7 1,622 Apr 27, 2012 20:18
Last Post: Treycee

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS