8 bit height conversion to 16 bit height

8 bit height conversion to 16 bit height

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
User avatar
enetheru
Posts: 627
Joined: 11 Jun 2010, 07:32

8 bit height conversion to 16 bit height

Post by enetheru »

Hey all,

I was working on a re-build of an old map and wanted to solve the banding issue for 8bit height images.

I worked out a technique that is better than a straight gaussian blurr, or convolution.

Separate out the image into separate frequency layers

start at the bottom(lower frequencies).

colour select the neutral colour with little to no threshold, and a bit of feathering.
then blurr the frequency above.

repeat till you reach the top..

You will still lose data, but what it does is blurr any high frequencies that arent surrounded by lower frequencies.. so a large plane with a high frequency line running through it(banding) gets eliminated.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: 8 bit height conversion to 16 bit height

Post by Beherith »

In Photoshop, this is called surface blur. Works wonders.
User avatar
enetheru
Posts: 627
Joined: 11 Jun 2010, 07:32

Re: 8 bit height conversion to 16 bit height

Post by enetheru »

Beherith wrote:In Photoshop, this is called surface blur. Works wonders.
hmm after some googling it appears the gimp has a gmic plugin for "surface blurr" called bilateral blurr.. but i dont think that would work on 16bit images..

Ooh... Gimps back end GEGL has a bilateral blur filter that isnt exposed directly in the filters menu but is under GEGL operation.. ok testing ...
User avatar
enetheru
Posts: 627
Joined: 11 Jun 2010, 07:32

Re: 8 bit height conversion to 16 bit height

Post by enetheru »

the bilateral blur compares favourably to my custom method definitely takes less time. but the results didn't seem as nice on comparison when i tested it on a mesh. still 1000% better than gaussian blurr.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Re: 8 bit height conversion to 16 bit height

Post by PicassoCT »

protip for recreating details in photoshop- save the original picture as a grey pattern..

blur it up
use bevell and emboss - your greyscale detailtexture for recreating the surface detail.. (even more pro use colourdoge with a slight suncolour)

Hit Hard Light voila
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: 8 bit height conversion to 16 bit height

Post by smoth »

never use the blur tool, it adds noise.
Post Reply

Return to “Map Creation”