harold Posted January 2, 2009 Share Posted January 2, 2009 MODERATORS NOTE: this plugin has been superseded by a newer version: https://forums.getpaint.net/topic/111602-normalmapplus-codelab-implementation/ Very simple plugin that probably already exists. Uses the Sobel Filter from AMD's Render Monkey's normal map example to calculate the first order derivatives of the image. Light angle is adjustable. This plugin will probably only help you if you're a 3D artist and you have a height map that, for some reason, you want to transform to a normal map. I imagine that situation will be rare.. NormalMap1.1.zip Version history: 1.0 - 2nd Jan 09: initial version, may include the ugly icon. 1.1 - 2nd Jan 09: various speed improvements. ps: I'm not an artist myself, in fact I'm so very not an artist that I didn't even give my plugin a proper icon. If you're an artist and you make a nice icon that you feel goes well with this plugin, please send it to me so that I can include it. edit: and I release this thing to the Public Domain. edit: Support terminated. You can still download it, at your own peril. This plugin is officially dead. I would write plugins, if I knew what kind of plugins were needed.. Link to comment Share on other sites More sharing options...
Simon Brown Posted January 2, 2009 Share Posted January 2, 2009 I suggest simply passing new Bitmap(16, 16); rather than that ugly (IMHO) default image. Link to comment Share on other sites More sharing options...
harold Posted January 2, 2009 Author Share Posted January 2, 2009 Thanks for the tip Done and edited original post to reflect the changes. I would write plugins, if I knew what kind of plugins were needed.. Link to comment Share on other sites More sharing options...
Simon Brown Posted January 2, 2009 Share Posted January 2, 2009 I suggest adding a version number to the title. Link to comment Share on other sites More sharing options...
harold Posted January 2, 2009 Author Share Posted January 2, 2009 To the title of the plugin window..? I would write plugins, if I knew what kind of plugins were needed.. Link to comment Share on other sites More sharing options...
Simon Brown Posted January 2, 2009 Share Posted January 2, 2009 To the title of the thread (and assembly info if you havn't already done so). Link to comment Share on other sites More sharing options...
harold Posted January 2, 2009 Author Share Posted January 2, 2009 The assemblyinfo has a version (the default, 1.0.0.0) Thread title edited. I would write plugins, if I knew what kind of plugins were needed.. Link to comment Share on other sites More sharing options...
Simon Brown Posted January 2, 2009 Share Posted January 2, 2009 I meant after the icon change, but I guess it doesn't need a new version number. Link to comment Share on other sites More sharing options...
pyrochild Posted January 2, 2009 Share Posted January 2, 2009 I suggest simply passing new Bitmap(16, 16); rather than that ugly (IMHO) default image. Are you talking about the icon? You can just pass null, you know... 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...
jake2k Posted January 2, 2009 Share Posted January 2, 2009 I understand nothing in this topic o_O ^Click to visit my Flickr Gallery^ Link to comment Share on other sites More sharing options...
ShK_828 Posted January 2, 2009 Share Posted January 2, 2009 amen to that. Link to comment Share on other sites More sharing options...
LFC4EVER Posted January 2, 2009 Share Posted January 2, 2009 Non-plugin writers, unite! ☆★☆★Merry Christmas★☆★☆ .::.My Gallery.::.Make Gold Text!.::. Link to comment Share on other sites More sharing options...
harold Posted January 2, 2009 Author Share Posted January 2, 2009 I fixed some speed issues, this should save.. well.. a couple of milliseconds. The most time-consuming thing was getting pixels from the source surface, which I "solved" by sampling some pixels that are used more than once only once instead of each time it's used. Of course I should really use unsafe code, but that will come later.. Nothing else has changed, but the speed fixes could in theory have given rise to new bugs - please let me know if you find any. I would write plugins, if I knew what kind of plugins were needed.. Link to comment Share on other sites More sharing options...
Blooper Posted January 6, 2009 Share Posted January 6, 2009 This is like Height Field to Normal, just better. http://synthastic.deviantart.com http://soundcloud.com/siderealenterprise Lockerz invites are available, PM me Link to comment Share on other sites More sharing options...
PeaceHeather Posted March 31, 2009 Share Posted March 31, 2009 Could someone 'splain me the difference between the two plugins, NormalMap and Height Field to Normal? Link to comment Share on other sites More sharing options...
Blooper Posted May 1, 2009 Share Posted May 1, 2009 HFTM has no control when it comes to separate x/y/z adjustment. http://synthastic.deviantart.com http://soundcloud.com/siderealenterprise Lockerz invites are available, PM me Link to comment Share on other sites More sharing options...
Rebel O Conner Posted November 13, 2009 Share Posted November 13, 2009 this plugin doesn't work with paint.net 3.5. is an update possible? Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted November 14, 2009 Share Posted November 14, 2009 From the first post..., edit: Support terminated. You can still download it, at your own peril. This plugin is officially dead. Looks like we won't be getting an update. Shame about that 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...
Rebel O Conner Posted November 14, 2009 Share Posted November 14, 2009 From the first post...,edit: Support terminated. You can still download it, at your own peril. This plugin is officially dead. Looks like we won't be getting an update. Shame about that i ask Harold by PM, and he say me if many peoples ask for an update, he could reconsider the question. but i certainly don't want to incitate to bump this topic nor to annoying Harold whith PM. Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted November 15, 2009 Share Posted November 15, 2009 I guess we hold our hands up here then. I'd also love to see the plugin updated. That's two in favour, any others? 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...
yellowman Posted November 15, 2009 Share Posted November 15, 2009 Add me to the list please, this is one of my favorite plugins. My GalleryMy YouTube Channel "PDN Tutorials" Link to comment Share on other sites More sharing options...
Stephk Posted November 15, 2009 Share Posted November 15, 2009 I guess we hold our hands up here then.I'd also love to see the plugin updated. That's two in favour, any others? *raises hand* It also says in the first post: edit: and I release this thing to the Public Domain. Someone with the skill could pick up the ball and run with it, no? *just noticed no source tho* Link to comment Share on other sites More sharing options...
Simon Brown Posted November 15, 2009 Share Posted November 15, 2009 I'm working on a fixed version. Link to comment Share on other sites More sharing options...
Rebel O Conner Posted November 15, 2009 Share Posted November 15, 2009 I'm working on a fixed version. thank you very much. Link to comment Share on other sites More sharing options...
Simon Brown Posted November 15, 2009 Share Posted November 15, 2009 Done Link to comment Share on other sites More sharing options...
Recommended Posts