[vtkusers] Rendering more than one actor problem

David Gobbi david.gobbi at gmail.com
Thu Mar 15 16:46:08 EDT 2018


Hi Zack,

Since you're converting from VTK 5, you'll want to read this migration
document:
https://www.vtk.org/Wiki/VTK/VTK_6_Migration/Replacement_of_SetInput

 - David


On Thu, Mar 15, 2018 at 2:40 PM, Ken Martin <ken.martin at kitware.com> wrote:

> Just guessing I would say a bug in append filter where it does not mark
> modified arrays as modified in some cases. By deleting the append filter it
> forced the creation of new arrays which causes the rendering to redraw
> correctly.
>
> On Thu, Mar 15, 2018 at 4:28 PM, ZACK <chihebz at hotmail.com> wrote:
>
>> Hi Ken,
>>
>> Thanks.
>>
>> Ken, let me ask you another question please, it might help me solving my
>> empty rendering window.
>>
>> I notice when I animate my vtkAppendFilter in a continuous loop it works
>> fine in old vtk version but in the new version, it will animate only one
>> loop then the render window becomes empty like when I render two actors. I
>> tried to zoom to fit but no luck.
>>
>> What is interesting is in new vtk if in each animation step I delete the
>> filter and recreate the scene again, it will loop without a problem and
>> the
>> model is always visible in the render window!!
>>
>> it looks like that vtkAppendFilter get corrupted after finishing one loop
>> witch it causes the model to disappear from the render window!! any clue
>> why
>> this behaviour in new vtk?
>>
>> Regards
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180315/86c7d8e3/attachment.html>


More information about the vtkusers mailing list