我在Mathematica 7.0.1Mesh
生成的 3D 表面上渲染线条时遇到问题:ContourPlot3D
p=ContourPlot3D[x^4+y^4+z^4-(x^2+y^2+z^2)^2+3(x^2+y^2+z^2)==3,
{x, -2,2}, {y, -2, 2}, {z,-2,2},
BoundaryStyle->Directive[Black,Thickness[.003]],
ContourStyle->Directive[Orange,Opacity[0.5],Specularity[White,300]],
PlotPoints->90,Ticks->None,
MeshStyle->Directive[GrayLevel[.7],Thickness[.001]],
Lighting->{{"Directional",RGBColor[1,1,1],
{ImageScaled@{1,0,1},ImageScaled@{0,0,0}}}}];
p=Graphics[Inset[p,{0,0},Center,{1,1}],
PlotRange->{{-.5,.5},{-.5,.5}},Frame->True]
仔细观察它们:
Show[p, PlotRange -> {{-.16, -.05}, {0, .1}}]
您会看到灰Mesh
线在许多地方与表面形成的三角形重叠,甚至看起来像是虚线。有没有办法避免这种情况?