[pstricks] pst-solides3D transparency

Marc GRILLET marc.grillet at neuf.fr
Mon Jun 29 16:45:30 CEST 2009


Hi,

robert.fischer10 at arcor.de a écrit :
> 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...?
>   
It's ok. You just have to convert the ps file to a pdf file (with ps2pdf).

Bye,
Marc
> 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}
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
>
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: marc_grillet.vcf
Type: text/x-vcard
Size: 226 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20090629/ec979e40/attachment.vcf>


More information about the PSTricks mailing list