<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>What happens if you use two regular actors (not LOD for the mesh), but set one to wireframe representation, and possibly also group them into an assembly? And make sure to make the lines thicker. <br></div><div><br></div><div>(I just finished working on a VTK-based GUI and that's the approach we took and it worked fine.)<br></div><div><br></div> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Bhanu Hariharan <bhanu@petrotel.com><br> <b><span style="font-weight: bold;">To:</span></b> Lubos Brieda <lbrieda@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "vtkusers@vtk.org"
<vtkusers@vtk.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, May 1, 2012 11:39 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [vtkusers] Mesh Lines<br> </font> </div> <br>
<div id="yiv1940132693">Thanks Lubos for your reply. I tried increasing thickness but the behavior remains the same as before.<br><br>I also want to add that the wireframe looks broken only at times at places when I am rotating and also depends on the zoom level. If I dont zoom at all it is fine but when I start zooming, the lines look broken randomly.<br>
<br><br><div class="yiv1940132693gmail_quote">On Tue, May 1, 2012 at 9:32 AM, Lubos Brieda <span dir="ltr"><<a rel="nofollow" ymailto="mailto:lbrieda@yahoo.com" target="_blank" href="mailto:lbrieda@yahoo.com">lbrieda@yahoo.com</a>></span> wrote:<br><blockquote class="yiv1940132693gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-size:10pt;font-family:arial, helvetica, sans-serif;"><div class="yiv1940132693im"><div><span>Also try to make them thicker (under actor->GetProperty()). Not
sure if this is related but I've found that superimposing a wireframe
actor with the default line thickness over a solid one makes the lines
come and go unless you increase their thickness.</span></div><div><br></div> </div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;">
<div class="yiv1940132693im"> <div dir="ltr"> <font face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Bhanu Hariharan <<a rel="nofollow" ymailto="mailto:bhanu@petrotel.com" target="_blank" href="mailto:bhanu@petrotel.com">bhanu@petrotel.com</a>><br>
<b><span style="font-weight:bold;">To:</span></b> Jothybasu Selvaraj <<a rel="nofollow" ymailto="mailto:jothybasu@gmail.com" target="_blank" href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>> <br><b><span style="font-weight:bold;">Cc:</span></b> <a rel="nofollow" ymailto="mailto:vtkusers@vtk.org" target="_blank" href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a> <br>
<b><span style="font-weight:bold;">Sent:</span></b> Tuesday, May 1, 2012 10:25 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [vtkusers] Mesh Lines<br> </font> </div> <br>
</div><div><div class="yiv1940132693h5"><div>Thanks for your reply. I do have SetAmbient(1) set in my code but that doesn't help.<br>Any more ideas will be greatly appreciated.<br><br>Thanks,<br>Bhanu<br><br><br><div>On Tue, May 1, 2012 at 4:10 AM, Jothybasu Selvaraj <span dir="ltr"><<a rel="nofollow" ymailto="mailto:jothybasu@gmail.com" target="_blank" href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>></span> wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">May be you need to manipulate the lighting of the actors.<br><br>Can you try SetAmbient(1)?<br><br>Jothy<br>
<br><div><div><div>On Mon, Apr 30, 2012 at 10:03 PM, Bhanu Hariharan <span dir="ltr"><<a rel="nofollow" ymailto="mailto:bhanu@petrotel.com" target="_blank" href="mailto:bhanu@petrotel.com">bhanu@petrotel.com</a>></span> wrote:<br>
</div></div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div>Hi,<br>
<br>
I am using VtkUnstructuredGrid to render a 3D grid where each cube/block is marked by 8 world coordinates. Each grid block has a color<br>
associated with it and I am using a vtkLookUpTable for this.<br><br>I also have defined grid lines/mesh to show on top of this to mark the grid blocks. For this I use vtkLODActor.<br><br>The problem is when I rotate the grid, the grid lines appear broken depending on how I rotate and the level of zoom.<br>
<br><br>
Does anyone have a clue why this could be happening..Any help with this would be greatly appreciated.<br>
<br>
Thanks,<br>
Bhanu
<br></div></div>_______________________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>
<br>
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>
<br>
Follow this link to subscribe/unsubscribe:<br>
http://www.vtk.org/mailman/listinfo/vtkusers<br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</font></span></div>
</blockquote></div><br>
</div><br>_______________________________________________<br>Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Please keep messages on-topic and check the VTK FAQ at: <a rel="nofollow" target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a rel="nofollow" target="_blank" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br><br> </div></div></div> </div> </div></div><br>_______________________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a rel="nofollow" target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" target="_blank" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>
</div><br><br> </div> </div> </div></body></html>