stinger Posted December 30, 2006 Posted December 30, 2006 (edited) Hello All, I needed a height field (gray scale) to normal map plugin/feature and couldn't find one. So I wrote one. Here is the .dll that goes in your Effects folder: http://www.freewebs.com/realstinger/pdn ... Normal.dll https://web.archive.org/web/20070512124202if_/http://www.freewebs.com:80/realstinger/pdn/HeightToNormal.dll Here is the source: http://www.freewebs.com/realstinger/pdn ... ToNormal.z I've used it, but it is hot off the press so use at your own risk. Have fun, stinger Edited February 24, 2018 by toe_head2001 Quote
Illnab1024 Posted December 30, 2006 Posted December 30, 2006 Hmmm....Interesting and useful for some - a good idea to publish it Quote ~~
MadJik Posted December 30, 2006 Posted December 30, 2006 It is working. But what for? Could you give before/after pictures to let us see that you've build this plugin for. Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
Illnab1024 Posted December 30, 2006 Posted December 30, 2006 Normal mapping is used primarily in 3D Rendering and such... Quote ~~
stinger Posted December 30, 2006 Author Posted December 30, 2006 To answer your question here is what the plugin is for: Start with a gray scale, white is highest, black is lowest: http://www.freewebs.com/realstinger/pdn/before.png Use the plugin to make a normal map: http://www.freewebs.com/realstinger/pdn/bump.png Draw something with a shader that uses a normal map: http://www.freewebs.com/realstinger/pdn/teapot.png -stinger Quote
t2suggas Posted December 31, 2006 Posted December 31, 2006 I can see this being very useful in The Sims 2 game. For people who make custom content. Quote
Tendercrisp Posted February 14, 2007 Posted February 14, 2007 Heh, its actually useful for any game that you can mod skins. Quote
Rec Posted June 1, 2007 Posted June 1, 2007 wait so how does this work? id like to use this Quote Rec.
Alph Tech / STUART Posted June 1, 2007 Posted June 1, 2007 You need to zip it. I don't know what the hell is up with your server or what, but it ends up serving me the file's ASCII encoding in text when I try to download that. Quote
Rec Posted June 1, 2007 Posted June 1, 2007 it works for me but i dont get how to make the shape or anything like that i just used the effect and then im lost Quote Rec.
Conjured Posted January 8, 2008 Posted January 8, 2008 Thanks for a great effect! The download worked fine for me, as did the plugin. Thanks wait so how does this work? id like to use this 1) Download the DLL fille. 2) Copy/Paste the DLL into your Effects folder. 3) Now when you open Paint.NET and you click your Effects tab from the menu, you will notice this effect added to the bottom of your list of effects. 4) Load an image that is used for your models texture and grey scale it (turn it black & white). 5) Now use the effect on that greyscale image and you now have your normal map. 6) save the normal map and use it with whatever program your model will be used in. Here is a quote from Ionozation.net that might help explain normal mapping ... So what is Normal Mapping? Normal mapping is a method where by the normals of a mesh are given more detailed lighting information by means of a bitmap image. This give the mesh the appearance of more realistic lighting and more surface detail. Normal maps are encoded to a bitmap image, much like a greyscale bump map. The way in which they differ however is that in traditional bump mapping only distinct changes in elevation are registered. A gradual change in height is almost impossible to perceive. Normal maps not only describe height, but accurately depict the angle of faces and are able to describe curves and complex angles much more accurately. In short, they create a much better illusion of height. Normal maps are encoded in RGB values which are used to indicate which direction the normal faces relative to the face of the polygon it is mapped to. The red channel describes normal facing in the X direction. 100% red means it is facing right 0% red means it is facing left. A 50% value means it is facing straight out in the direction of the polygon. The same goes for the green channel, except it is encoded to the Y axis up and down. The blue channel theoretically encodes Z data which are values in height, however it seems to serve more as a base colour for the other two to work upon. Normal maps can't contain values below 50% in this channel, as that would indicate normals pointing back towards the surface. That is why normal maps appear to be primarily blue in colour. Here is an example of a wall texture with and without the normal mapping/shaders applied... WITHOUT Normal Mapping and Shaders... http://www.conjured.us/fpsc/images/misc/alien_flat.jpg WITH Normal Mapping and Shaders... http://www.conjured.us/fpsc/images/misc/alien_flat_3.jpg As you can see from the images above, the use of normal maps and shaders can make a your textures come alive with detail. (even flat surfaces) This is a method that is used to create hi-poly detail on low-poly models, which gives outstanding visuals without the resource strain. This is also a method that is basically a requirement for any DirectX 10 project, since it demands the use of these latest texturing tricks. Thanks again Stinger, for one of the best and most needed plugins. You rock! Quote
Blooper Posted February 4, 2008 Posted February 4, 2008 Great plugin! A few layers of clouds, then run the plug-in on each, Turn them all to grayscale, set the top layer's blend mode to screen, merge, adjust brightness, repeat until you only have one layer, tint, and you have an awesome rock texture! Quote http://synthastic.deviantart.com http://soundcloud.com/siderealenterprise Lockerz invites are available, PM me
TikkiT Posted August 30, 2009 Posted August 30, 2009 The link does not seem to currently be directed to a current valid website. Could you repost this somewhere. I would like to check it out. Thanks. TikkiT EDIT: My error, I just found it posted at the bottom of a similar request a couple posts back. Thank you. Quote
Oriental Rose Posted November 25, 2010 Posted November 25, 2010 Thank you so much, it´s exactly what I needed! Quote
Mag05003 Posted May 8, 2019 Posted May 8, 2019 Are there any plans to continue development to work with the latest update to Paint.net? None of my plugins from anyone work anymore but yours was probably the one I used the most. Quote
Ego Eram Reputo Posted May 8, 2019 Posted May 8, 2019 Try this: https://forums.getpaint.net/topic/111602-normalmapplus-codelab-implementation/ 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
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.