\documentclass[a4paper]{article}
\usepackage{pst-solides3d}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\pagestyle{empty}
\date{28 août 2\,006}
\author{JPV \& ML}

\title{test sphère}

\begin{document}
\maketitle
\begin{enumerate}
  \item sphère + mode
\end{enumerate}

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


%% avec mode = 4 ou 5
\begin{center}
%%
\psset{unit=0.5}
%%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psset{Decran=1e3,viewpoint=1e3 0 0,lightsrc=0 1e3 1e3,mode=5}
\psSolid[object=sphere,r=5,linewidth=1pt,linecolor=blue,color=red](0,0,0)
\end{pspicture}
%%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psset{Decran=1e3,SphericalCoor=true,viewpoint=1e3 0 0}% point de vue identique au précédent
\psSolid[object=sphere,r=5,RotZ=90,mode=4,typedrawsolid=solid*,color=Bittersweet,incolor=red](0,0,0)
\end{pspicture}
%%
\end{center}

\end{document}
