[vtkusers] Control VTK frame rate
Elvis Stansvik
elvis.stansvik at orexplore.com
Wed Jul 5 11:39:35 EDT 2017
Den 5 juli 2017 2:29 em skrev "Ken Martin" <ken.martin at kitware.com>:
>
> That doesn't seem to match the pseudo code you posted, where the
transform is applied to a filter (shared by all the actors, well the only
actor). Maybe an updated bit of pseudo code would help.
The code snippet confuses me as well, since it looks like a new actor is
added to the renderer in each iteration of the while(true). If that's true,
the number of actors would grow fast and unboundedly.
Unless I'm missing something here.
Elvis
>
> In general with lots of actors you want to make sure
>
> mapper->StaticOn();
>
> and
>
> ren->RemoveCuller(ren->GetCullers()->GetLastItem());
>
> make sure it is a release build, and make sure your transformation is
happening on the actor, not a filter such as trransformpolydata.
>
>
>
> On Tue, Jul 4, 2017 at 5:18 PM, kay <jayavardhanravi at outlook.com> wrote:
>>
>> Transforms are independent and are applied directly to the actor
>>
>>
>>
>> --
>> View this message in context:
http://vtk.1045678.n5.nabble.com/Control-VTK-frame-rate-tp5743876p5743893.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>> _______________________________________________
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
>
>
> --
> Ken Martin PhD
> Distinguished Engineer
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
>
> 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.
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170705/63e9c826/attachment.html>
More information about the vtkusers
mailing list