[pstricks] Trouble with \psSurface and direction of the hue

David Tarazona daleotar at gmail.com
Sun Oct 31 19:46:21 CET 2010


efectively that works, i tried:

\documentclass{minimal}
\usepackage{pst-solides3d}
\begin {document}

\psset{viewpoint=160 160 120,Decran=200}
\begin{pspicture}(-5,-3)(5,5)
 \psSurface[ngrid=72 72,linewidth=0.01pt,algebraic,tablez=0.8 .1 4 {}
for,zcolor=0.666
0](-3.1416,-3.1416)(3.1416,3.1416){(3-2*cos(x+y)-2*cos(x)+2*cos(y))^(1/2)}
\end{pspicture}

\end{document}

and looks almost orthogonal

ty for the tip and the supoort again...

2010/10/31 Herbert Voss <Herbert.Voss at fu-berlin.de>

> Am 30.10.2010 20:03, schrieb David Tarazona:
>
> > I just remembered, how I can see the solids not in perspective but
> > in orthogonal projection???
>
> pst-solides3d provides only perspective projections. But you can set the
> viewpoint far away from the object.
>
> \documentclass{minimal}
> \usepackage{pst-solides3d}
> \begin {document}
>
>
> \psset{Decran=50,viewpoint=40 80 10 rtp2xyz}
> \begin{pspicture}(-5,-3)(5,5)
>  \psSurface[ngrid=72 72,linewidth=0.01pt,algebraic,
>    tablez=0.8 .1 4 {} for,
>  zcolor=0.666 0](-3.1416,-3.1416)(3.1416,3.1416)%
>    {(3-2*cos(x+y)-2*cos(x)+2*cos(y))^(1/2)}
> \end{pspicture}
>
> \end{document}
>
>
> Herbert
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>



-- 
Att,

David Tarazona
Desarrollos Inteligentes - Mechcorp Ltda.
Tel: (57)(1) 700-6364
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20101031/f1a7decb/attachment.html>


More information about the PSTricks mailing list