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

\title{test lumière}
\begin{document}
\maketitle
\begin{enumerate}
  \item lightsrc + fillincolor + cylindrecreux + lightintensity
\end{enumerate}

%% avec mode = 0
\begin{center}
%%
\psset{unit=0.5}
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psset{Decran=1e3,viewpoint=1e3 0 1e3,lightsrc=1e3 0 1e3,mode=5}
\psSolid[object=cube,RotZ=30](0,2,0)
\psSolid[object=cylindrecreux,RotX=30,RotZ=-30,color=cyan,incolor=red](4,-3,0)
\end{pspicture}
%%
\begin{pspicture}(-5,-5)(5,5)
\psframe(-5,-5)(5,5)
\psset{Decran=30,viewpoint=30 30 30,lightsrc=0 1e3 1e3}
\psSolid[object=cube,lightintensity=3,RotX=90](0,3,0)
\psSolid[object=cube,lightintensity=1,RotX=90](3,-3,0)
\end{pspicture}
%%
\end{center}


\end{document}
