[pstricks] intersection jaggies

Jon Joseph josco.jon at gmail.com
Thu Jun 14 21:48:46 CEST 2012

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?

\usepackage[letterpaper,asymmetric=true, total={18cm,22cm}, 
		top=3cm, bindingoffset=1cm]{geometry}
\usepackage{pst-fun, pst-coil}


\psset{viewpoint=50 40 30 rtp2xyz,Decran=50} 

	\defFunction[algebraic]{hyperboloid}(u,v){(1+u^2)^0.5*cos(v)}{(1+u^2)^0.5 * sin(v)}{u}
	\psSolid[object=surfaceparametree, linecolor=blue!40, base=-3 3 0 6.28, fillcolor=cyan!50, incolor=green!50, function=hyperboloid, ngrid=.2 .2,  intersectiontype=1, intersectionplan={[-1 0 0 0]}, intersectioncolor=(rouge), intersectionlinewidth=2, action=none, name=hyper1]
	\psSolid[object=surfaceparametree, linecolor=blue!40, base=-3 3 -3 3, fillcolor=red!50, incolor=yellow!50,
	 ngrid=.25 .25,

	\psSolid[object=fusion, base=hyper1 firstplane, intersectiontype=1, intersectionplan={[1 0 0 -.05 ]}, intersectioncolor=(bleu), intersectionlinewidth=4]
%	\composeSolid


More information about the PSTricks mailing list