MJW Posted October 29, 2016 Share Posted October 29, 2016 This is a rather specialized plugin. It generates a spherical height map for use with my various height-map plugins. Though it logically fits in the Render submenu, I put it in the Height Map submenu instead, since it's only really useful with those effects. The plugin: RenderSphereHeightMap.zip The UI: As described by the Help Menu: Render Sphere Height Map renders a 24-bit height map for a sphere. The controls are: Sphere Diameter: Specifies the diameter of the rendered sphere. The choices are: 510: Sets the diameter to 510 (so the radius is 255).Minimum Selection Dimension: Sets the diameter to the minimum of the width and height of the selection.Selection Dimensions (Elliptical): Sets the horizontal diameter to the width of the selection and the vertical diameter to the height of the selection. Maximum Sphere Height: Specifies the maximum height of the rendered sphere, relative to the full 24-bit depth range. Feathering Height (If Transparent Background): When used with a transparent background, specifies the maximum height at which the sphere begins to become transparent. Transparent Background: Specifies that pixels outside the sphere should be made transparent instead of black. Here is an example of a 512x512 sphere height map: The Texture Merger plugin allows a height map in the clipboard to be scaled, stretched in X or Y, and to have the depth scaled, so there isn't usually a need to generate new sphere height map when a new size is required. Up to now, I've been using the one I included in my initial Texture Shader comment. (That image was generated with a simpler predecessor to this plugin.) The reason the sphere is scaled to the selection instead of having the size specified is mostly historical. I may decide to change it later, especially if I make this a Visual Studio (instead of CodeLab) plugin, so I can provide both options and disable the inapplicable controls. 5 Quote Link to comment Share on other sites More sharing options...
Maximilian Posted November 1, 2016 Share Posted November 1, 2016 As a longtime fan of Texture Shader I can't overlook your latest two plugins, MJW. I can only somehow imagine their possibilities, but I felt I had to say something in praise of your coding and artistic skills, even when I can't make use of them due to the still outdated hardware/software I use. Kudos! 1 Quote Link to comment Share on other sites More sharing options...
MJW Posted November 1, 2016 Author Share Posted November 1, 2016 Thank you, Maximilian! If you can install Visual Studio in some form on your system, I'll be happy to provide the VS project code. There are some things that use features not available in older PDN versions, but I think they can be gotten around without too much difficulty. Perhaps I will get around to making 3.5 versions myself, but I've been busy with other things. I wish you'd get a newer system. Refurbished computers are very reasonably priced. I realize, though, that there are often more pressing needs for money. (I believe Visual Studio Express is what you'd need. It's a free download from Microsoft. As far as I can recall, I don't use any features that aren't available in older versions of C#) 1 Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted November 2, 2016 Share Posted November 2, 2016 Express is now called Microsoft Visual Studio Community 2015 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...
MJW Posted November 2, 2016 Author Share Posted November 2, 2016 That's true, but the version that Maximilian could use on his outdated system is, I believe, VS Express. 1 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.