Radobot

Heightmap v1.3

Recommended Posts

Radobot    0

I made my version of 3D Heightmap plugin.

New version 1.3 has now light angle option and updated names of settings.

How plugin works:

Imagine that you are looking at uneven surface - heightmap (image in PDN). Lightness of each pixel represents it's height. You can choose from where is light coming and you can adjust the angle of light. Plugin generates how will heightmap look with your settings. It generates lightness of each pixel by calculating at which angle it is from next pixel and generating lightness of pixel form angle.

How to use it:

Light direction - Direction from which is light coming.

Brightness - Angle from which is light coming.

Contrast - Strength of light.

Shadows - Turns on/off shadows.

Replace Alpha - If you have image with transparent parts, this changes them all to one value.

Replace Alpha with - Value, to which change all Alpha in image.

Plugin is in Stylize submenu.

Images before:

screenshotbefore.png

Images after:

screenshotafter.png

Just ask if you want something (previous versions, code, ...) :).

Heightmap v1.3.zip

Edited by Radobot

Share this post


Link to post
Share on other sites
pdnnoob    257

this looks like it could be useful...(downloads plugin)

PS your sample images are reversed as in if the before pics are labeled 1 2, the after pics would correspond to 2 1. Yay for me over-complicating my explanations

EDIT: I always wanted one of these with a lighting angle adjustment...could you please add that? pleasepleasepleaseplease? I'll give you my imaginary cookie :cookie::)

Edited by pdnnoob

Share this post


Link to post
Share on other sites
Radobot    0

Sorry for not responding. I don't know how to make that lighting angle :( (I know how to do it mathematically, but I don't know how to write it in code).

Moar updates? Tell me what do you want :) (except that lighting angle :().

Edit: I made new version 1.2 with shadows option!

Edited by Radobot

Share this post


Link to post
Share on other sites
pdnnoob    257

omygosh I haven't been checking up on this enough. Thanks for the updates! (downloads again)

PS Just a thought, but you may wish to change "light angle" and "difference" to "brightness" and "contrast" so people won't get confused (since those terms are typically reserved for other things). Great plugin! I pretty much don't use height field to normal map anymore because of this ;)

Share this post


Link to post
Share on other sites
Radobot    0

Thank you for helping my with this plugin :)! When I program applications/plugins I usually name thing by my names because they came from my crazy ideas and I then know what they mean, so often the names aren't the best and can confuse others. Again thanks :D.

(And by the way I thought you forgot on this plugin, I forgot too :lol:.)

Share this post


Link to post
Share on other sites
Radobot    0

Yes, help. You're saying what could be improved. I don't know if I will add something to it. I don't know what I could add/improve and be able to add/improve it. If you have any ideas? I'll then tell you if I could add it. :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now