Questions tagged [frame-rate]

Frame rate (also known as frame frequency) is the frequency (rate) at which an imaging device produces unique consecutive images called frames. The term applies equally well to computer graphics, video cameras, film cameras, and motion capture systems. Frame rate is most often expressed in frames per second (FPS)

Frame rate (also known as frame frequency) is the frequency (rate) at which an imaging device produces unique consecutive images called frames. The term applies equally well to computer graphics, video cameras, film cameras, and motion capture systems. Frame rate is most often expressed in frames per second (FPS)

More information at http://en.wikipedia.org/wiki/Frame_rate

1702 questions
11
votes
4 answers

Javascript: How to get the time difference between window.requestAnimationFrame

What is the best way to get the time difference between "window.requestAnimationFrame" callback in javascript? I have tried: // create the best .requestAnimationFrame callback for each browser window.FPS = (function() { return…
marirena
  • 300
  • 2
  • 10
11
votes
5 answers

How to Make a Basic FPS Counter?

I'm trying to display my frames-per-second in my cube-rendering program. I would like to see its performance. So, how can I do it? I have done research on this already, but the examples I've seen use either multiple classes and still don't work, or…
Xenonic
  • 346
  • 2
  • 3
  • 20
11
votes
3 answers

Sprite Kit Serious FPS Issue In Full Screen Mode on OS X

I'm making a fairly complex sprite kit game. I recently added support for OS X. I get 60 fps always, regardless of how my game is scaled when the window is resized (even when resized to max screen space). However, the moment I make my App enter…
Epic Byte
  • 33,840
  • 12
  • 45
  • 93
11
votes
2 answers

How many ways to calculate the FPS (Frames per second) of an iOS App programmatically?

Since we are talking about programmatically, Instruments are not under my consideration. Some reference listed in advance: Calculate fps (frames per second) for iphone app Display FPS on iOS onscreen (without Instruments) At what framerate does the…
Jason Lee
  • 3,200
  • 1
  • 34
  • 71
11
votes
4 answers

Andengine low FPS on certain phones

My game runs well on most phones (56 FPS), but others run the game at ~25 FPS. In my game I have 3 particle systems and as far as I can tell the problem comes from here. My question: Is it a good idea to stop spawning particles if I detect FPS lower…
user874649
10
votes
1 answer

Setting a fixed FPS in Pygame, Python 3

I'm currently making a game using PyGame (Python 3), and I'm looking for a way to make the game run at a fixed FPS. Most of the game is located inside a giant while loop, where the user input is taken, sprites are rendered, etc. every tick. My goal…
Vladimir Shevyakov
  • 2,511
  • 4
  • 19
  • 40
10
votes
1 answer

Possible causes of cyclic FPS drops?

I was writing a new code base in opengl and have encountered a weird bug very early on. It is a distinct fluctuation in framerate that is repetitive and predictable. I know that it is definitely proportional to objects rendered. It is also…
Nathan Wride
  • 965
  • 1
  • 7
  • 28
10
votes
1 answer

Display FPS on iOS onscreen (without Instruments)

In WWDC 2012 Session 506, they display the frames per second on a UILabel in the application, without having to use the Core Animation profiler attached to instruments. I would like to do this for convenience as well as to let other members of my…
MaxGabriel
  • 7,617
  • 4
  • 35
  • 82
10
votes
4 answers

FPS testing in android application

How can an android application developer test FPS (Frames per second) for their application? I'm talking about general application, not game. It can be on emulator or phone. I've been looking for this but have not found a way. It would be great, if…
user1415759
10
votes
2 answers

Mouse location in java

I am developing a first person shooter in Java and I want to implement controls in which movement of the mouse rotates the player. However in Java, I can only get mouse coordinates by using MouseListener events, so the coordinates will stop changing…
user1391664
  • 251
  • 4
  • 11
9
votes
2 answers

What instrument should I use in Xcode to see FPS?

Some time ago I used instruments to see the FPS of an iPad application in Xcode 3. Now I'm using Xcode 4 and I can't find the correct instrument for viewing the FPS. What is it?
medvedNick
  • 4,512
  • 4
  • 32
  • 50
9
votes
2 answers

Android - How can I measure performance of ListView and other Views?

How can I measure the FPS of my ListView? See the slides 13-17 from http://code.google.com/events/io/2010/sessions/world-of-listview-android.html.
Erdal
  • 1,472
  • 3
  • 16
  • 33
9
votes
2 answers

How to change framerate when using MediaRecorder Class

I try to record video using MediaRecorder Class. However I find out that I failed to lower the framerate of the video stream. I'm using H.264 as my Video Encoder and AAC as my Audio Encoder(yes, it is supported in API LEVEL 10 and above, AKA Android…
Kevin Tong
  • 3,626
  • 1
  • 17
  • 12
9
votes
1 answer

Debugging low FPS in Three.js

I'm working on a Three.js WebGL scene and am noticing 60 FPS when I'm zoomed out so that all observations (~20,000 triangles) are in view, but very low FPS when I'm zoomed in so that only a small subset of the triangles are in view. I'd like to…
duhaime
  • 25,611
  • 17
  • 169
  • 224
9
votes
2 answers

How can I control frame rate in Qt 3D?

I'm using the new Qt 3D API to display a 3D scene during a computationally intense calculation. This scene only changes as a response to user input. However, the default behavior of Qt 3D seems to lock the scene's frame rate to some high constant…
Ryan Hilbert
  • 1,805
  • 1
  • 18
  • 31