performance ... ??

Hi,

I’m just testing my little 3d engine on top of Xith and ran into some performance issues:

for testing I created 200 textured cubes above the terrain. When they come into view the renderOnce call goes from 3ms to 30ms execution time. CPU load goes from 2% to 27% (java process).

It seems though that this is not an issue of the graphics card. I changed from an old GF2MX(32MB) to an GF3ti200 but the
execution times remain the same.

On another occasion I used a terrain rendered by a triangle array with 65535*2 triangles. This caused the framerate to go down to almost one frame per second.

Anyone having an idea on how one can deal with such problems ?

HW: P4 2,4GHz 500MB DDR