Forum: Poser - OFFICIAL


Subject: displacement map from ZBrush3 applied to lowresmesh in Poser7

EddyLoonstijn opened this issue on May 24, 2007 ยท 35 posts


bagginsbill posted Wed, 13 June 2007 at 10:23 PM

LOL.

Now that I think about it, I was wrong to tell you to subtract .5. Poser's interpretation of the 8-bit values in a height image map is that these are fractional parts of 1, represented as values from 0 to 255. So to calculate the Poser fraction for any given 8-bit value, divide by 255. So 255/255 = 1. And 0/255 = 0 Now show me the integer value for .5. You can't - there is no integer value K, such that K/255 = .5.

So, I'm guessing that the "neutral" value in your zbrush disp map is 128. Numerically, Poser will see that as 128/255 which is approximately .5019607843137 - you probably should be using that as your bias.

If, however the neutral value is 127, then you need to subtract 127/255 which is approximately .4980392156863

When you find out which is correct, let me know so that I know what to tell people from now on. I've been telling the subtract .5 story for quite a while. That works fine if you use it on the whole figure or prop. Nobody I've talked to about this ever used displacements selectively on a subset of material zones, so the issue of mat zone boundary disagreement is new to me.


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)