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...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.