Processing options

Mesh - PIX4Dmatic

Mesh

The following processing options can be adjusted when enabling the mesh generation:

Access:
  • Click Process processing options.
  • On the Menu bar, click Process > Mesh...
Information: The Mesh can be visualized directly in PIX4Dmatic, in the 3D view. To access the 3D view:
  • In the menu bar, click View > Switch to 3D, or
  • Click the 3D button on the screen Pix4Dmatic 3D view icon, or
  • Use shortcut 3.
It can also be uploaded to PIX4Dcloud, for visualization. For more: How to upload or replace results to PIX4Dcloud.
PIX4Dmatic Mesh view

Input (Optional)

Important: This option is only enabled in project acquired with PIX4Dcatch that contain LiDAR data.

It allows selecting the input point cloud for the Mesh generation. The following options are available:

  • Dense point cloud (default): The point cloud generated from images during the Densify step.
  • Depth point cloud: The point cloud generated from LiDAR depth maps.
  • Depth & dense fusion: The point cloud that present a fusion of the dense and depth point cloud.

Mesh_new_PIX4Dmatic.png

Template

This option enables distinguished default parameters for the mesh generation algorithms used for the different types of datasets imported into the software. The following templates are available for the Mesh generation:

  • Aerial (default): Ideal for scenes with a larger extent. Typically drone flight size projects that contain oblique or nadir data.
  • PIX4Dcatch: For projects with limited extent. Optimized for hand-held captured data with PIX4DCatch.
  • Thin structures: For projects that capture thin structures, i.e., cables, powerline tower structures, and antennas.

Mesh_new__2_PIX4Dmatic.png

Texture size

Texture Size (1024x1024 - 32768x32768 pixels, default 8192x8192 pixels): Parameter used to define the resolution of the texture of the Mesh.

Important: The highest resolution mesh that can be uploaded to PIX4Dcloud is 16384 x 16384. A mesh generated with a texture size of 32768 x 32768 will not be uploaded.

Deghosting

This option enables different parameters for the mesh generation algorithms used for the different types of datasets to improve the mesh results. It can remove objects and can be beneficial in case of highly complex geometries. The following deghosting options are available for the Mesh generation:

  • Weak (default): Ideal for soft outlier detection. Recommended in general cases. It may cause artifacts though, with moving objects or thin structures such as cables, powerline tower structures, and antennas.
  • Strong: Aggressive outlier detection. May give better results when the geometry is highly complex (e.g. telecom towers) or when a lot of objects are moving in the scene (e.g. pedestrian street). The downside of the strong setting is that it could cause desaturation of color and loss of sharpness.

PIX4Dmatic mesh deghosting

Decimation

Decimation (1.000.000 default): The maximum number of triangles in the final Mesh. The number will depend on the geometry and the size of the project.

Note: For projects that are not very large, the resulting number of triangles is lower than the maximum setup in the options. The maximum will only be reached if the project is large and could create a model with more triangles.

Plane-aware

This option, when selected, enables the use of planes and polygons to improve the mesh quality. It is possible to select or deselect the desired layers, that have been created in the project. This option is only enabled when at least one polygon/plane is created and associated with a layer. 

Note: For manually vectorized planes, the correct direction of the normals is necessary for good mesh quality.

Important: The mesh should be generated or reprocessed after editing a Plane.

PIX4Dmatic allows for the manual creation of Planes/Polygons. To create these features, ensure that a point cloud is visible, click on Tools, and select Polygon. Alternatively, the keyboard shortcut P can activate the tool. Once activated, vertices will snap to the point cloud, MTPs, or ITPs. Left-click to add vertices. Right-click to add the final vertex and complete the Plane/Polygon.

After creating the Polygon, the following options are available by right-clicking: 

  • Invert selection
  • Delete polygon
  • Move to layer
  • Flip polygon normals
    • The Normals is a line that is perpendicular to the plane. It indicates the direction or what would be considered the plane's outer surface. The Plane normals can be turned on by going to the 3D viewer settings and toggling on the Normals. Magenta arrows display the Plane normals, as viewed in the image below. Correctly setting the direction of the Plane normals provides for a better mesh reconstruction and viewing experience. Ensuring that the normals of a plane point to the direction of the cameras used to capture that surface is imperative. To flip the Plane normals, right-click on the plane and select Flip normal.
      edit_normals.jpg
  • Set polygon to planar
  • Set polygon to non-planar
  • Create section from polygon
Tip: Robust tie points, such as MTPs or ITPs, are considered the most accurate and thereby the most trustworthy. It is possible to snap a vertex to one of these points, which can be used to more accurately position a vertex of a Plane. If the Plane is correctly placed within the scene, then a more realistic mesh can be generated.

Interior scenes

When creating and editing Planes for interior scenes, it is recommended to use the Backface culling feature in the Settings. When enabled, this feature allows for backward transparency for the Planes. The Plane will be opaque when viewed from the front. However, it will be transparent when viewed from behind. This allows for an obstructed view of interior scenes.

bfc_3.jpg bfc_4.jpg

 

Sky mask

Sky mask utilizes the generated mask during the Dense point cloud step to improve the mesh quality. It is enabled by default when the Sky filter option is enabled while running the Dense point cloud step.

Sky_Mask_PIX4Dmatic

Note: The Sky mask option can be selected only if the Sky filter option during densification is enabled or has already been processed.

Smoothing

This option, when enabled, affects the mesh geometry and applies a smoothing effect to the generated mesh.

Tip: It is recommended to enable this feature for large-scale projects with a high number of triangles. For projects with a low number of triangles compared to the scale of the scene, it is recommended to disable this setting.

Exports

From the Exports section, the following can be exported after processing the Mesh step:

  • Point cloud from mesh .laz
  • Mesh

 

Pointcloud from mesh .laz

PIX4Dmatic allows the generation and export of point clouds from the mesh. The default Density (pts/m3) or a customized one can be selected while exporting the new point cloud from the mesh. The expected point cloud size and the total number of points are also displayed while exporting the point clouds. This way, a point cloud is generated even for areas that are not directly reconstructed and holes no longer exist in the reconstructed point cloud. The point cloud generated from the mesh is in .laz format.

Note: This point cloud is expected to have a much bigger size than the point cloud files that are generated during the Dense point cloud step.
PIX4Dmatic export pointcloud from Mesh

 

Mesh

Access: Once processed, the Mesh can be exported from the file menu ( File>Export mesh...) or the processing panel ( Exports>Mesh).
PIX4Dmatic export Mesh

The following formats are available when exporting the Mesh:

  • obj (default): PIX4Dmatic exports a Mesh obj that is not georeferenced. It has coordinates in a local coordinate system centered around the project. With some external viewers, it is possible to add an offset.xyz file to correctly position the Mesh. Once completed, the Mesh will have the same precision as the mesh viewed in PIX4Dmatic. The project_name_offset.xyz file contains the offset of the project and is stored in the folder with the .obj file.
  • .ply: When this format is chosen, the UV coordinates can be picked between per face and per vertex. Meshes with per vertex coordinates can be imported in Blender and Meshlab. Meshes exported with per face coordinates can be imported into Meshlab. 
  • Cesium 3D Tiles: This format allows the Mesh to be easily shared and displayed across many third-party software and 3D platforms. The primary purpose of 3D Tiles is to improve the streaming and rendering performance of massive heterogeneous datasets. The foundation of 3D Tiles is a spatial data structure that enables Hierarchical Level of Detail (HLOD). When selecting and exporting the Cesium 3D Tiles a .json file and various .b3dm files are generated inside the folder project_name-cesium_mesh.
  • slpk: A Scene Layer Package (SLPK) file is an openly published file format for 3D geospatial data, designed as a package for storage or exchange that captures all resources for a "scene layer" structured according to the Indexed 3D Scene Layer (I3S) specification. Mesh (LOD) can be exported as .slpk for ESRI compatibility. The SLPK Mesh file is geo-referenced, and the exported multi-LOD mesh in .slpk format is named project_name-mesh.slpk.

    PIX4Dmatic export mesh format