SimpleApplication tutorial running slow

Hi everyone,

I did the simpleApplication tutorial and I can see the result but the camera movements are very slow.

I use eclipse IDE with the nightly build of JMonkey.

My OS is Ubuntu 11.04 on a HP workstation xw4600 with a GeForce 9600 GT.

When I run the program, the FPS is around 5333 in 320x240, but still, the application lags a lot when I move the box.

Thank you very much for your help


@gaetan: Are you experiencing a ‘tearing’ effect? That can often be mistaken for lag. Try turning the vsync option on when you run your application, so that the tearing effect is reduced or completely gone.

The VSYNC option removed completely the tearing effect I was seeing.

Thank you very much for your quick answer!