[pstricks] pst-3d: viewpoint and viewangle

Christian Hoffmann christian at lehrer-hoffmann.de
Mon Jun 28 19:58:06 CEST 2010


If I use the experimental feature coorType=2  pstPlanePut doesn't work 
correctly:

\documentclass{article}
\usepackage{pst-3dplot}

\begin{document}
\newcommand{\fussballfeld}{
\psline(50,-35)(0,-35)(0,35)(50,35)
\pscircle(11,0){9.15}
\psframe[fillcolor=white,fillstyle=solid](0,20.16)(16.5,-20.16)
\psframe(0,9.16)(5.5,-9.16)
\psdot(11,0)
}

\begin{pspicture}(-5,-10)(10,10)
\psset{unit=.2,coorType=2,Alpha=45}
\pstPlanePut[plane=xy](0,0,0){\fussballfeld}
\pstThreeDCoor[IIIDticks,zMax=5]
\end{pspicture}
\end{document}

  *File List*
  article.cls    2004/02/16 v1.4f Standard LaTeX document class
   size10.clo    2004/02/16 v1.4f Standard LaTeX file (size option)
pst-3dplot.sty    2010/01/01 package wrapper for pst-3dplot.tex (hv)
pstricks.sty    2010/03/20 v0.43 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2010/02/23 v2.02 `PSTricks' (tvz,hv)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
  xkeyval.sty    2008/08/13 v2.6a package option processing (HA)
  xkeyval.tex    2008/08/13 v2.6a key=value parser (HA)
   pst-fp.tex    2010/01/17 v0.05 `pst-fp' (hv)
pstricks.pro    2009/01/30 v. 1.06, PostScript prologue file (hv)
pst-dots.pro    2006/12/19 v. 2.00, PostScript prologue file (hv)
pst-algparser.pro    2008/01/01 v. 0.01, PostScript prologue file (hv)
   xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
    color.cfg    2005/02/03 v1.3 color configuration of teTeX/TeXLive
    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
   pst-3d.sty    2009/07/28 package wrapper for pst-3d.tex (hv)
   pst-3d.tex    2010/02/14 v1.11 `PST-3d' (hv)
   pst-3d.pro    2010/01/01 v. 0.01, PostScript prologue file (hv)
pst-plot.sty    2010/01/22 package wrapper for pst-plot.tex
pst-plot.tex    2010/03/15 1.11 `pst-plot' (tvz,hv)
pst-node.sty    2010/01/22 package wrapper for pst-node.tex
pst-node.tex    2010/01/22 1.10 `pst-node' (tvz)
pst-node.pro    2010/01/22 v. 1.10, PostScript prologue file (hv)
  multido.sty    2004/05/17 package wrapper for PSTricks `multido.tex', 
(HV/RN)
pst-3dplot.tex    2010/02/17 v1.90 `PST-3dplot' (hv)
pst-3dplot.pro    2010/01/01 v. 0.30, PostScript prologue file (hv)
  ***********

Greetings

Christian Hoffmann



Am 27.06.2010 12:16, schrieb Herbert Voss:
> Am 27.06.2010 04:17, schrieb Christian Hoffmann:
>
>    
>> I want to draw 3D-pictures with a horizontal x-axis, a vertical z-axis
>> and a diagonal y-axis. Assume ' viewport=1 2 3'. Which value must have
>> viewangle for a horizontal x-axis? Is there a formula or is my wish
>> impossible?
>>      
> if you do not need central projection then try pst-3dplot.
> See documentation.
>
> greetings from San Francisco ...
>
> Herbert
> _______________________________________________
> 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