- <h3>Important stuff first: The work on the streets goes forward extremely great! And in not too much more time level 2 will be finished and is ready for full on play-testing. I am also working in the background on a Trailer. And now some extremely technical stuff for those interested: I noticed the performance near many single objects got lower the expected. There was definitely something wrong. After some debugging I found the cause, StaticBody3Ds. Jolt dose not recommend using detection of them at all and is disabled by default. Now I see why. Then I disabled it and refactored my culling system to work again. I used layer detection up to this point to keep it as broad as possible but this backfired. I used Area3Ds for detection (A mistake if I think about it now, now that I know groups with a simple node can be used with distance calculation in an extra thread. I am still sure from a calculation perspective the Area3D with overlap detection approach should work better but the Physics engine can not handle this many Areas at once). That worked but then Jolt just started not processing many objects... reason: Jolt can only handle a limited amount of Area3Ds... . Then I created a new detection system that can just be plugged-in into Scenes so they just have it after that (That is the "groups" stuff just mentioned). That worked BUT then the SaveSystem got mad at me again because it dose not like the references needed to get from the Culling-Node to the Instanced-Scene-Root or Sub-Roots depending on the Scene. After removing the problem causing part many aspects reset between seasons... that meant painstakingly debugging every issue noticed while playing and building a passer for that type or information having issues... again. The old stuff used methods not compatible with the Culling References. Then I had to fix a few Bugs that were created thanks to all the changes just mentioned. And now I can add the last few things in the streets and I can start on the outposts. After that I can finish the gov-building and finally the cooperation building('s). A cool side-effect of the new-new culling system is it puts a little more usage onto the CPU, but that seems to be more efficient from a main thread perspective so GPU can now run way faster thanks to that. The FPS improvements are conditional (not all places in the Levels had the issues with StaticBody3Ds) but when it helps it helps a good amount. Very happy about that. To say that the last 5 days were technical and very intensive thinking hours is an understatement. The last time this project needed this much concentration from me, was while creating the Bone Systems of the Player and NPC models.</h3>
0 commit comments