You can find these attributes under the Displacement Map section of the shape node’s Attribute Editor.
This rate is used to check the texture values to determine the difference between displacement heights and where to introduce new vertices. It defines a regular sampling grid in each original tessellation triangle. For example, with the default value of 6, the sample grid is 6x6.
Try to keep this sample rate to a reasonable value since it does take longer to render the higher the value.
For each tessellation triangle, notice how much texture height variation is in the triangle and estimate how many initial samples are required to include these features when displacement mapping. Consider the following:
This rate is used to take extra samples to refine the new vertices introduced during displacement mapping. Maya adjusts the vertices to align with the displacement.
For each tessellation triangle, notice how sharp the features are and how many curvy features there are. The sharper the features, the higher the Extra Sample Rate needs to be; adjust accordingly
Always try to set this value at 0 first if the result looks too jagged, then increase the value to get the results you need. The default value is 5. A value of 20 is usually enough.
In the following examples, the displaced surface on the left only needs an Extra Sample Rate value of 0, but the surface on the right needs an Extra Sample Rate of 5.
This value is used to eliminate vertices that do not significantly contribute to the displacement. This is a threshold of the percentage of the maximum height variation. Any vertex where the variation is smaller than this value is not considered. The default value is 0.
It is recommended that you pre-process the texture so that it contains as little noise as possible and leave this value at the default of 0. Consider the following:
Determine the angle threshold of the normal difference between two adjacent triangles (the angular value is in degrees). If the normal difference is higher than the threshold, the edge between these two triangles is recognized as a sharp edge. If lower, the normals are averaged which produces smooth edges. The default value is 30 degrees.
Determines the bounding box scale for a displacement map and helps to compute the bounding box scale automatically by tessellating the object.
Bounding Box Scale lets you estimate the size of a displaced object’s bounding box. It is in world space because the displacement is applied to vertices in world space. Based on the bounding box scale, Maya calculates the new bounding box for the displacement-mapped object.
When you scale the bounding box, make sure it is not too small or the displacement may look cut-off or look as though it has holes. The default bounding box scale (1.5 in world space) should be adequate in most situations; however, if you want large-scale displacement, increase the bounding box scale significantly. If you do not increase the size enough, artifacts result in the rendered image, but if the estimate is too large, Maya may use more memory to render the object.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License