[pstricks] About pst-solides 3d

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon Aug 16 19:49:05 CEST 2010

Am 16.08.2010 18:26, schrieb mathias legrand:

> I'm considering example ex2.tex from http://tug.org/PSTricks/main.cgi/
> Is there a chance that soon, this piece of code will provide
> an image correctly showing what's before the blue plane, and what's
> behind it?
> In this example, everything is behind it, and should not: not an easy task
> probably.

that is already possible ...
When using a plane you have to use the extension _s for
the planes name.



  \psset{viewpoint=20 10 10,Decran=40,lightsrc=20 10 5,solidmemory}
  \defFunction{cone}(u,v){u v Cos mul}{u v Sin mul}{u}
  \psSolid[object=surfaceparametree,base=-2 2 0 2 pi mul,
     inhue=0.8 0.2,hue=0.8 0.2,
     ngrid=25 40,fillcolor=cyan!50,
     intersectionplan={[1 0 0 -1]},
    args={[1 0 0 -1]},
    base=-2 2 -2.5 2.5,ngrid=30 30,action=none,name=Plane]
  \psSolid[object=fusion,base=XYZ Plane_s,action=draw**]


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

More information about the PSTricks mailing list