Page 1 of 1

Create a movie

Posted: Tue Jun 26, 2012 4:00 pm
by sara
Hi,

I am trying to make a movie from my bullet demo. To do that, I want to store an image every timestep, and create a movie using ffmpeg.

I need the simulation to advance only one step at a time. For that, I am doing

Code: Select all

m_dynamicsWorld->stepSimulation(0.005,0);
And after that, I store the scenario (I later create an image of the scenario). At the end of the animation, I am creating a movie using as timestep 200 fps (1/0.005). This should give me the real time animation, but instead the animation is a little bit slow.

Any ideas?