Retour

ex_32.tex

Télécharger le fichier Fichier PDF
Image PNG
\documentclass[a4paper]{article}
\usepackage{pst-solides3d}
\pagestyle{empty}
\begin{document}
 
%@AUTEUR: Juergen Gilg
 
\begin{pspicture}(-4,-5)(-6,8)
\psset{solidmemory}
\psset{unit=0.55}
\psset{lightsrc=10 5 10,SphericalCoor,viewpoint=20 25 20,Decran=50}
 
 
 
\psSolid[%
    object=tore,
    r1=3,
    r0=1.25,
    fillcolor=lightgray,
    incolor=lightgray,
    hollow,
    ngrid=24 36,
    action=none,
    name=sph1,
    ](0,0,0)
    \psSolid[object=grille,
    base=-5 5 -5 5,
    fillcolor=yellow,
    RotX=30,
    RotZ=15,
    ngrid=24 24,
    hollow,
    action=none,
    name=sph2,
    ](0,0,2)
\psSolid[%
    object=fusion,
    base=sph1 sph2,
    name=sphere,
    opacity=0.6,
    action=draw**
    ](0,0,0)%
\composeSolid
 
 
\end{pspicture}
 
\end{document}