Forest vs Trees and performance

… ah, F1 gets me lots of blended trees like an impressionist painting (with a spaceship) where I get around 36fps.


I think this is ‘blending clone’ so looks like my fpc performance is 10% slower.

1 Like

I look forward to your new game where you have to hide your spaceship launch base in the jungle …

1 Like

The idea of this test was to get a picture, and let others too, of how the various stuff is performing. It was based on your attempts to create trees LOD - I was wonder what and how could be improved. If TCastlePanel lags behind other similar Castle object, the we can look into the code, compare, and improve.
{ We := 1 * (@michalis * contributors) + NaN * me } :rofl:

The test has been done on 2 GPUs: nvidia rtx5090 and radeon integrated on AMD 9950x3d, with 128GB ram. This setup helped me to isolate the test quite well, with only few % system load coming from other apps. Both GPus performed basically the same, with an exception that radeon was on 60Hz refresh rate. Even older GPU (rtx2080ti) wasn’t too bad.

I have tested volume shadows on an older GPU (not ancient though) with real 3D objects and they were not so much slower. About 10-15fps drop on average, but haven’t done 5000 objects yet. Once the volume is calculated, it performs well enough, but I didn’t fully test that yet.

The test app I programmed to be easy enough (hopefully) for even beginners. Shadows are ON, so if you replace any model with a real 3d stuff then they should work… with an emphasis on ‘should’.

I did change the settings up & down, both in debugger and release, on FPC and Delphi, but Delphi is somehow behind.

1 Like