Displacement in V-Ray for Maya

Software:
Maya 2018 | V-Ray 3.6

Basic Displacement through the shader:

1) Connect a displacement map to the Displacement Shader input of the Shading Group Node.

2) Multiply the value to set the displacement amount.

3) Control Displacement Settings globally through VRay Render Settings:
Edge Length:
The minimum size in pixels for new created edges.
Lower values will create more detailed geometry but cost more memory.

Disp_A.jpg

 

Per Object Displacement with more controls:

1) Add a VRay Displacement node to the object (See images).

2) Connect Displacement Map

3) For more control, and Local displacement quality settings,
In the Attributes Editor, Add VRay Displacement Control and VRay Subdivision and Displacement Quality attributes to the object (See images).

Disp_B.jpg

Disp_B1.jpg

Advertisements

Cycles True Displacement (experimental)

Software:
Blender 2.79

These are the steps to activate Cycles Render new experimental MTD feature (Micro Triangle Displacement)

Cycles Render settings:
Set ‘Feature Set’ to Experimental.

MTD_A

Object:
Apply a Subdivision Surface modifier and set it to Adaptive mode.
* Adaptive Mode is only available if the modifier has no other modifiers below it.

Set the ‘Dicing Scale’ attribute in pixels to set the displacement accuracy
* Lower numbers will result in greater details and more memory usage

MTD_B

Material Cycles settings:
Set Displacement to ‘True’ or ‘Both’.
* Setting it to Both will automatically use the same height map texture data to drive surface normals (bump) and create a consistent effect

Displacement set to 'True'
Displacement set to ‘True’
Displacement set to 'Both'
Displacement set to ‘Both’

Cycles material node:
Connect a texture to the Displacement input.

White color will displaced to a height of 0.1 units (10cm) by default, manipulate the texture data using math nodes to achieved desired height and offset.

MTD_D.jpg

Cycles Geometry settings:
For more accuracy reduce the Subdivision pixel rates And increase the maximum subdivisions.

MTD_E.jpg

 

Notes:

  1. There is currently conflict between Adaptive Subdivision and Tangent Space Normal Maps that renders objects completely black.
    A solution that is proposed at various discussions is to simply use Object Space mode in the Normal Map node.
    I’m not sure how good is this workaround for non flat surfaces..
    https://developer.blender.org/T49159
  2. When using a procedural fractal texture as a Displacement map, Shaders that are dependent on surface angle may significantly change their appearance in different rendering resolutions because the texture provides more and more detail for the displacement and that changes the nature of the geometry.
  3. The base mesh for the Displacement should be well Subdivided prior to the adaptive Subdivision in order to avoid polygon edges appearing.