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

\title{test cone}
\begin{document}
\maketitle
\begin{enumerate}
  \item tests de mode
\end{enumerate}
\makeatletter
%% avec mode = 0
\psset{lightsrc=10 5 20,SphericalCoor=true,viewpoint=50 20 50,Decran=50,unit=0.5}
\begin{center}
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psSolid[mode=0,object=troncconecreux,color=cyan,incolor=red,r0=5,r1=2,h=5](0,0,0)
\rput(0,-4.5){\psframebox[fillstyle=solid,fillcolor=black]{\textcolor{white}{mode=0}}}
\end{pspicture}
%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psSolid[mode=1,object=troncconecreux,color=cyan,incolor=red,r0=5,r1=2,h=5](0,0,0)
\rput(0,-4.5){\psframebox[fillstyle=solid,fillcolor=black]{\textcolor{white}{mode=1}}}
\end{pspicture}
%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psSolid[mode=2,object=troncconecreux,color=cyan,incolor=red,r0=5,r1=2,h=5](0,0,0)
\rput(0,-4.5){\psframebox[fillstyle=solid,fillcolor=black]{\textcolor{white}{mode=2}}}
\end{pspicture}
%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psSolid[mode=3,object=troncconecreux,color=cyan,incolor=red,r0=5,r1=2,h=5](0,0,0)
\rput(0,-4.5){\psframebox[fillstyle=solid,fillcolor=black]{\textcolor{white}{mode=3}}}
\end{pspicture}
%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psSolid[mode=4,object=troncconecreux,color=cyan,incolor=red,r0=5,r1=2,h=5](0,0,0)
\rput(0,-4.5){\psframebox[fillstyle=solid,fillcolor=black]{\textcolor{white}{mode=4}}}
\end{pspicture}
%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psSolid[mode=5,object=troncconecreux,color=cyan,incolor=red,r0=5,r1=2,h=5](0,0,0)
\rput(0,-4.5){\psframebox[fillstyle=solid,fillcolor=black]{\textcolor{white}{mode=5 => mode 4 forcé}}}
\end{pspicture}
\end{center}

\end{document}
