GIMP Chat http://gimpchat.com/ |
|
Heightmap stretch selection (python script) http://gimpchat.com/viewtopic.php?f=9&t=14095 |
Page 1 of 1 |
Author: | trandoductin [ Wed May 18, 2016 10:12 am ] |
Post subject: | Heightmap stretch selection (python script) |
Warning: This script is experimental and you're not able to Ctrl-Z to undo the process of the script. Let's say you have a depth map (gray scale) layer with brightest value at (50,50,50). And you have another depth map layer with brightest value at (200,200,200). And you have a third layer of a hand painted depth map layer of intricate pattern/design with brightest values at (255,255,255) and darkest value at (0,0,0). like this diagram And you want to stretch the height map of your hand painted intricate pattern so that the darkest value matches the brightest value of the first layer and the brightest value matches the brightest value of the second layer. like this diagram (so that all three layers together gives you a nice height map) Just make a selection and enter 200 for New Bright Value and enter 50 for New Dark Value. Script will available under Python-Fu/Height Stretch Selection... Attachment:
|
Author: | PegLeg44 [ Wed May 18, 2016 2:10 pm ] |
Post subject: | Re: Heightmap stretch selection (python script) |
This is a nice script but to tell the truth the curves dialog box gives a preview and is a lot faster. The way I work with height maps is more of a visual process. Some layers are not black to white but somewhere in between. I often times will use the [Colors] [Auto] [stretch Contrast] to make something white to black. |
Author: | trandoductin [ Wed May 18, 2016 2:35 pm ] |
Post subject: | Re: Heightmap stretch selection (python script) |
PegLeg44 wrote: This is a nice script but to tell the truth the curves dialog box gives a preview and is a lot faster. The way I work with height maps is more of a visual process. Some layers are not black to white but somewhere in between. I often times will use the [Colors] [Auto] [stretch Contrast] to make something white to black. I am still beginner at height maps so i thought maybe this would be useful... it's perfectly fine to be wrong. |
Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |