Digital Art Zone

 
     
tip for cleaner Bump / Displacement effects
Posted: 02 July 2012 06:18 AM   [ Ignore ]
Power Member
Avatar
RankRankRank
Total Posts:  2007
Joined  2006-01-19

most images in the netverse use 8 bits per color channel, which gives us 256 grayscale levels.

image 1 - is a graymap with 256 levels of gray named yuppp8.png

image 2 : yuppp8.png was applied to the Displacement channel in daz studio and software-rendered.

By converting this graymap to a 16-bit tiff file and blurring it a little
we can get rid of the staircases.
it’s not as good a solution as having a natively 16-bit map but i think it helps

the freeware way is : imagemagick from www.imagemagick.org

write a batch file like this ( use notepad and save it as go16.bat )

c:\imagemagick\convert yuppp8.png -depth 16 -blur 16x16 yuppp16blurred.tif 

note that this batch file pre-supposes that imagemagick was installed in c:\imagemagick

note: it also pre-supposes that yuppp8.png is in the same folder as go16.bat

the 16-bit tiff image will be created in the same folder as go16.bat

you run the batch file, by double-left-clicking on go16.bat

it will convert 8-bit png image yuppp8.png into a 16 bit softened image named yuppp16blurred.tif

image 3 : yuppp16blurred.tif was applied to the Displacement channel in daz studio and software-rendered.

Image Attachments
image_2_2442244.jpg
image_1_2442244.jpg
image_3_2442244.jpg
bi1.jpg
bi2.jpg
Profile
 
 
Posted: 03 July 2012 05:29 PM   [ Ignore ]   [ # 1 ]
Power Member
Avatar
RankRankRank
Total Posts:  2245
Joined  2005-09-05

Thanks for this info!

 Signature 

Shadermixer tutorials and recipes
My ShareCG Gallery
Shadermixer Documents

Profile
 
 
Posted: 05 July 2012 04:38 PM   [ Ignore ]   [ # 2 ]
New Member
Total Posts:  7
Joined  2012-01-30

Yes, thanks! I have not had a chance to implement it but displacements are a great solution to keeping poly count down in models so getting cleaner results make quite a difference.

Profile
 
 
Posted: 23 November 2013 12:23 PM   [ Ignore ]   [ # 3 ]
Active Member
RankRank
Total Posts:  545
Joined  2003-10-09

You can do this in Photoshop (or equivalent) program also.

Profile