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

\title{test cone}

\begin{document}
\maketitle
\begin{enumerate}
  \item numérotation des sommets + enlever des faces + conecreux
\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}
\psSolid[typedrawsolid=solid,object=cube,RotZ=30](0,0,0)
\end{pspicture}
%%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psset{Decran=15}
\psSolid[object=cube,RotX=90,h=9,a=6,color=cyan,incolor=red,lightsrc=10 10 10](0,-1,0)
\end{pspicture}
%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psset{Decran=15}
\psSolid[grid=false,typedrawsolid=solid,object=cylindre,mode=1](0,2,-2)
\end{pspicture}
%%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psset{Decran=15,grid=true,viewpoint=10 10 5}
\psSolid[rm=1 2 8,object=cylindrecreux,RotX=-60,h=5,r=2,color=cyan,incolor=red,lightsrc=10 10 10](0,0,-2)
\end{pspicture}
\end{center}

\begin{center}
%%
\psset{unit=0.5}
%
%%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psset{Decran=20}
\psSolid[grid=false,typedrawsolid=solid,object=conecreux,mode=1,num=false](0,2,0)
\end{pspicture}
%%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psset{Decran=20}
\psSolid[object=conecreux,RotX=90,h=9,r=2,color=cyan,incolor=red,lightsrc=10 10 10](-3,1,-2)
\end{pspicture}
\end{center}

\end{document}
