[vtkusers] Mesh Lines

Lubos Brieda lbrieda at yahoo.com
Wed May 2 16:23:01 EDT 2012


No I don't think so. I am not even familiar with this function.



________________________________
 From: Bhanu Hariharan <bhanu at petrotel.com>
To: Lubos Brieda <lbrieda at yahoo.com>; vtkusers at vtk.org 
Sent: Wednesday, May 2, 2012 3:39 PM
Subject: Re: [vtkusers] Mesh Lines
 

Hi Lubos,
Just a quick question. When I put the 2 actors into an assembly, do I still need to set SetResolveCoincidentTopologyToPolygonOffset() for the 2 mappers?

Or Is there a similar function for the assembly as a whole?

Thanks,
Bhanu



On Tue, May 1, 2012 at 12:41 PM, Bhanu Hariharan <bhanu at petrotel.com> wrote:

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.
>
>
>
>On Tue, May 1, 2012 at 12:02 PM, Lubos Brieda <lbrieda at yahoo.com> wrote:
>
>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. 
>>
>>
>>
>>(I just finished working on a VTK-based GUI and that's the approach we took and it worked fine.)
>>
>>
>>
>>
>>________________________________
>> From: Bhanu Hariharan <bhanu at petrotel.com>
>>To: Lubos Brieda <lbrieda at yahoo.com> 
>>Cc: "vtkusers at vtk.org" <vtkusers at vtk.org> 
>>Sent: Tuesday, May 1, 2012 11:39 AM
>>
>>Subject: Re: [vtkusers] Mesh Lines
>> 
>>
>>
>>Thanks Lubos for your reply. I tried increasing thickness but the behavior remains the same as before.
>>
>>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.
>>
>>
>>
>>On Tue, May 1, 2012 at 9:32 AM, Lubos Brieda <lbrieda at yahoo.com> wrote:
>>
>>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.
>>>
>>>
>>>
>>>________________________________
>>> From: Bhanu Hariharan <bhanu at petrotel.com>
>>>To: Jothybasu Selvaraj <jothybasu at gmail.com> 
>>>Cc: vtkusers at vtk.org 
>>>Sent: Tuesday, May 1, 2012 10:25 AM
>>>Subject: Re: [vtkusers] Mesh Lines
>>> 
>>>
>>>Thanks for your reply. I do have SetAmbient(1) set in my code but that doesn't help.
>>>Any more ideas will be greatly appreciated.
>>>
>>>Thanks,
>>>Bhanu
>>>
>>>
>>>
>>>On Tue, May 1, 2012 at 4:10 AM, Jothybasu Selvaraj <jothybasu at gmail.com> wrote:
>>>
>>>May be you need to manipulate the lighting of the actors.
>>>>
>>>>Can you try SetAmbient(1)?
>>>>
>>>>Jothy
>>>>
>>>>
>>>>On Mon, Apr 30, 2012 at 10:03 PM, Bhanu Hariharan <bhanu at petrotel.com> wrote:
>>>>
>>>>Hi,
>>>>>
>>>>>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
>>>>>associated with it and I am using a vtkLookUpTable for this.
>>>>>
>>>>>I also have defined grid lines/mesh to show on top of this to mark the grid blocks. For this I use vtkLODActor.
>>>>>
>>>>>The problem is when I rotate the grid, the grid lines appear broken depending on how I rotate and the level of zoom.
>>>>>
>>>>>
>>>>>Does anyone have a clue why this could be happening..Any help with this would be greatly appreciated.
>>>>>
>>>>>Thanks,
>>>>>Bhanu 
>>>>>_______________________________________________
>>>>>Powered by www.kitware.com
>>>>>
>>>>>Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>>>>
>>>>>Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>>>>
>>>>>Follow this link to subscribe/unsubscribe:
>>>>>http://www.vtk.org/mailman/listinfo/vtkusers
>>>>>
>>>>>
>>>>
>>>>
>>>>-- 
>>>>
>>>>Jothy
>>>>
>>>>
>>>
>>>_______________________________________________
>>>Powered by www.kitware.com
>>>
>>>Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>>
>>>Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>>
>>>Follow this link to subscribe/unsubscribe:
>>>http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>>
>>>
>>>_______________________________________________
>>>Powered by www.kitware.com
>>>
>>>Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>>
>>>Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>>
>>>Follow this link to subscribe/unsubscribe:
>>>http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>>
>>
>>
>>
>>_______________________________________________
>>Powered by www.kitware.com
>>
>>Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>>Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120502/32d61622/attachment.htm>


More information about the vtkusers mailing list