This problem is probably pretty basic, but I can't find a solution anywhere.
Here's a closed surface with a nice yummy flavor :
SphericalPlot3D[
8Cos[4phi]Sin[theta]^4 - 35 - 28Cos[2theta] - Cos[4theta],
{theta, 0, Pi}, {phi, 0, 2 Pi},
ColorFunction -> Function[{x, y, z, theta, phi, r}, ColorData["Rainbow"][r]],
PlotPoints -> {32, 24},
BoundaryStyle -> None,
PlotRange -> All,
Boxed -> False,
Axes -> False,
SphericalRegion -> True,
Method -> {"RotationControl" -> "Globe"},
ImageSize -> {500, 500}
]
Now turn around it. You should notice a vertical "fold-like" line all along the surface. This is apparently a "cut" (turning the BoundaryStyle to True should reveal the border with a black line).
This is very annoying. How should I remove that cut "fold" on the surface (which should be perfectly smooth everywhere) ?
{theta, -Pi, Pi}
$\endgroup${theta, -Pi, Pi}
; in order to remove the resulting glitches, increaseMaxRecursion
(e.g. toMaxRecursion -> 4
). YourPlotPoints
setting may also need to be adjusted. $\endgroup${theta, -Pi, Pi}
, eliminating anyPlotPoints
directive, and settingMaxRecursion -> 5
; I don't see artifacts at the poles: image. I am on Win 7-64 and MMA 10.4. $\endgroup$