How to increase FPS?

Hello again!



I recently tried out the TerrainTest.java class and got it to work, but when it runs I get literally 0 Frames per second! Is there a way to increase the FPS without buying a new computer? :stuck_out_tongue:



Also, are there any could tutorials for a 3rd person RPG? Not sure if it’s necessary but finding one cant’ hurt. :slight_smile:



Thanks again!

reduce the resolution

That test case already has the LOD control, which optimizes the terrain. How fast do the other test cases run, and what are your system specs?



A tutorial for an RPG is just too broad to write. I suggest starting with a moving box as the player, and then adding from that. Each piece you will add will be its own learning experience that you can then narrow down your search for tutorials.

PS. FPS:

  • omg, what computer/Graphic you have, even my laptop with chipset(kind of graphic card) have like 30 fps from Lighting Terrain(better one)…
  • lower map size, and scale it(for less faces count)

    - Add LOD control.



    PS. RPG:
  • read game making tutorials, RPG is just a kind of game, so if you know how to do some of things, you know how to do RPG.

System Specs: AMD Athlon II X2 250 processor

3.00 GHz

3.00GB RAM

64 bit



I’ll reply back with other test later. Don’t have much time at the moment.

What graphics card are you using?

NVIDIA GeForce 6150SE nForce 430

That is an integrated video card is from 2007. I think you can run MS office on it.

Just tried the TerrainTestAdvanced class I got between 50 and 20 FPS. Is there a tutorial that shows how to regulate FPS? If there is can somebody please show me where it is.

This and this talk about terrain LOD. You might have to adjust the distance threshold of the control for the other test case if it is drawing too many polygons for you.

[java]control.setLodCalculator( new DistanceLodCalculator(65, 2.7f) );[/java]