Hi Lubos,<br>Just a quick question. When I put the 2 actors into an assembly, do I still need to set SetResolveCoincidentTopologyToPolygonOffset() for the 2 mappers?<br><br>Or Is there a similar function for the assembly as a whole?<br>
<br>Thanks,<br>Bhanu<br><br><br><div class="gmail_quote">On Tue, May 1, 2012 at 12:41 PM, Bhanu Hariharan <span dir="ltr"><<a href="mailto:bhanu@petrotel.com" target="_blank">bhanu@petrotel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I tried the vtkActors for both but didnt change the behavior. Could you tell me how to group them into an assembly. Thanks so much for your help so far.<div class="HOEnZb">
<div class="h5"><br><br><div class="gmail_quote">On Tue, May 1, 2012 at 12:02 PM, Lubos Brieda <span dir="ltr"><<a href="mailto:lbrieda@yahoo.com" target="_blank">lbrieda@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_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>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"><div> <hr size="1"> <b><span style="font-weight:bold">From:</span></b> Bhanu Hariharan <<a href="mailto:bhanu@petrotel.com" target="_blank">bhanu@petrotel.com</a>><br>
</div><b><span style="font-weight:bold">To:</span></b> Lubos Brieda <<a href="mailto:lbrieda@yahoo.com" target="_blank">lbrieda@yahoo.com</a>> <br><b><span style="font-weight:bold">Cc:</span></b> "<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>"
<<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>> <br> <b><span style="font-weight:bold">Sent:</span></b> Tuesday, May 1, 2012 11:39 AM<div><div><br> <b><span style="font-weight:bold">Subject:</span></b> Re: [vtkusers] Mesh Lines<br>
</div></div></font> </div><div><div> <br>
<div>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>On Tue, May 1, 2012 at 9:32 AM, Lubos Brieda <span dir="ltr"><<a rel="nofollow" href="mailto:lbrieda@yahoo.com" target="_blank">lbrieda@yahoo.com</a>></span> wrote:<br><blockquote 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><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> <div dir="ltr"> <font face="Arial"> <hr size="1"> <b><span style="font-weight:bold">From:</span></b> Bhanu Hariharan <<a rel="nofollow" href="mailto:bhanu@petrotel.com" target="_blank">bhanu@petrotel.com</a>><br>
<b><span style="font-weight:bold">To:</span></b> Jothybasu Selvaraj <<a rel="nofollow" href="mailto:jothybasu@gmail.com" target="_blank">jothybasu@gmail.com</a>> <br><b><span style="font-weight:bold">Cc:</span></b> <a rel="nofollow" href="mailto:vtkusers@vtk.org" target="_blank">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><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" href="mailto:jothybasu@gmail.com" target="_blank">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" href="mailto:bhanu@petrotel.com" target="_blank">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" href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><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" href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a rel="nofollow" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Please keep messages on-topic and check the VTK FAQ at: <a rel="nofollow" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br><br> </div></div></div> </div> </div></div><br>_______________________________________________<br>
Powered by <a rel="nofollow" href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a rel="nofollow" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a rel="nofollow" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>
</div><br><br> </div></div></div> </div> </div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br>