Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width62%

Displacement is the deforming of geometry based on pixel values in a texture map. This can help create more detail on geometry at render time while allowing objects in the viewport to be lighter and easier to work with.

Displacement is different than traditional bump mapping because it alters the actual polygons on the geometry to add detail. Displacement can also change the edges and silhouette of the geometry, which is not possible with the lighting tricks used by bump or normal mapping.

The VRayDisplacement node can be used to control the displacement on geometry objects. The node behaves like a Maya Set and can be found in the Outliner or the Set Editor where other objects can easily be added to the set. This provides flexibility when combined with the Subdivision and Displacement Quality and Displacement Control Extra Attributes, which control displacement on a per-object basis instead of every object having the Default Displacement settings. These Extra Attributes can be added to an individual object node to affect the displacement of one object, or they can be added to a VRayDisplacement node to affect several objects together (similar to a Shading Group node). This rendering technique is available in both V-Ray and IPR renderings as long as the Displacement option is enabled under Geometry Overrides in the Render Settings window.

To add a VRayDisplacement node, select the desired mesh(es) and use one of the UI Paths below to create the Maya Set used for the Displacement. Then you can add the Subdivision and Displacement Quality and Displacement Control Extra Attributes to the VRayDisplacement node to further control the displacement for the selected meshes.

Column
width5%

 

Column
width33%

UI Paths

 

section
UI Expand
titleUI Path: ||Select mesh(es)|| > V-Ray Shelf > Right-click V-Ray Displacement
Column
width5%10%

 

Column
width45%35%

||Select mesh(es)|| > V-Ray Shelf > Right-click V-Ray Displacement

Column
width45%10%

 

Column
width35%

 ||Select mesh(es)|| > Create menu > V-Ray > V-Ray Displacement > (select desired option)

Column
width5%10%

 

 

Menu Options

...

Since there are multiple options available from the V-Ray Displacement menu, here is a simple breakdown of what they do. Note that objects can only be associated to one displacement set at a time.

...

Force create VRayDisplacement node – Creates an empty displacement node if no objects are selected. Useful for manually adding objects to the Set from the Outliner.Note:

UI Text Box
typenote
A single mouse click on the VRayDisplacement icon in the V-Ray Shelf automatically creates a single set that includes the active selection, or an empty set if no objects are selected.

 

Parameters

...

Section
Column
width62%

Override Global Displacement – When enabled, the texture in the VRayDisplacement node is used, in case there is also a texture specified in the Shading Group node connected to the same object(s).

Displacement mat. – Specifies the displacement texture.

UI Text Box
typenote
All displacement and subdivision extra attributes can be added to the displacement node to control all objects within the Maya Set at once.
Column
width5%

 

Column
width33%

Image Modified



Workflow

...

Section
Column
width62%

Below is the basic workflow used for setting up V-Ray Displacement.

1)  Add the VRayDisplacement node to the selected object(s), using the V-Ray Shelf or Create Menu. This adds a Maya Set to the Outliner that includes the selected object(s). In the screenshot below,

...

the Apply single VRayDisplacement node to selection

...

 option was used, but the menus allow separate nodes to be created for each selected object as well.

...

Image Removed

 

2)  Assign a map to the Displacement mat property in the Displacement node. This is typically a texture map, but can also be a procedurally generated one as well.

3)  Add Extra Attributes to fine tune

...

the Displacement Quality, Displacement Control, and/

...

or Subdivision

...

 settings.

4)  Additional objects can be added to the Displacement Set in the Outliner to receive the same displacement values.

Column
width5%

 

Column
width33%

Image Added

 

 

32-bit Displacement Maps

...

Section
Column
width62%

If you are using 32-bit Displacement maps generated from an external sculpting application, make sure to add

...

the Allow negative colors V-Ray texture attribute

...

 to take advantage of the whole range of data saved in your file.

Column
width5%

 

Column
width33%

Image Modified 

 


Notes

...

Fancy Bullets
typecircle
  • Subdivision and Displacement Control extra attributes may be added to the displacement node to control all objects within that displacement Set together.
  • When using the options to apply a single or multiple VRayDisplacement node any previously connected VRayDisplacement sets will be disconnected, because objects can only be linked to one Displacement Set at a time.