[pstricks] Transparent Solid

Ulrich Bongartz u.bongartz at freenet.de
Tue Nov 24 00:08:51 CET 2009


Hi,

running your example the parabola "behind" the plane is overpainted. I can 
see the plotting of the graph in my ghostview, and finally the hidden parts 
of the parabola disappear, but the axes can still be seen.

ulrich

----- Original Message ----- 
From: "Poul Riis" <Poul.Riis at skolekom.dk>
To: "Graphics with PSTricks" <pstricks at tug.org>
Sent: Monday, November 23, 2009 4:58 PM
Subject: Re: [pstricks] Transparent Solid


> 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}
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
> 



More information about the PSTricks mailing list