<div dir="auto">How many actors do you have?</div><div class="gmail_extra"><br><div class="gmail_quote">On Jul 4, 2017 4:26 PM, "kay" <<a href="mailto:jayavardhanravi@outlook.com">jayavardhanravi@outlook.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My Input data is generated by the realtime system, so the high frequency of<br>
data. But the VTK application I am trying to build is not a real time<br>
system. To explain further, the pseudo code that I posted before works by<br>
calling render in a loop.<br>
<br>
double realTimevariable; // This variable is updated by the real time system<br>
every millisecond<br>
while(true)<br>
{<br>
t->Identity();<br>
t->RotateZ(realTimevariable); // realTimevariable takes the value at this<br>
point of time<br>
t->update();<br>
renderer->addActor(act);<br>
renderer->modified();<br>
renderWindow->render();<br>
}<br>
<br>
Each time the loop is run value of the realTimeVariable is taken from the<br>
memory at that instance of time.<br>
This process works for less number of actors and frame rate is 12-14, but if<br>
the actors are doubled the frame rate goes down by 7-9 which is visible to<br>
the eye. From what I understand, this looping of render call<br>
(renderWindow->Render();) is what you mentioned "swamping VTK with render<br>
requests", Please correct me if I am wrong.<br>
<br>
And I dont want to control data to 60 times per second, as I want VTK to<br>
render as often as it can (Minimum of 12 FPS)<br>
<br>
I am not using QT, just basic vtk pipeline in C++.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Control-VTK-frame-rate-tp5743876p5743885.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/Control-VTK-frame-rate-<wbr>tp5743876p5743885.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div></div>