[pstricks] opacity in pst-solides3d

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon Jan 4 08:35:48 CET 2010

Am 04.01.2010 02:17, schrieb Jon Joseph:
> The following code snippet fuses a parametrized surface with an inner cylinder. I would like the opacity of the outer surface to be around .3 (i.e. opacity=.3) and the inner cylinder to be totally opaque (opacity=1). Given my method in the code opacity only seems to have an effect if it is included in a \psset{} macro in which case both surfaces are transparent. Including opacity=k in the directives for an individual solid has no effect on the individual surfaces.  Does deactivatecolor take opacity into account? Or is something else going on? Thanks, Jon

something like the attached?



\psset{lightsrc=30 -30 30,viewpoint=30 -30 30,Decran=100,
  linewidth=0.5\pslinewidth, ngrid=18 18,fillcolor=white} %, opacity=.3}
  {2 u mul 1 add Sin .25 mul 1.2 add v Cos mul}
  {2 u mul 1 add Sin .25 mul 1.2 add v Sin mul}
		h=4, r=.75,
		opacity=1, % no effect
		base=0 4 0 2 pi mul,
		opacity=.3,  %% No effect
%\psSolid[object=fusion,deactivatecolor,base=cylindre1 cylindre2, RotX=0]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: x.png
Type: image/png
Size: 68891 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20100104/761c520c/attachment-0001.png>

More information about the PSTricks mailing list