[vtkusers] Color flickering
ken.martin at kitware.com
Fri Oct 7 10:07:34 EDT 2016
Well mappers are always used for rendering. The connections typically go
dataset 1 -> 1 mapper 1 -> 1 actor N -> 1 renderer N -> 1 renderwindow
But if you have two mappers then typically you have two datasets and would
need two writers resulting in two files
Not sure if that answers it for you but hopefully it helps.
On Fri, Oct 7, 2016 at 9:51 AM, Ruben van Staden <rubenvanstaden at gmail.com>
> Hey Ken
> Thanks for the reply.
> Is it possible to use mappers and still write to a VTK file using:
> vtkSmartPointer<vtkXMLUnstructuredGridWriter> writer = vtkSmartPointer<
> On Fri, Oct 7, 2016 at 2:41 PM, Ken Martin <ken.martin at kitware.com> wrote:
>> If they are in two different mappers and you are using the new OpenGL2
>> backend, then you can solve it in VTK by calling
>> on one of the mappers. If they are in the same mapper then, you cannot
>> solve it in VTK as the two polygons occupy exactly the same space, but due
>> to driver specific rendering implementations there may be some differences
>> frame to frame in what pixels end up on top.
>> Hope that helps
>> On Fri, Oct 7, 2016 at 7:38 AM, Ruben van Staden <
>> rubenvanstaden at gmail.com> wrote:
>>> Dear Readers
>>> I have two overlapping polyhedrons that each have a different color.
>>> When I plot them using Paraview, the part of the structure that overlaps
>>> starts flickering as I rotate the structure. Almost like the program is
>>> to what coloring to add to that part, since they overlap.
>>> Is there a way to solve this, somehow using VKT, or will I have to
>>> do polyhedron boolean operations?
>>> Powered by www.kitware.com
>>> Visit other Kitware open-source projects at
>>> Please keep messages on-topic and check the VTK FAQ at:
>>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>> Follow this link to subscribe/unsubscribe:
>> Ken Martin PhD
>> Chairman & CFO
>> Kitware Inc.
>> 28 Corporate Drive
>> Clifton Park NY 12065
>> 518 371 3971
>> This communication, including all attachments, contains confidential and
>> legally privileged information, and it is intended only for the use of the
>> addressee. Access to this email by anyone else is unauthorized. If you are
>> not the intended recipient, any disclosure, copying, distribution or any
>> action taken in reliance on it is prohibited and may be unlawful. If you
>> received this communication in error please notify us immediately and
>> destroy the original message. Thank you.
Ken Martin PhD
Chairman & CFO
28 Corporate Drive
Clifton Park NY 12065
518 371 3971
This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee. Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers