Hi @pascal and @nathanletwory,
since it is related to this threads topic, please allow 2 more noob questions regarding the Physical Material in Rhino 7:
I’m currently only using the Physical Material in Rhino 7 because it offers the realtime displacement. Before in Rhino 6, i’ve been using custom meshes and have displaced the geometry manually using code, the results where shown fine in the RenderedViewport with the Custom type shader which gave me the option to also add a nice reflective touch and a matcap in the Environment slot. But in V7, everying look super flat. Below is an example image, on the left V7 Pyhsical Displacement, on the right custom material with 20% emap:
My problem with the Physical Material in RH7 is, i really like the Displacement Map feature as it allows to change the displacement distance in realtime without creating any new geometry. But i cannot get any Gloss unless i assign the same texture used for Displacement in the Bump / Normal Map slot. Without it, all reflections look flat, like if the displacement does not exist. Why is that ?
Is there a way to use eg. a spherical emap in the Physical Material and have the same appearance as in a Custom shader using the Environment slot as shown in above image on the right ?
If i displace a mesh using the Displacement Map, how can i extract the deformed geometry ? It seems that
_ExtractRenderMesh does this if the object is a polysurface, but if i use a mesh, the result is always the undisplaced mesh geometry.
@nathanletwory, i’ve read your reply here and found a strange issue with the mesh density if the Physical Material Displacement is performed on a mesh object (not a polysurface). It seems that if my mesh uses a custom mapping (created by the
_Unwrap command), the mapping mesh is deformed by the Displacement and not the actual mesh geometry. Is this possible ?
Below is a picture of this, it shows the mesh wireframe (black) of high density polygon mesh and in gray the deformed geometry of the Displacement.
My mesh seems to be fine enough, why does the displacment does not deform it ? Is it maybe using the normals of the mapping mesh ?