Retour

shu_01.tex

Télécharger le fichier Fichier PDF
Image PNG
\documentclass{article}
\usepackage[dvipsnames,svgnames]{pstricks}
\usepackage{pst-solides3d}
 
\begin{document}
\pagestyle{empty}
 
\psset{lightsrc=50 10 30}
 
\psset{viewpoint=50 60 10 rtp2xyz,Decran=100}
\begin{pspicture*}(-7,-2)(7,10)
\psframe*(-7,-2)(7,10)
\psSolid[object=grille,base=-4 4 -4 4,action=draw**,ngrid=4,linecolor=red]%
\psSolid[object=new,RotX=90,RotZ=90,hue=0 0.1 0.8 1,hollow,incolor=yellow!50,
    sommets= (sommets_shu.dat) run,linewidth=0.5\pslinewidth,
    faces={(faces_shu.dat) run}]%
\end{pspicture*}
 
\end{document}