<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi,<br>
<br>
i would like to clip some spheres into two equal parts and color them.<br>
There are many of these spheres placed onto a surface.<br>
</p>
<p><br>
I tried <span><vtkClipPolyData></span> but the problem is that I want to achieve an equal look from all directions.<br>
<br>
Therefore I tried to cut the spheres with a plane resulting from the direction vector (e).<br>
</p>
<p><span><br>
</span></p>
<p><span><b>plane->SetNormal(ex, ey ez);</b></span></p>
<p><span><b><br>
</b></span></p>
<p><span>Now the "backside" of the spheres is cutted when looking at them onto the surface (normal vector of the plane = direction vector of the spheres center).<b><br>
<br>
</b>But I would like to rotate the plane about 90 degree to cut the spheres in the middle.<b>
</b>When you look onto the surface, every sphere on it should look the same.<b><br>
</b></span></p>
<p><span></span><br>
Some ideas of how to do that?<b><br>
<br>
</b>Is there a simplier solution to color half of a sphere and show both halfes equally independent from the point of view.<br>
<br>
Kind Regards<br>
</p>
</div>
</body>
</html>