我的编译结果与作者得到的结果不一样

我的编译结果与作者得到的结果不一样

我尝试了以下代码

\documentclass[pstricks,border=12pt]{standalone}

\usepackage{pst-solides3d}
\begin{document}
\begin{pspicture}[solidmemory](-6.5,-3.5)(6.5,3)
\psset{viewpoint=30 0 15 rtp2xyz,Decran=30,lightsrc=viewpoint}
\psSolid[object=tore,r1=5,r0=1,ngrid=36 36,tablez=0 0.05 1 {} for,
          zcolor= 1 .5 .5 .5 .5 1,action=none,name=Torus]
\pstVerb{/R1 5 def /R0 1.2 def /k 20 def /RL 0.15 def /kRL 40 def}%
\defFunction[algebraic]{helix}(t)
     {(R1+R0*cos(k*t))*sin(t)+RL*sin(kRL*k*t)}
     {(R1+R0*cos(k*t))*cos(t)+RL*cos(kRL*k*t)}
     {R0*sin(k*t)+RL*sin(kRL*k*t)}
\psSolid[object=courbe,
        resolution=7800,
        fillcolor=black,incolor=black,
        r=0,
        range=0 6.2831853,
        function=helix,action=none,name=Helix]%
\psSolid[object=fusion,base=Torus Helix,grid]
\end{pspicture}
\end{document}

希望得到与 Herbert 相同的结果他维护的网站

预期结果应如下,

在此处输入图片描述

不幸的是我得到了以下结果,

在此处输入图片描述

请注意,自代码公开的第一天起,我已经多次尝试了相同的代码。我还重新安装了操作系统和 TeX Live 发行版。我刚刚也更新了已安装的 TeX Live。

答案1

我的文件列表以查找正确的图像。所有文件均可从http://texnik.dante.de

 *File List*
standalone.cls    2012/09/15 v1.1b Class to compile TeX sub-files standalone
ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
   ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)
 ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
 xkeyval.sty    2012/10/14 v2.6b package option processing (HA)
 xkeyval.tex    2012/10/14 v2.6b key=value parser (HA)
standalone.cfg    2012/09/15 v1.1b Default configuration file for 'standalone' 
class
 article.cls    2007/10/19 v1.4h Standard LaTeX document class
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
pstricks.sty    2012/08/24 v0.53 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2012/09/23 v2.33 `PSTricks' (tvz,hv)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
  pst-fp.tex    2012/09/23 v2.33 `PST-fp' (hv)
pstricks.pro    2012/10/16 v. 1.15, PostScript prologue file (hv)
pst-algparser.pro    2011/10/31 v. 0.04, PostScript prologue file (hv)
pst-tools.pro    2012/01/01 v. 0.02, PostScript prologue file (hv)
pst-dots.pro    2006/12/19 v. 2.00, PostScript prologue file (hv)
  xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pst-solides3d.sty    2009/07/25 package wrapper for pst-solides3d
pst-solides3d.tex    2011/07/13 v4.24 `PST-solides3D'
pst-solides3d.pro    2010/04/27 v. 4.20, PostScript prologue file

相关内容