[vtkusers] Control VTK frame rate

David Thompson david.thompson at kitware.com
Tue Jul 4 17:42:05 EDT 2017


Hi all,

You might try the vtkGlyph3DMapper. It can take in a bunch of "source" polydata objects plus a set of points with point-data specifying orientation, scaling, and the index of which polydata to draw at each point. More recently, David Lonie added a way for it to take in a multiblock dataset and let each point specify the index of a top-level block to render (again, with point-data specifying per-instance transforms).

That would leave you with a single actor and an easy way to update per-instance transforms.

	David

> On Jul 4, 2017, at 5:32 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> 
> That seems to rule out Appending the models.  Are you using SetUserMatrix on the actors? Also, use a SetInputData on the mappers after Updating the last filters in the pipeline.
> 
> Sent from my iPad
> 
>> On Jul 4, 2017, at 5:16 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> 
>> Are they transformed independently or in unison? Also, how is the transformed applied? In the pipeline, or directly to the actor?
>> 
>> Sent from my iPad
>> 
>>> On Jul 4, 2017, at 4:56 PM, kay <jayavardhanravi at outlook.com> wrote:
>>> 
>>> The actors are loaded with data from STL/OBJ files only once, but the
>>> transform like rotation are make the actors to change every time the loop is
>>> run.
>>> 
>>> 
>>> 
>>> --
>>> View this message in context: http://vtk.1045678.n5.nabble.com/Control-VTK-frame-rate-tp5743876p5743889.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
> _______________________________________________
> 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



More information about the vtkusers mailing list