How to Hide Facets From a 3D Mesh

 |  Moses Zikei

How to Hide the Facets From a 3D Mesh

What is a 3D Mesh?

A 3D mesh is a representation of a 3D object in computer graphics. It's composed of vertices, edges, and faces that define the shape and surface of the object. Think of a 3D mesh as a framework that creates the visual structure of an object, much like the wireframe of a physical sculpture.

Vertices: These are points in 3D space. They act as the corners or endpoints of the mesh's polygons (usually triangles or quads).

Edges: Edges are the straight lines connecting pairs of vertices. They form the boundaries of the polygons.

Faces/Polygons: Faces are flat surfaces formed by connecting three or four vertices with edges. Triangles and quads are the most common types of polygons in a 3D mesh. They give the mesh its surface, defining what we perceive as the object's shape.

Facets

A facet in 3D designing is often used interchangeably with a face or polygon. A facet refers to a single flat surface or polygonal element of a 3D mesh. Each facet has its own set of vertices, edges, and often material properties. When we talk about hiding facets, we mean hiding certain polygons or flat surfaces of the mesh while keeping the rest of the mesh visible.

For example, imagine you have a 3D model of a cube. This cube would be made up of six facets, each corresponding to one of its six sides. If you were to hide one or more of these facets, you would essentially make the corresponding sides of the cube invisible, creating openings or holes in the object.

How to Hide the Facets From a 3D Mesh

In this section, we are going through the process of hiding facets using SelfCAD. We want to hide the edges of the cylinder below:

Cylinder

Adding More Segments 

To make the object look smoother, you can add more segments. In this case, select the Cylinder from the 3D Shapes. In the parameters section set the Vertical Segments to 64.

Selecting the cylinder

The cylinder will have many segments and become smoother. However, if you zoom in, the edges are still visible:

Selecting the sections of the cylinder

Using Smooth Shader

The smooth shader is also helpful in hiding the facets. 

Cylinder in workspace

To use this method, select Face Selection on the right panel. Click on the Advanced Settings which will pop on the left panel. Activate the Loop Selection. Select all the faces as highlighted below:

Advanced settings in SelfCAD

On the right panel, select Material. Then set the Shineness option to 1 and activate the Smooth Shading:

Smooth shading settings

Finalize the operation. A new material is formed:

Finalizing the operation

Materials

On the left panel, select Material Selection. You realize that just clicking once, selects all around the cylinder meaning that it is one material:

Material selection in SelfCAD

You can also select the top facets of the cylinder, that  is, both top and bottom:

Selecting the object

Using Settings (Environment)

On the top panel, select Settings> Materials. On the Material Settings, activate the Vignet Pass and finalize:

Settings in SelfCAD

Upon activating the Settings of the environment. Settings, you remain with the shape of the 

Activating settings in SelfCAD

 Importance of Hiding the Facets From a 3D Mesh

Hiding facets from a 3D mesh holds several important applications and benefits in 3D modeling. These include:

  • Optimizing rendering performance: Complex 3D models with a high number of facets can be resource-intensive to render in real-time applications like video games, simulations, or interactive visualizations. By hiding non-essential or hidden portions of the mesh, you can significantly improve rendering performance, leading to smoother and more responsive experiences for users.
  • Detail management: In certain scenarios, you might want to focus on specific details of a 3D model without distraction from other parts. By hiding certain facets, you can isolate and emphasize the areas that you want to showcase, making it easier for viewers to understand intricate details or design elements.
  • Enhancing visualization: Hiding facets can help improve the clarity of a 3D scene. For instance, when demonstrating the internal structure of an object, such as a building's interior or the components of a mechanical device, you can selectively hide external facets to expose the interior and provide a better view of the intended subject.
  • Creating cutaways and sections: Similar to enhancing visualization, hiding facets allows you to create cutaways or section views of 3D models. This is particularly useful for educational purposes, architectural visualization, or explaining the functionality of complex systems.
  • Selective animation: When animating a 3D model, hiding facets can be used to smoothly transition between different states of the object. For example, when a door opens, you can hide the parts of the door that would be obstructing the view, creating a seamless animation.
  • Preparing for 3D Printing: When 3D printing complex models, there might be parts that are structurally unnecessary or hidden from view. By hiding these facets before printing, you can reduce material usage and printing time, while also ensuring that the printed object maintains its intended appearance.

Enjoy powerful modeling, rendering, and 3D printing tools without the steep learning curve.

Need to learn 3D modeling? Get started with interactive tutorials.

Was this blog post interesting or helpful?