Not really. It's more a GUI issue.<br><br><div><span class="gmail_quote">On 12/6/05, <b class="gmail_sendername">Dominik Szczerba</b> <<a href="mailto:domi@vision.ee.ethz.ch">domi@vision.ee.ethz.ch</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Oh yes indeed, I am talking about the first solution. Now is there a<br>particular reason this swich is not available in paraview?
<br>Dominik<br><br>Berk Geveci wrote:<br>> Is this what you are asking?<br>><br>> vtkMapper.h<br>><br>> // Description:<br>> // Set/Get a global flag that controls whether coincident topology (e.g.,<br>
> a<br>> // line on top of a polygon) is shifted to avoid z-buffer resolution (and<br>> // hence rendering problems). If not off, there are two methods to choose<br>> // from. PolygonOffset uses graphics systems calls to shift polygons, but
<br>> // does not distinguish vertices and lines from one another. ShiftZBuffer<br>> // remaps the z-buffer to distinguish vertices, lines, and polygons, but<br>> // does not always produce acceptable results. If you use the ShiftZBuffer
<br>> // approach, you may also want to set the ResolveCoincidentTopologyZShift<br>> // value. (Note: not all mappers/graphics systems implement this<br>> // functionality.)<br>> static void SetResolveCoincidentTopology(int val);
<br>> static int GetResolveCoincidentTopology();<br>> static void SetResolveCoincidentTopologyToDefault();<br>> static void SetResolveCoincidentTopologyToOff()<br>> {SetResolveCoincidentTopology(VTK_RESOLVE_OFF);}
<br>> static void SetResolveCoincidentTopologyToPolygonOffset()<br>> {SetResolveCoincidentTopology(VTK_RESOLVE_POLYGON_OFFSET);}<br>> static void SetResolveCoincidentTopologyToShiftZBuffer()<br>> {SetResolveCoincidentTopology(VTK_RESOLVE_SHIFT_ZBUFFER);}
<br>><br>><br>> On 12/6/05, Dominik Szczerba <<a href="mailto:domi@vision.ee.ethz.ch">domi@vision.ee.ethz.ch</a>> wrote:<br>><br>>>Thanks a lot, yes, still however it is far from what I used to get with
<br>>>my own small codes, but that might be an issue for VTK mailing list<br>>>instead. Still, it looks a bit like a dead-end to me (where to put it?).<br>>>bye<br>>>Dominik<br>>><br>>>Wylie, Brian wrote:
<br>>><br>>>>Okay I know this is a not a 'solution' but for a quick fix set the line<br>>>>width to '2' instead of '1'. It will look much better. :)<br>>>><br>>>> Brian Wylie - Org 9227
<br>>>> Sandia National Laboratories<br>>>> MS 0822 - Building 880/A1-J<br>>>> (505)844-2238 FAX(505)845-0833<br>>>> ____ _ __<br>>>> / __ \____ _________ | | / (_)__ _ __
<br>>>> / /_/ / __ `/ ___/ __ `/ | / / / _ \ | /| / /<br>>>> / ____/ /_/ / / / /_/ /| |/ / / __/ |/ |/ /<br>>>> /_/ \__,_/_/ \__,_/ |___/_/\___/|__/|__/<br>>>><br>>>> Unleash the Beast
<br>>>><br>>>><br>>>><br>>>><br>>>>>-----Original Message-----<br>>>>>From: paraview-bounces+bnwylie=<a href="mailto:sandia.gov@paraview.org">sandia.gov@paraview.org
</a><br>>>>>[mailto:<a href="mailto:paraview-bounces+bnwylie=sandia.gov@paraview.org">paraview-bounces+bnwylie=sandia.gov@paraview.org</a>] On<br>>>>>Behalf Of Dominik Szczerba<br>>>>>Sent: Tuesday, December 06, 2005 9:26 AM
<br>>>>>To: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>>>>>Subject: [Paraview] polygon offset<br>>>>><br>>>>>Hello,<br>>>>>Does Paraview support OpenGL polygon offset extension? If I
<br>>>>>try to visualize e.g. a tet mesh with edges (extract edges,<br>>>>>shrink tets) the result looks very bad. Does VTK offer it at<br>>>>>all? Is it at all possible using the VTK's filter philosophy?
<br>>>>>regards,<br>>>>>Dominik<br>>>>>--<br>>>>>Dominik Szczerba, Dr.<br>>>>>ETZ C110 CO-ME/BIWI CH-8092 Zurich<br>>>>><a href="http://www.vision.ee.ethz.ch/~domi">
http://www.vision.ee.ethz.ch/~domi</a><br>>>>>_______________________________________________<br>>>>>ParaView mailing list<br>>>>><a href="mailto:ParaView@paraview.org">ParaView@paraview.org
</a><br>>>>><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>>>>><br>>>><br>>>><br>>>--<br>>>Dominik Szczerba, Dr.
<br>>>Computer Vision Lab CH-8092 Zurich<br>>><a href="http://www.vision.ee.ethz.ch/~domi">http://www.vision.ee.ethz.ch/~domi</a><br>>>_______________________________________________<br>>>ParaView mailing list
<br>>><a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>>><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>><br>>>
<br>><br><br>--<br>Dominik Szczerba, Dr.<br>Computer Vision Lab CH-8092 Zurich<br><a href="http://www.vision.ee.ethz.ch/~domi">http://www.vision.ee.ethz.ch/~domi</a><br>_______________________________________________<br>
ParaView mailing list<br><a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br></blockquote>
</div><br>