[pstricks] hidden lines removal and PSTricks

Herbert Voss herbert49 at googlemail.com
Fri Feb 2 14:55:57 CET 2007


grosbourin at gmail.com schrieb:
> Does anyone know if the hidden line removal in pst-3dplot is supposed
> to work?
> 
> I have tried the exact same example presented in the documentation, on
> 2 different
> latex installation, and I just can't get it to work: the hidden lines
> are not hidden at all.
> 
> Any thoughts?


> my entire document is:
> 
> \documentclass{article}
> \usepackage{pst-3dplot}
> \begin{document}
> \pagestyle{empty}
> \begin{figure}
> \begin{pspicture}(-6,-4)(6,5)%\psgrid
> \psset{Beta=15}
> \psplotThreeD[plotstyle=line,drawStyle=xLines,yPlotpoints=50,xPlotpoints=50,linewidth=1pt,hiddenLine=true]
> (-4,4)(-4,4){%

choose plotstyle=curve instead of line.

> x 3 exp x y 4 exp mul add x 5 div sub 10 mul
> 2.729 x dup mul y dup mul add neg exp mul
> 2.729 x 1.225 sub dup mul y dup mul add neg exp add}
> \pstThreeDCoor[xMin=1,xMax=5,yMin=1,yMax=5,zMin=1,zMax=5]
> \end{pspicture}
> \end{figure}
> \end{document}

Herbert




More information about the PSTricks mailing list