[vtkusers] Re: Adding fps-info to renderer

Goodwin Lawlor goodwin.lawlor at ucd.ie
Mon Nov 20 10:33:03 EST 2006


Martin Baumann wrote:
> Hi,
> 
> how can show the frame per second rate information in the render window?
> Do I have to do this manually or is there a function that does this job 
> already?

Hi Martin,

You can use the inverse of the value returned from 
vtkRenderer::GetLastRenderTimeInSeconds() to give you fps.

hth

Goodwin




More information about the vtkusers mailing list