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

\begin{document}
\psset{unit=1.5}
\psset{viewpoint=50 -20 10 rtp2xyz, Decran=50}
\begin{pspicture}(-2,-2)(2,2)
\codejps{
  /dod1 {%
    1.3 newdodecaedre
    dup 0.9 solidaffine
    dup videsolid
    dup (blue) outputcolors
    dup (red) inputcolors
} def
dod1 drawsolid**
}
\end{pspicture}
\end{document}
