Tim! Posted March 25, 2009 Share Posted March 25, 2009 (edited) Hi All, I've just written another plugin called Mosaic. It converts a drawing into mosaic pattern and uses the Secondary colour as the adhesive or grout between the tesserae. I was wondering what would be the best submenu for it: Distort, Render or Stylize? (This BETA version is in the _test submenu for now.) A possible enhancement I might add in future would be mathematical formulae to generate the mosaic pattern; at the moment it just uses a random irregularity based on a square shape. EDIT 1: Updated the effect by adding a tesserae colour computation option and removed the annoying message box. EDIT 2: Removed beta effect zip file because I've published it here (and here). Thanks for your suggestions. EDIT 3: Updated hyperlinks for new forum. Edited May 7, 2011 by Tim! Quote Link to comment Share on other sites More sharing options...
Aethec Posted March 25, 2009 Share Posted March 25, 2009 This is great but sometimes, dragging the Tesserae Width slider, or launching the plugin makes a popup saying something like a NullReferenceException (it talks about an object and its missing reference...searching this in google returns it's a System.NullReferenceException) appear. . . Quote Link to comment Share on other sites More sharing options...
oma Posted March 25, 2009 Share Posted March 25, 2009 bit too tile like. although I can see it being used in some nice stained glass pieces give option for rounded off corners and you have a drawingwise more versitle plugin. then you could make cobble stone, and brick walls.... not too bad Quote My Deviant Art Gallery Oma's Paint.Net gallery Link to comment Share on other sites More sharing options...
Tim! Posted March 27, 2009 Author Share Posted March 27, 2009 (edited) bit too tile like. I value your comments but I don't know mean by that one. Mosaics are made of (usually) square tiles. One of the intrinsic properties of a mosaic is that it comprises versatile tesselating tesserae. ;-) Before After EDIT 1: Updated links for new forum. Edited May 7, 2011 by Tim! Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted March 27, 2009 Share Posted March 27, 2009 I was wondering what would be the best submenu for it: Distort, Render or Stylize? Am I too late to recommend distort submenu? 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...
pyrochild Posted March 27, 2009 Share Posted March 27, 2009 It would go well in either Distort or Stylize, but seeing as Distort is far more crowded, I'll throw my in for Stylize. Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
pyrochild Posted March 27, 2009 Share Posted March 27, 2009 Actually I think I'll vote for Artistic. It goes well with Oil Painting, I think. Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
oma Posted March 27, 2009 Share Posted March 27, 2009 bit too tile like. I value your comments but I don't know mean by that one. Mosaics are made of (usually) square tiles. One of the intrinsic properties of a mosaic is that it comprises versatile tesselating tesserae. ;-) sorry Tim I wasn't questioning the mosaic part I was just wondering if there was a possiblity of add a rounded off option as well. Most likely not (can you tell I can not get my head around plugin writing?) but thought I'd ask. ciao OMA Quote My Deviant Art Gallery Oma's Paint.Net gallery Link to comment Share on other sites More sharing options...
Simon Brown Posted March 27, 2009 Share Posted March 27, 2009 Actually I think I'll vote for Artistic. It goes well with Oil Painting, I think. Seconded Quote Link to comment Share on other sites More sharing options...
Tim! Posted March 30, 2009 Author Share Posted March 30, 2009 (edited) Thanks for your suggestions. I've now published it here (and here) Rounded Corners: Hmmm. That involves calculating eight tangents and four x-y offsets and drawing an arc about each of the four x-y offsets between pairs of tangents. Easy enough to say, but tricky to implement. I'll have a think... EDIT 1: Updated links for new forum. Edited May 7, 2011 by Tim! Quote Link to comment Share on other sites More sharing options...
oma Posted March 30, 2009 Share Posted March 30, 2009 :wink: I knew it wasn't go to be easy.... but at least it gives you something to think about. I've downloaded this plugin and will be trying to work using it into next picture. thanks ever so much for sharing your plugin work with us. ciao OMA PS have a great day! Quote My Deviant Art Gallery Oma's Paint.Net gallery Link to comment Share on other sites More sharing options...
Tim! Posted April 6, 2009 Author Share Posted April 6, 2009 This is great but sometimes, dragging the Tesserae Width slider, or launching the plugin makes a popup saying something like a NullReferenceException (it talks about an object and its missing reference...searching this in google returns it's a System.NullReferenceException) appear. . .I've just had another look at that problem. I should have put a lock statement in OnSetRenderInfo(). Thanks for highlighting it. Quote 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.