Spikehead777 Posted April 21, 2008 Share Posted April 21, 2008 (edited) 3D Heightmap Plugins v1.0 Download Made with CodeLab by BoltBait. Hey all! This is my first plug-in for Paint.NET. UPDATE: This plug-in has received a much-needed update! New features are listed below, also another plug-in is available! Diffuse Plug-in (Effects -> Stylize -> Diffuse) Description: This plug-in is very similar to Emboss in what it does. What this plug-in does, is it takes the current image as a height map, shines a light on it, and returns the intensity of reflected rays as another image. Examples: Various spheres with the diffuse plug-in applied on them. This is demonstrating the full movement capabilities that you have. Notice the center sphere. The above image was rendered 49 times under different settings. Some post processing was applied to create the alpha around each sphere. The center sphere had the light pitch at 90, right above the image. The next series had light pitch at 45. The third series had light pitch at 0, in line with the image. The last outer series had light pitch at -45, underneath the image! Each sphere in the above image was rendered from this image: It looks a lot like nonsense doesn't it? Maybe this image makes more sense: The former image is really a higher detail heightmap than the latter. To create the latter, I took the red channel of the former image and made it grayscale. Anything you can draw on Paint.Net will work. (old image) Specular Highlight Plug-In (Effects -> Stylize -> Specular) Description: This plug-in is very similar to the diffuse plug-in, but it's different in that it creates a highlight on the image, to give it a shiny effect, almost like gloss or metal. That's what a highlight looks like if on a pure black sphere. Combine this with the diffuse plug-in and you can make many 3d looking objects, even chrome-like! Features: Light source with 360 degrees of movement around and 180 degrees above and (NEW) below the image Pixel "Scaling" -- If your image comes out too short or too tall along the "Z-axis", you can scale the pixels of your image down, so that the highlights and shadows are balanced. (NEW) High quality settings allow your image to remain crisp and smooth if a correct type of heightmap is supplied. (NEW) Added specular highlight plug-in to create specular highlights on a heightmap! (NEW) The original plug-in (Was Illuminate, now Diffuse) is now much faster than before (I was rendering the whole image for each thread XD...about many times unnecessary. XD). Seamlessness! EDIT: CodeLab seems to disallow input of decimal values. This work-around changes the inputs so that it's a percent input, instead of decimal scale input. Not anymore, these plug-ins now has support for 2 decimal places with CodeLab. I hope that with these plug-ins comes a great contribution to the community. Edited December 2, 2018 by toe_head2001 Reattached Zip 1 Quote Wii Friend Codes (PM me with yours if you use mine): Super Smash Bros. Brawl: 0087-3452-9356 Mario Kart Wii: 2234-8268-1808 Guitar Hero World Tour: 403891994256 Link to comment Share on other sites More sharing options...
jerkfight Posted April 21, 2008 Share Posted April 21, 2008 Awesome Effect. Great work. Quote Link to comment Share on other sites More sharing options...
MiguelPereira Posted April 21, 2008 Share Posted April 21, 2008 This is very good. Nice work Quote [The stock on my sig is a photo I took not a render from Splatter] [My deviantART][My Gallery][My Space] Link to comment Share on other sites More sharing options...
oma Posted April 21, 2008 Share Posted April 21, 2008 I haven't had a lot of time to play with this one yet, but what I see so far I like. here is a quick one of a part of a brush I'm currently making. thumb here full size picture in my gallery page 5 Quote My Deviant Art Gallery Oma's Paint.Net gallery Link to comment Share on other sites More sharing options...
R3VENGE Posted April 21, 2008 Share Posted April 21, 2008 this will really help in adding lighting to stuff thanks Quote psn id: R3V-fiR3 Link to comment Share on other sites More sharing options...
vista? Posted April 21, 2008 Share Posted April 21, 2008 As much as I like it, this plugin caused my PDN to freeze and so I had to End Task with Windows Task Manager. Quote Link to comment Share on other sites More sharing options...
Spikehead777 Posted April 21, 2008 Author Share Posted April 21, 2008 As much as I like it, this plugin caused my PDN to freeze and so I had to End Task with Windows Task Manager. I have noticed that this plug-in does run a little slow. I don't know if it's because of compiling it in CodeLab instead of using a true compiler. Also, remember that this is my first plug-in using Paint.NET, so some code might not be optimized well. =/ Regardless, I'll see what I can do about fixing and cleaning up the plug-in. Remember, the bigger the image, the longer processing on that image will take, and that's true for just about any image plug-in. Quote Wii Friend Codes (PM me with yours if you use mine): Super Smash Bros. Brawl: 0087-3452-9356 Mario Kart Wii: 2234-8268-1808 Guitar Hero World Tour: 403891994256 Link to comment Share on other sites More sharing options...
IceFusion Posted April 21, 2008 Share Posted April 21, 2008 Thanks for the plugin, haven't tried it though. Hope I have time tomorrow. Quote Visit-> My Website <-Visit Please Call Me Elite Override The trick to flying is throwing yourself at the floor and missing. Link to comment Share on other sites More sharing options...
Blooper Posted April 22, 2008 Share Posted April 22, 2008 Yay! More C4D work! Thanks a lot for this. [Edit] Kind of disappointed, the results are rather choppy . [Edit] Starting out big and resizing later seems to work. Quote http://synthastic.deviantart.com http://soundcloud.com/siderealenterprise Lockerz invites are available, PM me Link to comment Share on other sites More sharing options...
Spikehead777 Posted April 22, 2008 Author Share Posted April 22, 2008 Yay! More C4D work! Thanks a lot for this.[Edit] Kind of disappointed, the results are rather choppy . [Edit] Starting out big and resizing later seems to work. C4D? Yeah, the results will come out a little hard-ish. One thing is that Paint.NET only really allows 256 different color values (if standard 8-bit grayscale), so you don't get many pixels to work with, and also it returns another 8-bit image as the result. What I can suggest, is that you either make your image larger, perform Illuminate, and size the image down like you said (which is how modern antialiasing in GPUs work), lower the height scale value (Between 0.01 and 0.2), or blur the image (3-6 gaussian blur kind of looks good). Also, on a related note, I have found that you can't put in decimal values into the plug-in. It seems CodeLab doesn't allow this. I made a work-around to the plug-in, so those that downloaded the plug-in, please re-download. Instead of a minimum scale of 1 : 1 height change per intensity with the old plug-in, it becomes 1 : 100 height change per intensity. I'll have the work-around uploaded shortly. Quote Wii Friend Codes (PM me with yours if you use mine): Super Smash Bros. Brawl: 0087-3452-9356 Mario Kart Wii: 2234-8268-1808 Guitar Hero World Tour: 403891994256 Link to comment Share on other sites More sharing options...
007 Nab Posted April 22, 2008 Share Posted April 22, 2008 Very cool plugin -- thanks! Quote "pyrochild, you're my favorite person ever. We should go snowboarding some time."~ 007 Nab. Ish. PDN Gallery | I Made a Deviant Art! Link to comment Share on other sites More sharing options...
Simon Brown Posted April 22, 2008 Share Posted April 22, 2008 C4D? Cinema 4D (Wiki this) Quote Link to comment Share on other sites More sharing options...
R3VENGE Posted April 22, 2008 Share Posted April 22, 2008 Also, remember that this is my first plug-in using Paint.NET, so some code might not be optimized well. =/ why dont you release the plugin source so others can help improve it? Quote psn id: R3V-fiR3 Link to comment Share on other sites More sharing options...
Spikehead777 Posted April 22, 2008 Author Share Posted April 22, 2008 why dont you release the plugin source so others can help improve it? I packaged the CodeLab source along with the work-around, when I first uploaded the work-around. Quote Wii Friend Codes (PM me with yours if you use mine): Super Smash Bros. Brawl: 0087-3452-9356 Mario Kart Wii: 2234-8268-1808 Guitar Hero World Tour: 403891994256 Link to comment Share on other sites More sharing options...
BoltBait Posted April 22, 2008 Share Posted April 22, 2008 Nice plugin. Please check your PM's. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Blooper Posted April 22, 2008 Share Posted April 22, 2008 Great! Thanks for the extra work Quote http://synthastic.deviantart.com http://soundcloud.com/siderealenterprise Lockerz invites are available, PM me Link to comment Share on other sites More sharing options...
Spikehead777 Posted November 29, 2008 Author Share Posted November 29, 2008 A new version of this plug-in is available, along with another helper plug-in. Read the first post for more information if you haven't already. (Taken from first post) Features: Light source with 360 degrees of movement around and 180 degrees above and (NEW) below the image Pixel "Scaling" -- If your image comes out too short or too tall along the "Z-axis", you can scale the pixels of your image down, so that the highlights and shadows are balanced. (NEW) High quality settings allow your image to remain crisp and smooth if a correct type of heightmap is supplied. (NEW) Added specular highlight plug-in to create specular highlights on a heightmap! (NEW) The original plug-in (Was Illuminate, now Diffuse) is now much faster than before (I was rendering the whole image for each thread XD...about many times unnecessary. XD). Seamlessness! Quote Wii Friend Codes (PM me with yours if you use mine): Super Smash Bros. Brawl: 0087-3452-9356 Mario Kart Wii: 2234-8268-1808 Guitar Hero World Tour: 403891994256 Link to comment Share on other sites More sharing options...
Blooper Posted November 29, 2008 Share Posted November 29, 2008 Sweet. Quote http://synthastic.deviantart.com http://soundcloud.com/siderealenterprise Lockerz invites are available, PM me Link to comment Share on other sites More sharing options...
PeterPawn Posted November 16, 2011 Share Posted November 16, 2011 When I tried to use these plugins, all I could get was a look that looks like emboss/relief effect. How did you get them to look like the spheres/orbs that you're showing in your examples? I can't make the black ball with the white shiny hilight on it. Quote My devART Gallery My SIG Gallery Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted November 16, 2011 Share Posted November 16, 2011 Description:This plug-in is very similar to Emboss in what it does. That's what the plugin does. Anything you can draw on Paint.Net will work. So SpikeHead777 created those images in paint.net and then played with the plugin to create the specular highlights on them. 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...
pdnnoob Posted November 18, 2011 Share Posted November 18, 2011 (edited) Hmmm...<opens diffuse plugin> 1st color. kewl...woah wait a sec. 2st?! 3st!?! 4st!?!?! ya that needs to be fixed. cool plugin, though EDIT: I was just playing with this plugin for about an hour, but I still can't figure out what settings you change to adjust what and how your original image should appear to get the best results. I'll post some of my results later, but they aren't looking too great. Edited November 18, 2011 by pdnnoob Quote No, Paint.NET is not spyware...but, installing it is an IQ test. ~BoltBait Blend modes are like the filling in your sandwich. It's the filling that can change your experience of the sandwich. ~Ego Eram Reputo Link to comment Share on other sites More sharing options...
ScrapbookWithPDN Posted December 2, 2018 Share Posted December 2, 2018 So, is this a dead plugin? I only ask because, like "Palette from Image" plugin, which is dead, when I went to check it out and clicked on it, there's no file extension, just a series of numbers. If it's just a serious of numbers for a download, does that mean don't bother with it? Thanks. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted December 2, 2018 Share Posted December 2, 2018 1 hour ago, ScrapbookWithPDN said: when I went to check it out and clicked on it, there's no file extension, just a series of numbers. I've reattached the Zip file, so it should download properly now. 2 Quote (September 25th, 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 December 2, 2018 Share Posted December 2, 2018 Not to push my own plugins (okay, actually I am), but the Texture Shader does something similar, and quite a bit more. 1 Quote Link to comment Share on other sites More sharing options...
ScrapbookWithPDN Posted December 2, 2018 Share Posted December 2, 2018 LOL... I'll revisit yours...and, it's ok to toot your own horn at times. Also, I found an old post about how to deal with downloads that are only a series of numbers, to name it and add the .zip file extension on the end while saving it as a download. 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.