2.9. Optimising the surface geometry

The Surface Wizard is used to optimise the mesh combining all the information available (masks, point cloud) to create a smooth surface consistent with the data.

Note: Optimisation will discard any surface texture generated, but it will keep in place any clipping you have performed, so it is better to clip away the stand beforehand.

Figure 2.9.1. Effect of optimisation: initial mesh (left), point cloud (middle), optimised mesh (right)
Step 1

Open the Surface Wizard by clicking the ID_MAKE_SURFACE.jpgGenerate surface... button and choose "Optimise Surface" then click the Next > button to go to the Surface Optimisation Window.

Step 2

If you have generated a point cloud you can choose to include the points in the optimisation by checking the "Use Point Cloud" checkbox or ignore the points by unchecking the box.

Uncheck the "Use Masks" if you have point data as well as masked images and do not want to use the masks.

If you have a smooth organically shaped object, choose "smooth approximation" to generate a smoothed mesh with few corners. Otherwise, either leave the default "reasonable accuracy" set or choose "exact fit" if you are confident that your masks and points are very accurate and you want the surface to exactly fit all the details.

Figure 2.9.2. The effects of choosing "smooth approximation", "reasonable accuracy" or "exact fit".

If you have edited the masks to remove unwanted regions in just a few of the images (e.g. the stand or a subpart of the object) you will need to make sure the "Clip masks to current geometry" option is selected. This will prevent the non-edited masks affecting the geometry (and growing back the removed region).

TIP:

If you have a lot of images in your project or the silhouettes are particularly complex, optimisation can be slow, so it is a good idea to limit the number of images used at each optimisation step by setting the "Number of masks used" parameter.

The "Optimise camera orientations" option will allow the camera parameters to be refined during the optimisation. This can correct for small errors in camera estimation e.g. if the object wobbled or moved slightly relative to the calibration target(s) during the image capture process.

The "Locally Adaptive Smoothing" option should normally be selected. This option results in the mesh density (size of triangles) being adapted to the data available.

Click the Next > button to start the optimisation process.

Step 3

After some initialisation, 3DSOM Pro will start to modify the surface, gradually smoothing it while ensuring the features on the silhouettes are captured.

During this process, you can see the current geometry and look around the model by rotating it in the View Model Window as usual. At this stage, the mesh will be displayed with the maximum number of triangles, and will only be reduced to your chosen decimation level when optimisation finishes.

Use the Pause button to halt the optimisation while you look at the results and then hit the Continue button to resume optimisation.

Use the Hide button to hide the wizard dialog allowing you to see more of the model. The progress will be displayed in the status bar.

TIP:

If you have generated a point cloud select the ID_SHOWSURFACE.jpgShow surface only button to hide the points and view the surface clearly.

For optimising with a point cloud we recommend a machine with a multi-core high performance processor is used as the process will be computer intensive.

If you want to change the parameters, click the < Back button at any point to return to the previous step and edit them (for instance if the optimisation is proceeding very slowly you could reduce the number of images being used).

Step 4

You can either leave the optimisation to finish completely, or interrupt it when you are happy with the current surface. Click the Close this window to build the model manually button to leave the Surface Wizard keeping the current mesh, or click the Next > button to go on to fit a subdivision surface to the mesh (as described in the Improving the geometry with subdivision surfaces tutorial).

During Optimisation at high quality settings, several (smoother) partial results will be made available on the "undo" stack so you can unwind the process in several steps using the ID_EDIT_UNDO.jpgUndo model or mask change button and ID_EDIT_REDO.jpgRedo model or mask change button to go forward.

You can also edit the surface geometry using the tools described in the The View Model Window.