Page History
...
Info |
---|
A tutorial that demonstrates displacement mapping using the <udim> token can be found here. |
You must add an Arnold Tag to the geometry that you wish to displace to edit its subdivision and displacement attributes:
Center |
---|
Arnold Tag showing Arnold displacement and subdivision attributes |
...
Always ensure that you use the highest quality texture maps for displacement mapping. Arnold works well with very high-resolution maps, as long as the maps have been pre-processed with the maketx utility. It will convert them into .tx files (which are tiled, mipmapped files). See the pages about the Tx Manager and .tx files.
Subdivisions
Center |
---|
Subdivision Iterations set to 8. Subdivision Type set to Cat Clark. |
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Per-Object Displacement Attributes
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Any changes to the displacement that are made on a mesh will modify the default displacement shader attributes. This may be useful in a scene that has two objects with the same shader but requires different shape displacement values. Another example would be an object that has more than one shader but requires two different Height values such as in the example below:
Center |
---|
Same displacement shader assigned to two meshes, however, the mesh on the right has a per-object Height of 2 |
...
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Bounds Padding
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Below is another example of a situation where bounds padding is required. A checker texture is connected to a displacement shader that is assigned to a sphere. In the image on the left, parts of the render return black. This is because the Bounds padding needs to be increased for the displaced mesh. Increasing the Bounds padding to 3 fixes the problem. This effect may increase or decrease depending on the scale of the object that is being displaced and the amount of displacement used.
Center | ||||||||
---|---|---|---|---|---|---|---|---|
|
Scalar Zero Value
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
...