How can I improve performance of my renderer ?
by reducing quality ?
Using which renderer? Software?
I use IRenderer.RENDERER_OPENGL (hardware ?).
What problems are you experiencing? would be helpfull too to post the resources used by your app. to check them go to the task manager, find the java process and look how much memory does it use and the procesor percentage!!!!!
First, you've to determine what exactly your performance bottleneck is. It would be helpful if you can give us your system's specs, most importantly the cpu and gpu specs. The bottleneck may either be in your system, your code or jPCT. In case of the latter, there are some things to consider before reducing polygon count (which will always help). You are rendering a landscape IIRC? If so, are you using octrees for that? How is your landscape organized? How many polygons do your models have?
I've found the problem. It wasn't due to 3d rendering.
I have a multithreaded system (separate thread for physic and rendering) and that wasn't managed very well. Now, I've fix the problem by adding a simple Thread.sleep() which allow indirectly the rendering thread to run faster (don't think that's dirty, I use a very very complex system and I've found that was the unique solution (for the moment)).
Of course the sleep method allow the app to run faster if is used correctly, because let the procesor to asign quantums correctly to another processes and free some resources needed.
May I also call attention to Thread.yield()