Hi, what’s the best method to calculate the thickness of an object ?
What exactly do you mean? Or, what do you want to achieve?
There are several ways to calculate the thickness of an object, depending on which thickness you need.
And learn to give that information right away, so people don´t need to ask what you actually want, every time.
I use ruler to measure the thickness of an object. If I don’t have a ruler with me, I will take off my shoe, and use my foot to measure it. Since I always remember the length of my foot, I then multiply it by the number of footsteps.
Keep in mind people usually have one foot longer than the other one, so stick with the same foot all the times, to reduce the errors.
I need it because i’m doing subsurface scattering. Till now i used 1.0 as thickness value, it looks good but it’s not correct. Can anyone help me ?
there is an NVIDIA paper that talks about this, you have to render the front faces depths, then subtract the backfaces depth from them, you get the perpixel thickness in the final buffer (this requires a few passes on older hardware…)
(I don’t know if it’s the “best” method though…)
If you look at the citations you’ll see Radomir Mech’s original work cited. You can see that paper here:
About as useful as a lead balloon unless you have the journal though.
Here’s something even earlier (I think Radomir cites this), fortunately it’s available online: