tsunamayo / Starship-EVO

Welcome to Starship EVO bug tracking repo !
117 stars 17 forks source link

[New build - DEFAULT] 21w07a: Physics Improvements #3631

Open tsunamayo opened 3 years ago

tsunamayo commented 3 years ago

The physics broadphase logic has been refactored. It uses custom BVH for the world and each entity children entity. This new framework is entirely multi-threaded so there is no performance impact. For now on the data-structure is updated and the query have yet to be migrated. The end goal is so to have each query (raycast, collisions) being multi-threaded, essentially making the game run at stable fps even during physics intensive scene (like space battle). For the curious you can check the debug option: View World BVH and View Entity BVH.

Bugfixes:

3629 Ship preview not visible.

3630 FPS drop after opening a ship preview.

tsunamayo commented 3 years ago

Okay build is live. As it is a default patch, please dont hesitate to report any regression! This build is also in Experimental.

ProPeach commented 3 years ago

@tsunamayo did you get to the bottom of the ringworld moving issue talked about in #3616? That could cuase issues if it's in the stable branch. Brilliant work on all the multithreading recently! It's really changing the game experience for the better

tsunamayo commented 3 years ago

@ProPeach of course I forgot about that one... I just repushed the build with the fix. Thanks a lot for pointing that out!

ProPeach commented 3 years ago

Wonderful, thank you! I really should have posted a separate thread to make it more visible, my bad

Calvert4096 commented 3 years ago

Same. I was a bit cheesed to find my ring base complex floating in space. Such is life in alpha.

RockefellerDoctor commented 3 years ago

Did Ambient Occlusion get added to Default? I'm not on experimental but it def looks like there's AO.

EDIT: am on Default and AO is definitely in there, fully functional.

Cpt-Fortius commented 3 years ago

Nice fixes!

-Item stands work again; Items centered on geometric centerpoint, and bricks appear correctly if building on them. One minor aspect: game still draws a false preview highlight a short distance away: 20210220112455_1

-Weapons with decorative "fake" barrels now fire better, in some cases there are still problems. (details in separate report)