Popular Post toe_head2001 Posted October 23, 2015 Popular Post Share Posted October 23, 2015 (edited) TartanEffects -> Texture -> Tartan Description Provides a UI to build custom tartan/plaid patterns. The left side of the UI is the builder section. The right side of the UI is what gets rendered to the canvas. The Horizontal Set & the Vertical Set get repeated. ScreenshotsImages have been cropped to give more desirable edges. ---> Change Log v1.5.2 (Jan 3, 2019) Fixed: Incorrect rendering for selections v1.5.1 (Sept 29, 2018) Fixed: HiDPI issues v1.5 (July 3, 2018) Added: Support for the Dark Theme Changed: Moved to the 'Texture' menu v1.4 (Dec 12, 2016) Changed: UI Corrections & Adjustments v1.3 (Jan 22, 2016) New: There is now a preview box for the Line Style Changed: Minor UI Adjustments v1.2 (Nov 7, 2015) Fixed: Crash caused by a race condition Fixed: Was using the wrong ending-coordinate on vertical lines v1.1 (Oct 31, 2015) New: Save & Load tartan patterns Changed: Minor UI Adjustments v1.0 (Oct 22, 2015) Initial release Notes Thanks goes to @TechnoRobbo for his Color Wheel code, on which the Color Control in this plugin is based. Save & Load icons based on icons from from Fugue Icons. Download Tartan.zip Source Codehttps://github.com/toehead2001/pdn-tartan Edited June 26, 2020 by toe_head2001 Fixed typos 2 10 Quote June 9th, 2023: Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Ishi Posted October 23, 2015 Share Posted October 23, 2015 Form all them Scottish folks out there. 1 Quote Link to comment Share on other sites More sharing options...
Eli Posted October 23, 2015 Share Posted October 23, 2015 So nice I would give it a nickname "Plaids Galore" Quote Link to comment Share on other sites More sharing options...
lynxster4 Posted October 23, 2015 Share Posted October 23, 2015 (edited) This is a great plugin, toe_head2001. I made you a little something....did it on my lunchbreak...not much time.... Edited July 27, 2017 by lynxster4 re-hosted image 4 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" Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted October 24, 2015 Share Posted October 24, 2015 Fabulous looking plugin! I have some Scottish ancestry. Reproducing my clan tartan would be cool - except that I'd have to re-enter it each time. How about an option to load & save patterns? 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...
Seerose Posted October 25, 2015 Share Posted October 25, 2015 This is a great plugin, thank you so much. 1 5 Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
toe_head2001 Posted October 31, 2015 Author Share Posted October 31, 2015 (edited) ... would be cool - except that I'd have to re-enter it each time. How about an option to load & save patterns? Version 1.1 posted with Save & Load functionality. I must say, it was a lot easier than I thought it would be. I thought I would have to define a custom XML structure and everything, so it was great to see XMLSerializer just simply knew how to structure the XML based on the existing code. Button icons from Fugue Icons. I also added a link to the source code; which I had forgotten to do last week. Here's an example tartan you can load. tartan-example.xml I've found that using the 'Grain' plugin afterwards will give a decent fabric texture to the pattern. Does anyone have some other techniques for making the tartan patterns look more like fabric? Sorry about the broken images on all of my posts. My domain name was unexpectedly suspended today for reasons unknown to me. Hopefully that will be sorted out within a few days. Edited October 31, 2015 by toe_head2001 3 Quote June 9th, 2023: Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Eli Posted October 31, 2015 Share Posted October 31, 2015 (edited) It is not easy to add texture to pixels. But I tried something. I created a tartan pattern then I removed the white area and made it transparent. I duplicated the layer, I applied the Reticulation effect at the minimum settings and then I did a Color Flip. Finally I did offset the layer. And it looks like this: This is a close-up and as you see, I think several colors are needed to have a textile texture. Perhaps a feature to create this type of patterns could be added to the effect. Edited October 31, 2015 by Eli 2 Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted November 1, 2015 Share Posted November 1, 2015 Version 1.1 posted with Save & Load functionality. Bravo! Thank you. I must say, it was a lot easier than I thought it would be. I thought I would have to define a custom XML structure and everything, so it was great to see XMLSerializer just simply knew how to structure the XML based on the existing code. I'm really glad you figured it out 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...
Red ochre Posted November 1, 2015 Share Posted November 1, 2015 This is a really cool plugin! nice U.I. and useful. Thank you. (Not a real tartan, just a first experiment)Does this replace/supercede Gingham and Tattershall?Perhaps a few .xml presets for tartans, tweeds etc. could be included in the first post ... just a thought.By the way the first post screenshot image links seem to be broken. I should read more carefully!Good images Eli! Btw I used Furblur & Clipdisplace (I would, wouldn't I! ), to soften/distort. 1 Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
toe_head2001 Posted November 1, 2015 Author Share Posted November 1, 2015 Does this replace/supercede Gingham and Tattershall? Perhaps a few .xml presets for tartans, tweeds etc. could be included in the first post ... just a thought. While this plugin can do gingham and tattersall patterns, I would still recommend those plugins. If someone specifically wanted to create a gingham pattern, it is faster and less cumbersome to use the Gingham plugin. If anyone wants to create some sample .xml files, they can send them to me a PM and I can add them to the first post. I only issue I foresee is that there currently is no way to edit the built lines (in the UI at least, one could manually edit the .xml file). Quote June 9th, 2023: Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
MJW Posted November 2, 2015 Share Posted November 2, 2015 One way to add texture is to use my Texture Shader plugin. I generated a cloth-like texture by the following steps. A grid, using BoltBait's Grid/Checkerboard plugin, with spacing 5 and line width 1. A Gaussian blur of 1. Pyrochild's Stitch plugin, with everything default, except a distance of 1. The result was: I copied a tartan image to the clipboard, and used Texture Shader to produce: EDIT: Another idea that seems to work well to produce the cloth texture is to start with a checkerboard in place of a grid. Also, following the Stitch step, adding a bit of noise (with Color Saturation set to 0) and/or applying the Frosted Glass effect seems to give good results. EDIT 2: Thanks for the positive response to my comment! I originally neglected to write down the Texture Shader settings, so I thought I'd add them. Better late than never. Mapping Method: Surface Offset 1 (default) Texture Height Scale: 5.00 Texture Displacement Scale: 1.00 (default) Intensity Increases with Height: Checked (default) Use Alpha from Texture: Unchecked (default) Ambient Light Color: 0, 0, 0 Directional Light Color: 255, 255, 255 Directional Light Direction: 0, -135, 45 (from upper-left) Directional Light Intensity: 2.00 Apply Surface Color to Highlight: Unchecked (default) Specularity: 0.35 Specular Concentration: 8 (default) Antialias: Unchecked (default) These are not necessarily the best values, and may not be exactly what I originally used. 7 Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted November 2, 2015 Share Posted November 2, 2015 Very nice texturing effect MJW! 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...
toe_head2001 Posted November 8, 2015 Author Share Posted November 8, 2015 Version 1.2 posted. Fixes two things:-The effect would crash if the Tokens for the List Sets were updated while the render was in the middle of processing them. Had to wrap the relevant code in a try{ }-The ending Y coordinate for the vertical lines was using the selection width rather than the height. This was only noticeable if you were working with a portrait selection/canvas . 1 Quote June 9th, 2023: Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
toe_head2001 Posted January 22, 2016 Author Share Posted January 22, 2016 Version 1.3 posted. I've added a preview box for the Line Style. 2 Quote June 9th, 2023: Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
toe_head2001 Posted December 13, 2016 Author Share Posted December 13, 2016 Version 1.4 posted. This updates the Color Wheel control to one that matches the one from IndirectUI, and fixes the plugin on HiDPI. 4 Quote June 9th, 2023: Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Eli Posted December 13, 2016 Share Posted December 13, 2016 Thanks for the update toe_head2001, 1 3 Quote Link to comment Share on other sites More sharing options...
NomBot Posted December 23, 2016 Share Posted December 23, 2016 As they say about whisky, 'they're all good but some are better than others' (I'm looking at you, caol ila and lagavulin) it's also true about tartans. Now I need to drag my tartan out and try to reproduce it with this plugin. But first I'll look at your code, which I've learned a lot from. toe_head2001, This is a great plugin and I appreciate the work that went into it. Quote "No live organism can continue for long to exist sanely under conditions of absolute reality; even larks and katydids are supposed, by some, to dream." Link to comment Share on other sites More sharing options...
Seerose Posted August 30, 2017 Share Posted August 30, 2017 @welshblue! OMG!!! You have produced a very good piece of work. Thank you very much. Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted August 30, 2017 Share Posted August 30, 2017 12 hours ago, welshblue said: and the possibility of seeing @Ego Eram Reputo in his kilt (Ok that bit is slightly weird) I'm believe I'm a Campbell - so these are my clan colors I'd wear a kilt - y' got a problem w' tha' Jimmy? 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...
LionsDragon Posted August 31, 2017 Share Posted August 31, 2017 7 hours ago, Ego Eram Reputo said: I'm believe I'm a Campbell - so these are my clan colors I'd wear a kilt - y' got a problem w' tha' Jimmy? A Campbell eh? Which branch, cousin? After my mother's people left the Hardangerfjord, they married into the lords of the Orkney Islands--a sept of Campbell of Cawdor. Of course, we're also associated with Clan Stuart, but they don't like to admit to Maddad's children! Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted August 31, 2017 Share Posted August 31, 2017 Actually I'm not sure which branch. The ones who fought the MacGregors (it's a long story - which I don't fully know). 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...
toe_head2001 Posted September 1, 2017 Author Share Posted September 1, 2017 I started playing with this plugin again, and got some ideas for new features. I might release a new version within the next week or so. 3 Quote June 9th, 2023: Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
LionsDragon Posted September 1, 2017 Share Posted September 1, 2017 On 8/31/2017 at 1:35 AM, Ego Eram Reputo said: Actually I'm not sure which branch. The ones who fought the MacGregors (it's a long story - which I don't fully know). Oh! Glenorchy then! So, technically you would wear Campbell of Breadalbane if you wanted something different from the standard Black Watch. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted December 26, 2017 Author Share Posted December 26, 2017 I'm in the processes of updating my plugins with Custom UI to be 'Dark Theme' aware. Lookie here: I'll be posting these updated versions once paint.net 4.0.20 is released. 1 2 Quote June 9th, 2023: Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab 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.