Clash Detection Viewport#

The Clash Detection Viewport extension (included in the Clash Detection Bundle extension) displays clashing and non-clashing polygons.

When a clash is double-clicked in the Clash Detection Results list, the main viewport will center on the clash area.

Clash Meshes Appearance#

After double-clicking on a clash, the two meshes will change their appearance in the main viewport:

  • Each mesh will have a different color.

  • Single polygons composing the mesh will be made visible.

  • Clashing polygons will be shown with an overlapping black wireframe and a light-independent look.

  • Clash intersection profile will be shown in purple.

The two clashing meshes will display in isolation from the rest of the stage also in the Clash Detection Viewport (if enabled).

  • Non-clashing polygons of two objects will be shown with a transparent material (to avoid them occluding the actual area of the clash).

  • The clashing-polygons will be shown with a non-transparent diffuse material.

  • The purple intersection profile is shown here too.

Two clashing meshes.
../_images/ext_physics_clashdetection-viewport-select-1.png

Moving Clash Meshes#

It’s useful to move clash meshes in the stage to clearly see the issue in a crowded area. Some rules to keep in mind when moving clash meshes, as the behaviour is different for instanced prims vs. non-instanced prims:

When Clash Meshes are shown on non-instanced prims, the original source meshes are modified. This means that: - Translating Clash Meshes for non-instanced prims in main viewport moves the original source mesh that has been marked as clashing. - Translating Clash Meshes for non-instanced prims in clash viewport doesn’t affect the original source mesh that has been marked as clashing. - Deselecting a clash from the Clash Detection list of clashes will restore original look of the source mesh.

../_images/ext_physics_clashdetection-viewport-move-0.png ../_images/ext_physics_clashdetection-viewport-move-1.png

When Clash Meshes are shown on instanced prims, the original source meshes are hidden. This means that: - Translating Clash Meshes in either viewport doesn’t affect the original source mesh that has been marked as clashing. - Deselecting a clash from the Clash Detection list of clashes will restore visibility of the original source mesh.

../_images/ext_physics_clashdetection-viewport-move-2.png ../_images/ext_physics_clashdetection-viewport-move-3.png

Next Steps: Clash Detection Core