[vtkusers] Counting FPS
Julian Ibarz
julian.ibarz at gmail.com
Mon Aug 18 10:10:33 EDT 2008
I would like to count the current FPS for benchmark issue. But it seems VTK
render only if an explicit call to a Render() method is called or a mouse
event is detected. So I decided to count the time a rendering take and
moving the mouse... So I used renderer.GetLastRenderTimeInSeconds(); but it
seems to not give the real time (If I have two thousands actors I'm about 4
fps and this method returns about 10 ms to render which means i'm about 100
fps...). I think the render time is only the "opengl part "time and not the
data and actor management. I need really all those times, the real time...
Could someone has a trick to force VTK to render always ? And could we know
the real time a rendering pass take easily ?
Thanks and sorry for my bad english ;)
--
Julian Ibarz
Web site (In French) : http://julian-ibarz.developpez.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080818/370eabd8/attachment.htm>
More information about the vtkusers
mailing list