Sun, Dec 22, 11:46 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Dec 22 10:18 pm)



Subject: Reduce a displacement with a map


Anthanasius ( ) posted Sun, 10 June 2012 at 4:10 AM · edited Sun, 22 December 2024 at 11:21 PM

file_482251.JPG

Hi !

I want to reduce the displacement strength of the image_map_4 with the image_map_5 without changing the displacement value from the PoserSurface.

I try many math function without succes, an idea ?

Thx

Génération mobiles Le Forum / Le Site

 


seachnasaigh ( ) posted Sun, 10 June 2012 at 6:31 AM · edited Sun, 10 June 2012 at 6:32 AM

     Blend the displacement map with a solid grey (matching the displacement map's background), and adjust the blend.

 

     Take the square root of the displacement map, or use the the arbitrary power function to take the nth root (with n greater than 1).  This will compress the range of displacement.  It will also shift all values closer to one (white), so you'll afterward need to use a subtract function to shift the map's range back downward.

Poser 12, in feet.  

OSes:  Win7Prox64, Win7Ultx64

Silo Pro 2.5.6 64bit, Vue Infinite 2014.7, Genetica 4.0 Studio, UV Mapper Pro, UV Layout Pro, PhotoImpact X3, GIF Animator 5


bagginsbill ( ) posted Sun, 10 June 2012 at 7:01 AM

Attached Link: Mask a Displacement Map

[ ![](http://www.renderosity.com/mod/forumpro/media/folder_10/file_476823.jpg)](http://www.renderosity.com/mod/forumpro/media/folder_10/file_476823.jpg)


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Sun, 10 June 2012 at 7:04 AM

Also, if you are using GC remember that the displacement map gamma should be explicitly changed to 1.0. Otherwise, mid-gray does not equal .5 and you will be left with some offset in what is supposed to be the neutral field.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Sun, 10 June 2012 at 7:05 AM

Hmm. I read your post again, Anth. You use the word "reduce", not "eliminate". Do you mean reduce the displacement and only where the control map is not black? That would be different.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Sun, 10 June 2012 at 7:15 AM

file_482260.jpg

Here is a way to reduce the effect of a displacement using a mask, while not completely eliminating the displacement.

The Blender node Blending value here is .9 - which means the displacement is reduced by 90%. You can adjust the amount of reduction by changing that .9 to something else.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Sun, 10 June 2012 at 7:24 AM · edited Sun, 10 June 2012 at 7:28 AM

Quote -      Blend the displacement map with a solid grey (matching the displacement map's background), and adjust the blend.

This works - blending with the neutral value before the subtract .5 will do the same as what I showed - blending with black after the subtract .5.

The equations - starting with one I can derive the other

Blender(map, .5, mask) - .5

= (1-mask) * map + mask * .5 - .5

= map - mask * map + mask * .5 - .5

= map - mask * map - .5 + mask * .5

= (1 - mask) * (map - .5)

= (1 - mask) * (map - .5) + mask * 0

= Blender(map - .5, 0, mask)

However, the difficulty lies in matching the gray. When gamma correction is enabled with gamma = 2.2, the color chips are assumed gamma = 2.2 and you cannot override that as is done with the displacement map gamma. It is easier to deal with blending with black than blending with .5.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


Anthanasius ( ) posted Sun, 10 June 2012 at 7:34 AM

Sh.. ! Blender node, i only work with math node, why i dont think about this before ?

 

Many YHX :D

Génération mobiles Le Forum / Le Site

 


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.