MJW Posted August 28, 2015 Posted August 28, 2015 The plugin could be made more efficient for small selections by only computing the distances for edge pixels within the maximum distance of the selection edge. The distance buffer size could also be decreased to either the selection size plus, in each direction, twice the maximum distance, or the twice the maximum value of the maximum distance. The smaller version would require allocating a new buffer if the maximum distance increased, so I think the second version is probably better. Quote
MJW Posted August 28, 2015 Posted August 28, 2015 I noticed that the Fill8 flood fill routine still uses the old, ugly method of pushing phony spans at the beginning, which doesn't even always work right if the seed pixel isn't filled. I never used the Fill8 routine much, so I guess I never got around to fixing it. Darn! Now I've got to figure out how the silly thing works again. Quote
Red ochre Posted August 28, 2015 Author Posted August 28, 2015 Thanks MJW - will study what you've done later.Re: the original version - I got the list<T> thing working on Pdn4 with Rick's "..Rendering.PointInt32" struct.(The alternative version I was thinking of produces a different result - so will not pursue that).Also, finally got VS working on windows 10!(Though, ideally the finished effect will be 3.5.11 compatible).I'm hoping to restrict how much of the edgepixels list gets examined for each pixel, based on 'maxdistance' too. Something, it seems, that you've picked up on already.That may also allow checking each 'area' of the edgepixels list for both minimum and maximum distance - which should allow it to automatically get a full range of shades between edges.Glad you can see the potential Eli! Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings
AndrewDavid Posted March 15, 2018 Posted March 15, 2018 @MJW and @Ego Eram Reputo One of Paint.Net's hidden treasures. After using the MJWEdgeshader version plugin several times on my latest project I discovered this plugin has not been officially released but it has been mentioned in several threads as being very usefull. This would also explain why it can't be found in the index. Sorry to awaken after 3 years - but I think it's worth it. 1 Quote
lynxster4 Posted March 16, 2018 Posted March 16, 2018 34 minutes ago, AndrewDavid said: One of Paint.Net's hidden treasures. I use this plugin frequently...it is a hidden treasure! Quote My Art Gallery | My Shape Packs | ShapeMaker Mini Tut | Air Bubble Stained Glass Chrome Text with Reflections | Porcelain Text w/ Variegated Coloring | Realistic Knit PatternOpalescent Stained Glass | Frosted Snowman Cookie | Leather Texture | Plastic Text | Silk Embroidery Visit my Personal Website "Never, ever lose your sense of humor - you'll live longer"
MJW Posted March 16, 2018 Posted March 16, 2018 I'll try to officially release it soon. Unfortunately, I haven't seen co-developer @Red ochre around the PDN forum for quite a long time, but I'm pretty sure he would have no objection. 1 Quote
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.