The Rhino BETA now uses “adaptive meshing” for displacements occurring in physically based materials. These can be either native Rhino Physically Based materials (a.k.a. PBR materials) or using PBR material libraries such as those found in the Adobe Substance catalog (via the Substance Importer plugin in the PackageManager command).
What is displacement anyways?
Displacement is the creation of a 3D mesh using a 2D image. The range of the displaced depth is calculated from the greyscale values in a 2D image texture. Physically based materials can use displacement textures to add detail to a rendered object without directly modeling the result.
Why use adaptive meshing for PBR materials?
In previous versions of Rhino, the quality of the displacement result, in a Physically Based material, was dependent on the density of the render mesh for the object. Adaptive meshing provides superior initial results on a wide range of geometry by subdividing the existing render mesh automatically.
How this new feature works.
Physically based material displacements (PBRD) are controlled in both the Materials and Properties panels of the Rhino BETA. A Physically Based material must have a displacement channel with a texture map assigned to use this feature. Bitmap and procedural textures both work, as do high dynamic range formats such as EXR and HDR. The height is then controlled in model units within the Displacement channel of the material. Note that black in the displacement texture will be multiplied by -.5 and white by .5 of the value entered in this field. The resolution or ‘initial quality’ of the resulting displacement mesh is controlled within the Displacement section of the Properties panel when the object is selected. Initial quality applies to the whole object, even where sub-object materials are in use. Additionally, the use of sub-object materials is supported, as shown below, if the geometry type used supports that manner of material assignment such as with polysurfaces.
Because PBRD is a material property, it appears wherever materials are being rendered: the Rendered and Raytraced display modes, production renders, and the output of ExtractRenderMesh. It is not drawn in Shaded modes. Displacement set in Properties > Displacement is a separate thing and does still show in Shaded modes, so if you want displacement visible there, use that instead.
If needed, the properties panel can still be used to adjust the render mesh density for a given selection. That render mesh is then used as the starting point for the displacement initial quality setting. Although the initial quality setting in Properties > Displacement can be used alone, the use of a custom render mesh for the object being displaced can provide additional control.
Further techniques…
The texture mapping properties of the object are also used to control how the PBR material displacement will appear. Objects using more than one mapping channel work as expected with displacement active.
This method of PBR displacement can allow for faster design iterations compared to object properties displacements. Using the right click context menu over a material thumbnail, any assigned objects can be selected and another material assigned to replace it. Preserving any existing sub-object material assignments will result in only replacing those sub-objects with the first material assigned.
Displacement maps from other applications work here too. If what you have is a texture map rather than a Rhino material, export the map, give the file name a ‘height’ or ‘displacement’ suffix, put it in a zip folder and drag that into Rhino. You’ll get a PBR material with the displacement channel already assigned, and thanks to adaptive meshing you’ll get a good result even if the object’s render mesh isn’t dense.
You can use the command ExtractRenderMesh to extract the result of the PBRD if needed. Two of its options matter here, and both default to No: PreserveRenderMaterial and PreserveRenderMeshModifiers. Leaving them at No is usually what you want, because the extracted mesh already has the displacement baked into its geometry — keeping the material would displace it all over again.
Here’s the sample file used for this post as well. Give it a try in your own models and let us know what you think.
PBRD_sample.3dm (1.8 MB)








