[pstricks] pst-solides3d -- increases ngrid, reduce lines

Marco Daniel marco.daniel at mada-nada.de
Mon Sep 27 20:30:59 CEST 2010


Hello,

first the minimal example:
\documentclass{minimal}
\usepackage{pstricks}
\usepackage{pst-solides3d}
\usepackage{pstricks-add}

\begin{document}
\psset{lightsrc=viewpoint}
\psset{viewpoint=50 50 20 rtp2xyz,Decran=50,lightsrc=viewpoint}
\begin{pspicture}(-5,-5)(5,6)
\psSolid[object=sphere,
         action=draw,
         transform={1 2 1 scaleOpoint3d},
         ngrid=20 13,
         ](0,0,0)
\end{pspicture}
\end{document}

By increasing ngrid I can draw the sphere very detailed. The problem I 
have that i get more lines.

How can I draw a "round" sphere with only 5 horizontal and 4 vertical lines?

regards
Marco


More information about the PSTricks mailing list