[pstricks] Transparent Solid
Poul Riis
Poul.Riis at skolekom.dk
Mon Nov 23 16:58:42 CET 2009
Running your example I get a Ghostview error. However, after retyping the
numbers after base= in the line marked 'dangereous line' the error
disappears!
I have no idea why.....
Poul Riis
\documentclass{article}
\usepackage{pst-solides3d,pstricks-add}
\begin{document}
\begin{center}
\psset{unit=0.8}
\begin{pspicture}[showgrid=false](-4,-2)(3,3.5)
\psset{viewpoint=100 27.5 20,Decran=60}
%\psSolid[object=face,base=0 -3 9 -3 9 3 0
3,action=draw*,fillcolor=white,linestyle=dashed]% dangerous line!
\psSolid[object=face,base=0 -3 9 -3 9 3 0
3,action=draw*,fillcolor=white,linestyle=dashed]% retyped!
\defFunction{F}(t){t 2 exp}{t}{}
\psSolid[object=face,base=3 -3 {F} CourbeR2+,resolution=360,action=draw]
\psSolid[object=face,base=3.25 3 {F} CourbeR2+,resolution=360,action=draw]
\psSolid[object=face,base=-3 -3.25 {F}
CourbeR2+,resolution=360,action=draw]
\psSolid[object=plan,definition=equation,args={[1 0 0 -9]},base=-5 0 -3
3,action=draw*,fillcolor=gray!20,opacity=0.4]
\axesIIID[showOrigin=true](0,-5,0)(14,4,5)
\end{pspicture}
\end{center}
\end{document}
More information about the PSTricks
mailing list