\DocumentMetadata{lang=en}
\documentclass[border=5mm,pstricks]{standalone}
\usepackage{pst-solides3d}

\begin{document}
\psset{unit=3}
\psset{viewpoint=50 -20 10 rtp2xyz, Decran=50}
\begin{pspicture}(-2,-2)(2,2)
\codejps{
/ico1 {%
    0.7 newicosaedre
    dup 0.9 solidaffine
    dup videsolid
    dup (Gray) outputcolors
    dup (White) inputcolors
} def
ico1 drawsolid**
}
\end{pspicture}
\end{document}