FIGURE 20 - A comparison of meshes generated by Raman and Wenger and our methods. A randomly generated scalar field, firstly sampled on a 64x64x64 grid in a way to guarantee no ambiguous configurations in the grid is used as input to the Marching Cubes algorithm (the yellow mesh presents the correct topology of the trilinear interpolant), then the same scalar field is sampled on a 6x6x6 grid and used as input to the C-MC33 (green mesh) and to the SnapMC , the algorithm proposed by Raman and Wenger (blue meshes), and to our method (red meshes), for the parameter \(\lambda\) equal to 0.0, 0.1 and 0.2. Our algorithm is capable of better preserving the topology of the trilinear surface while generating good quality triangles.