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

\title{test cone}

\begin{document}
\maketitle
\begin{enumerate}
  \item cône + conecreux + tronccone + troncconecreux
\end{enumerate}

%% avec mode = 0
\psset{lightsrc=10 5 20,SphericalCoor=true,viewpoint=50 20 50,Decran=60}
\begin{center}
%%
\psset{unit=0.5}
%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psSolid[object=cone,mode=0](0,0,0)
\end{pspicture}
%%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psSolid[object=cone,RotY=-90,h=9,r=2,color=cyan,incolor=red,mode=4](0,-2,0)
\psSolid[object=conecreux,RotY=-90,color=cyan,incolor=red,grid=false](0,2,0)
\end{pspicture}
%%
\end{center}

\begin{center}
%%
\psset{unit=0.5}
%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psSolid[object=tronccone,r0=2,r1=1,h=6,mode=8](0,0,-2)
\end{pspicture}
%%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psSolid[mode=122,grid=false,object=troncconecreux,color=cyan,incolor=red,r0=5,r1=2,h=5,lightsrc=5 10 5](0,0,0)
\end{pspicture}
\end{center}

\end{document}
