![物体阴影中的奇怪线条](https://linux22.com/image/407156/%E7%89%A9%E4%BD%93%E9%98%B4%E5%BD%B1%E4%B8%AD%E7%9A%84%E5%A5%87%E6%80%AA%E7%BA%BF%E6%9D%A1.png)
我正在尝试描绘一个带有阴影的球体
\documentclass[tikz]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}[scale = 2.5]
\def\spradius{1}
% draws a shaded sphere
\shade[ball color = lightgray, opacity = 0.5] (0,0,0) circle (\spradius cm);
\end{tikzpicture}
\end{document}
但后来我运行了转换为 png
魔法转换 -密度 600 -深度 24 -质量 100 .pdf .png
因此那些黑线就变得明显了。
我究竟做错了什么?