[pstricks] intersection jaggies

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat Jun 16 14:33:14 CEST 2012

Am 14.06.2012 21:48, schrieb Jon Joseph:
> I have three questions regarding the output from the code below:
> 1)  Notice the jaggedness at the intersection of the plane and the hyperboloid.  Is there any way to smooth this without requiring the ngrid parameter to be smaller than I have it?
> 2)  I know that when I do a fusion parameters like linecolor are lost but incolor and fillcolor are retained (the one I really want is opacity but it is tossed as well). Is it a technical impossibility to retain these settings?
> 3) The \composeSolid macro does not seem to be needed. Is this true in all cases?

draw the interlines as functions:



\psset{viewpoint=50 30 30 rtp2xyz,Decran=50}
\defFunction[algebraic]{hyperboloid}(u,v){(1+u^2)^0.5*cos(v)}{(1+u^2)^0.5 * 
\psSolid[object=surfaceparametree, linecolor=blue!40, base=-3 3 0 6.28,
    fillcolor=cyan!50,incolor=green!50, function=hyperboloid, ngrid=.15 
\psSolid[object=surfaceparametree, linecolor=blue!40, base=Pi neg Pi -3 
3, fillcolor=red!50,
   function=plane2,ngrid=.2 .2,action=none,name=firstplane]
\psSolid[object=fusion,base=hyper1 firstplane,grid]
% the intersection line
\psSolid[object=surfaceparametree,linecolor=blue,linewidth=3pt,base=-3 3 
0 Pi, ngrid=.15 .15,
\psSolid[object=surfaceparametree,linecolor=blue,linewidth=3pt,base=1 3 
0 Pi, ngrid=.15 .15,



\composeSolid is done by default with \end{pspicture}

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot - 06.06.2012 - 07:50:29.png
Type: image/png
Size: 27353 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20120616/d173bd52/attachment-0001.png>

More information about the PSTricks mailing list