[pstricks] pst-solides3D transparency

robert.fischer10 at arcor.de robert.fischer10 at arcor.de
Mon Jun 29 15:36:42 CEST 2009


Hello,

there is a very nice example related to transparency:
http://melusine.eu.org/lab/bpst/pst-solides3d/transparence/ex_29.pst

Compiling this example looks different. The transparency is missing. Output is the same as without hollow and opacity=0.6. I have the latest version of pst-solides3d.tex (C:\Program Files\MiKTeX 2.7\tex\generic\pst-solides3d) and solides.pro (C:\Program Files\MiKTeX 2.7\dvips\pst-solides3d) by Herbert Voss (see http://voss.homedns.org/packages/pst-solides3d/). FNDB of Miketex is refreshed.

Can anyone just try, if the example still works with those latest files...?

Have a nice day,
Robert.

\begin{pspicture}(-4,-5)(-6,8)
\psset{solidmemory}
\psset{unit=0.25}
\psset{viewpoint=-10 -10 10,
   lightsrc=-8 -5 6,
   Decran=50}

\psSolid[object=sphere,
    r=4.5,
    ngrid=36 36,
%    RotY=90,
    fillcolor=blue,
    incolor=lightgray,
    hollow,
    name=sph1,
    action=none](0,0,2)
\psSolid[object=cone,
      fillcolor=red,
      r=5,
      h=9,
      ngrid=36 36,
      hollow,
      name=sph2,
      action=none
      ](0,0,0)
\psSolid[%
    object=fusion,
    base=sph1 sph2,
    name=sphere,
    opacity=0.6,
    action=draw**
    ](0,0,0)%
\composeSolid


\end{pspicture}


More information about the PSTricks mailing list