ryanr23 Posted September 30, 2006 Share Posted September 30, 2006 (edited) This plugin creates a shadow as if from a direct light source in front of the object in question. As with the other shadow plugins, you need to be working on a layer with transparencies. The shadow is applied to all opaque pixels on the layer. Also, the bottom of the image is assumed to be the "ground" and the shadow is relative to that point. View project on GitHub Requirements Paint.NET v4.0+ Installation As usual, copy the dll to the Effects folder and restart Paint.NET. Download ShadowEffect_1_3.zip (3/30/2015) Added Diffusion Factor Added Plugin Browser compatibility ShadowEffect_1_2.zip Plugin example See GitHub page for latest example. Previous Versions Spoiler If you can't see the screenshot above, click for full size:Download: Incompatible with paint.net 4.x (works with 3.5.11): ShadowEffect.zip Midora recompiled the effect for paint.net 4.x (see http://forums.getpaint.net/index.php?/topic/1900-shadow-effect-plugin-like-google-maps/?p=419633😞 ShadowEffectUpdated.zip As usual, just dump the binary dll in the "Effects" folder.Change Log: v1.2; 3/21/2015 (8+ years later!) Updated to build against VS2012 Express, use GaussianBlurEffect, and implement PropertyBasedEffect so it's compatible with newer versions GitHub link to source code: https://github.com/ryanr23/PDN-Shadow-Effect-Plugin Thanks to toe_head2001 for his contribution! v1.1; 10/11/2006 Removed references to "Google" Improved rendering time Smoother graduated shadow blurring v1.0; 09/30/2006 Initial release -- Ryan Edited April 4, 2023 by toe_head2001 changed download links to https Quote Link to comment Share on other sites More sharing options...
Illnab1024 Posted September 30, 2006 Share Posted September 30, 2006 That's pretty sweet! Nice one! Quote ~~ Link to comment Share on other sites More sharing options...
Maia Knuckles Posted September 30, 2006 Share Posted September 30, 2006 This plugin is very nice!!! Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 30, 2006 Share Posted September 30, 2006 The shadow is applied to all opaque pixels on the layer Are you just checking for pixels with an alpha value of 255? I would suggest, instead, rendering the drop shadow for all pixels and then blending that based on the source texel's alpha value. You can use UserPixelOps.Normal.ApplyStatic() to do this on a per-pixel basis. Paint.NET 3.0 will have some blending utility functions that make this sort of stuff (taking the alpha channel in to account) easier. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
ryanr23 Posted September 30, 2006 Author Share Posted September 30, 2006 Thanks for the feedback! No, the operation isn't simply looking for alpha values of 255, but it isn't much more complex than that. Sorry for the simplistic explanation. It takes the source pixel, converts to black and scales the alpha based on the configured shadow alpha. So if your configured alpha is 115, a pixel with alpha of 255 will get scaled to 115, a pixel with an alpha of 128 will get scaled to 58. Obviously 0 goes to 0. I assume that you are implying that multiple src pixels get mapped to one destination pixel in the shadow in which case you would want to blend the source pixels to calculate the destination pixels value. In which case, I agree... I haven't gotten there yet. However, I might be able to accomplish the same thing by blurring the image before calculating the shadow, rather than blurring the shadow after the fact. I'm not sure... Also, if it wasn't apparent from the original post, the current plugin translates the source layer into a shadow layer. The source layer is not preserved. The result of the operation is a mostly transparent layer that can be overlayed on other images to appear to give it depth. This is how the google maps API works. BTW, I'm not super familiar with the entire Paint.NET API at this point, but by "UserPixelOps.Normal.ApplyStatic()" did you mean "UserBlendOps.NormalBlendOp.ApplyStatic()"? Quote Link to comment Share on other sites More sharing options...
BoltBait Posted October 2, 2006 Share Posted October 2, 2006 Wow! Nice job. However, I think you should avoid using the word "Google" in the project. Potential copyright issues. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Rick Brewster Posted October 2, 2006 Share Posted October 2, 2006 BTW, I'm not super familiar with the entire Paint.NET API at this point, but by "UserPixelOps.Normal.ApplyStatic()" did you mean "UserBlendOps.NormalBlendOp.ApplyStatic()"? Yes Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Hellfire010 Posted October 3, 2006 Share Posted October 3, 2006 Wow thats a really cool plugin! Thanks! I'm gonna use it all the time now. Quote Link to comment Share on other sites More sharing options...
Picc84 Posted October 3, 2006 Share Posted October 3, 2006 YEs, i love that pluginn, now as soon as i get out of school, i will have to download it... Quote Link to comment Share on other sites More sharing options...
harvey28 Posted May 5, 2007 Share Posted May 5, 2007 can someone help me.. how do i use this plug in.. can anyone teach me how? Quote Link to comment Share on other sites More sharing options...
Tubular Tos Posted May 5, 2007 Share Posted May 5, 2007 :wink: Hello Harvey ! I'm going to try to do that ... i'm French so.... You must to duplicate the pic you have and "put" the effect in the duplicated pic ( i want to say the pic down ...) Hope you'll understand me :wink: Quote To be free To be wild And to be Just like a child Mike Oldfield http://www.myspace.com/tubulartos Link to comment Share on other sites More sharing options...
harvey28 Posted May 5, 2007 Share Posted May 5, 2007 :wink: Hello Harvey ! I'm going to try to do that ... i'm French so....You must to duplicate the pic you have and "put" the effect in the duplicated pic ( i want to say the pic down ...) Hope you'll understand me :wink: thanks man.. appreciate your help Quote Link to comment Share on other sites More sharing options...
Spazza Posted August 15, 2007 Share Posted August 15, 2007 Great Plug-In Quote -|ALL CREATIONS - 100% PAINT.NET|- Link to comment Share on other sites More sharing options...
darkmummy9 Posted September 4, 2007 Share Posted September 4, 2007 yay yay yay thank you thank you thank you Quote Link to comment Share on other sites More sharing options...
sradforth Posted August 8, 2012 Share Posted August 8, 2012 Nice effect! I've been doing this by hand for far too long and your plugin looks like it will give much better results.. Thank you and keep up the great plugins! Quote Link to comment Share on other sites More sharing options...
dabean Posted September 6, 2013 Share Posted September 6, 2013 All I get is a jpeg of a shadow the picture itself dissapears !! What am I doing wrong ?? Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted September 6, 2013 Share Posted September 6, 2013 That's the way it works. The object is converted to shadow and erased in the process. Duplicate the layer containing the object and run the plugin on the lower of the two idential layers. Note when I say 'object' I mean a group of pixels surrounded by transparency. If you run the effect on a single layer jpg the plugin will not pick out the elements in the image. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
userwords Posted May 24, 2014 Share Posted May 24, 2014 (edited) In paint net 4.0 i cannot find any option for this effect in the menu once installed, any idea. In case you tell me this plugin is not compatible with 4.0, could you suggest best drop shadow effect alternative. Edited May 24, 2014 by userwords Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted May 24, 2014 Share Posted May 24, 2014 You'll find there is an entry for ShadowEffect.dll under Plugin Errors in the Settings dialog (click the gear icon, top right next to the question mark). The plugin is also listed here: http://forums.getpaint.net/index.php?/topic/27661-incompatible-plugins-an-incomplete-list/ As an alternative, you can create your own shadow like this: 1. Duplicate the layer that has the object you wish to add a shadow to :DuplicateLayer: 2. Select the lower of the two identical layers in the Layers Window. 3. Desaturate the lower layer with Adjustments > Black and Alpha+ (plugin found here: Black and Alpha+) 4. Effects > Blurs > Gaussian Blur @ around 20. Larger or smaller values are OK depending on how large your object is. 5. Tilt & Pan the shadow layer to your liking with Ctrl + Shift + Z. 6. Adjust the opacity of the shadow layer by pressing F4 and adjusting the opacity value slider. Approximate result: 1 Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
MikeRobe Posted May 25, 2014 Share Posted May 25, 2014 I like it, I like it a lot! Quote I baked another one... Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted May 25, 2014 Share Posted May 25, 2014 Thanks Mike. It's how we used to do it before the Shadow Effect plugin made it easy for us Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Cc4FuzzyHuggles Posted December 12, 2014 Share Posted December 12, 2014 (edited) I'm not sure if this plugin can help me or not, but it's the only thing I see that might be able to. So, is there any chance someone could please fix this plugin or make a new one for paint.net 4.0?I need a shadow like the kind you get when the sun shines on you, not a drop shadow. I know how to make my own drop shadows, and there is also the drop shadow plugin, but I can't seem to make a figure shadow, I can't get the angle right. I have tried using the rotate/zoom effect, but even with that I still can't get my angles right. So I was thinking this plugin might do what I want. I'm trying to make shadows like these : Edited December 12, 2014 by Cc4FuzzyHuggles Quote *~ Cc4FuzzyHuggles Gallery ~* Link to comment Share on other sites More sharing options...
midora Posted December 12, 2014 Share Posted December 12, 2014 I'm not sure if this plugin can help me or not, but it's the only thing I see that might be able to. So, is there any chance someone could please fix this plugin or make a new one for paint.net 4.0? I'm pretty sure it will not but here is a version 1.2 compiled as PropertyBasedEffect and using GaussianBlur instead of Blur (which forced the crash). ShadowEffect.zip I moved it to the 'Object' submenu. I guess you are on the right way. Create a black version of yout text. Transform it. Fill it with a gradient and blur the result. 2 Quote Link to comment Share on other sites More sharing options...
xod Posted December 12, 2014 Share Posted December 12, 2014 I use LazPaint for my shadows effects. I saved both layers separately as png then I loaded in PDN. We need a tool to deform a selection as in this video. There is Quadrilateral Reshape plugin but is not the same. Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted December 12, 2014 Share Posted December 12, 2014 Tried this http://forums.getpaint.net/index.php?showtopic=16197 ? @Midora : Thanks for updating this plugin. I'll make a note to update the Plugin Index & put a link at the start of this thread. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.