I'm trying to draw two cylindric rings on top of each other with pst-solides3d
. Here is what I have:
\documentclass{article}
\usepackage{pstricks}
\usepackage{pst-solides3d}
\begin{document}
\begin{pspicture}(0,0)(3,5)
\psset{viewpoint=60 80 30 rtp2xyz,Decran=60,lightsrc=viewpoint}
\psSolid[object=anneau, h=1.7, R=4.4, r=3.8](0,0, 0.77)
\psSolid[object=anneau, h=0.6, R=5, r=4.4](0,0,0.46)
\end{pspicture}
\end{document}
And here is what if gives (latex doc.tex; dvips doc.dvi; ps2pdf doc.ps
):
And a view from the bottom (change 30
to -50
in psset
):
Have I done a silly mistake or there is a visibility problem ?