[pstricks] Two questions regarding pst-solides3d...

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Jul 12 23:14:32 CEST 2011


Am 08.07.2011 20:39, schrieb Werner Grundlingh:

> QUESTION 1: Is it possible to change the default shadow colour from black to
> something else?
>
> QUESTION 2: Is it possible to create a dashed line style for a parametric
> curve in 3D?


\documentclass{article}
\usepackage{pst-solides3d}
\pagestyle{empty}
\begin{document}
\begin{pspicture}(-4,-4)(10,10)
   \psset{viewpoint=50 45 20 rtp2xyz,Decran=25,lightsrc=50 45 
20,lightintensity=1}%
   \psSolid[r=3.5,object=sphere,
     ngrid=30 30,linewidth=5pt,
     grid,
     fillcolor=blue!50,
     intersectionplan={ [0 0 1 -2] },
     intersectioncolor=(rouge),
     intersectionlinewidth=3,
     intersectiontype=0,
     action=draw**]
\end{pspicture}
\end{document}

Herbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto.png
Type: image/png
Size: 15564 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20110712/22a57236/attachment.png>


More information about the PSTricks mailing list