\documentclass[a4paper]{article}
\usepackage{pst-solides3d}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\pagestyle{empty}
\date{30 août 2\,006}
\author{JPV \& ML}
\title{tests solides}
\listfiles
\begin{document}
\maketitle
\begin{enumerate}
  \item tore
  \item tétraèdre
  \item cube
  \item octaèdre
  \item icosaèdre
  \item dodécaèdre
  \item \textcolor{red}{sphère !!}
\end{enumerate}
\begin{center}
\psset{unit=0.5}
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=50,Dobs=50,Decran=30}
%\psSolid[r1=5,r0=3,object=tore,linewidth=2pt,linecolor=red](0,0,0)
\psCube[a=8](0,0,0)
\end{pspicture}
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=30,Dobs=50,Decran=30}
\psSolid[r1=5,r0=1,object=tore,RotX=90,color=cyan](0,2,0)
\end{pspicture}
\end{center}

\begin{center}
\psset{unit=0.5}
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=50,Dobs=20,Decran=10}
\psSolid[r1=6,r0=3.5,object=tore,linewidth=1pt,linecolor=cyan!80,color=red!20,typedrawsolid=solid*](0,0,0)
\end{pspicture}
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=30,Dobs=50,Decran=30}
\psSolid[r1=5,r0=1,object=tore,RotY=90,linecolor=blue,typedrawsolid=solid](0,2,0)
\end{pspicture}
\end{center}

\begin{center}
\psset{unit=0.5}
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=50,Dobs=20,Decran=10}
\psSolid[r=5,object=tetrahedron,linewidth=2pt,linecolor=blue,color=yellow](0,0,0)
\end{pspicture}
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=30,Dobs=50,Decran=30}
\psSolid[object=tetrahedron,r=6,RotY=90,linecolor=blue,typedrawsolid=solid](0,2,0)
\end{pspicture}
\end{center}

\begin{center}
\psset{unit=0.5}
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=50,Dobs=20,Decran=20}
\psSolid[object=cube,linewidth=2pt,linecolor=blue,color=cyan!60](0,0,0)
\end{pspicture}
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=-30,Dobs=50,Decran=50}
\psSolid[object=cube,a=6,RotY=90,linewidth=4pt,typedrawsolid=solid*,color=magenta!20](0,0,0)
\end{pspicture}
\end{center}

\begin{center}
\psset{unit=0.5}
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=50,Dobs=20,Decran=20}
\psSolid[object=icosahedron,linewidth=2pt,linecolor=blue,color=red!60](0,0,0)
\end{pspicture}
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=-30,Dobs=50,Decran=50}
\psSolid[object=icosahedron,a=3,RotZ=90,typedrawsolid=solid,color=green!50](0,0,0)
\end{pspicture}
\end{center}

\begin{center}
\psset{unit=0.5}
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=0,Dobs=20,Decran=20}
\psSolid[object=octahedron,linewidth=2pt,linecolor=blue,color=red](0,0,0)
\end{pspicture}
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=-30,Dobs=50,Decran=50}
\psSolid[object=dodecahedron,a=4,RotZ=90,typedrawsolid=solid*,color=green!80](0,0,0)
\end{pspicture}
\end{center}

\begin{center}
\psset{unit=0.5}
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=60,Dobs=20,Decran=20}
\psSolid[object=sphere,r=3,linewidth=1pt,linecolor=blue,color=red](0,0,0)
\end{pspicture}
\begin{pspicture}(-5,-4)(5,4)
\psframe(-5,-4)(5,4)
\psset{THETA=20,PHI=-30,Dobs=50,Decran=50}
%\psSolid[object=sphere,r=4,RotZ=90,typedrawsolid=solid*,color=green!80](0,0,0)
\psSphere[mode=4](0,1,0){3}
\end{pspicture}
\end{center}
\end{document}
