Échantillonnage de points sur les régions
La version 11 inclut un échantillonnage de points uniforme sur les régions et la reconstruction des surfaces à partir des points.
Le lapin de Stanford.
In[1]:=
mesh = ExampleData[{"Geometry3D", "StanfordBunny"}, "Region"];
In[2]:=
MeshCellCount[mesh]
Out[2]=
Réduisez la résolution de la maille.
In[3]:=
pointcloud = RandomPoint[mesh, 10000];
In[4]:=
Graphics3D[{PointSize[Small], Point[pointcloud]}]
Out[4]=
Reconstruisez une plus petite surface de points.
In[5]:=
ListSurfacePlot3D[pointcloud, MaxPlotPoints -> 40, Axes -> None,
Boxed -> False, Mesh -> None]
Out[5]=
In[6]:=
ListSurfacePlot3D[pointcloud, MaxPlotPoints -> 40, Axes -> None,
Boxed -> False, Mesh -> None];
MeshCellCount[DiscretizeGraphics[%]]
Out[6]=