tsunamayo / Starship-EVO

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

[New build - EXPERIMENTAL] 22w19a: New Terrain and Asteroids #4695

Open tsunamayo opened 2 years ago

tsunamayo commented 2 years ago

The asteroid technology has been completely overhauled thanks a brand new planetary terrain technology. This terrain tech will be extended to Space Habitat and planets in upcoming updates.

It is a massive update as so many tech behind the scene has to be implemented or improved to deal with the amount of asteroids drawn. Beside the new features the new terrain/asteroids use a different approach: it is way more generic and also leverage fully on other tech instead of being completely bespoke. It was quite tricky to pull off as it stresses and push to the limit so many area of the game technology which had to be improved. In the end it is a great thing as this will benefit other sections of the game beside terrain!

=> Please note that the system size has been reduced, so any player entities will unfortunately have to be repositioned if necessary.

New Terrain Technology:

Asteroid Technology:

Other Improvements:

Next up, proper mining!

tsunamayo commented 2 years ago

Build is up! Possible my hardest build to date... Given how deep I had to dig into various areas I expect a reasonably large number of regressions so please report anything!😭 Most likely rendering and physics related.

SovietSponge commented 2 years ago

Oh hell yeah terrain deformation! Can't wait to get mining tools, hope we get some interesting ones to work with.

Kaiser-Indrasil commented 2 years ago

Alrighty, massive update to tackle ladies and gents!

Here's a fresh bug report! image When I damage an asteroid with lasers, they deform the meshes as they should but also poke a hole in them as well.

Here I'm at the edge of a deformed mesh fragment and the physics hold... image

...until I fly in further at which point I can fully roam around the asteroid. image

Kaiser-Indrasil commented 2 years ago

Another bug related to the previous one is, when I fly away a couple of hundred meters away from the deformed mesh, it patches up on the next LOD. If I then get closer again, the hole is patched (in the collision mesh too, so I cannot physically get into the asteroid).

Initial: image Farther LOD: image Closer LOD once again: image

tsunamayo commented 2 years ago

@Kaiser-Indrasil Yep I know it is normal at this stage, I havent spend that much time on the mining / deformation yet. But keep reporting any issues!

tsunamayo commented 2 years ago

Btw please also report your FPS and FPS drop when closing on asteroids (along with your CPU and how many cores you have). I want to check especially with CPU with few cores.

ProPeach commented 2 years ago

Btw please also report your FPS and FPS drop when closing on asteroids (along with your CPU and how many cores you have). I want to check especially with CPU with few cores.

The only real fps drops I'm experiencing are when I zoom into the asteroids very quickly, but it sounds like you're already aware of that issue. It's a very brief, but very heavy stutter. I'm running a Ryzen 5 3600 (6 cores, 12 threads) paired with a Radeon Rx580 8GB

https://user-images.githubusercontent.com/27857711/168044629-865687c6-ae6b-4444-a820-81dcb6d9f570.mp4

https://user-images.githubusercontent.com/27857711/168044906-7ae7f20b-5315-4ceb-b6fd-14445bd1e5f2.mp4

Fantastic implementation in general, the further render distances for the sprites is incredible!

ProPeach commented 2 years ago

image I am sometimes finding a chunk that refuses to load no matter the orientation of the camera, sadly it's not easily reproduceable

Also, are you still looking at tweaking the LOD distances for asteroids? Even the next closest asteroids seem to be on their lowest LOD image

zorozeenee commented 2 years ago

Crashes my game if i stay around asteroids too long, already submitted a report

BigBadKangaroo commented 2 years ago

All transparent blocks are completely invisible: 20220512212445_1 Vent-block misses it's grid texture: 20220512212533_1 Blocks with sprites in them such as buttons/ sequencer gates / ship computers / gravity & shipyard & starter block etc are "empty" (no sprite in them)20220512212826_1 20220512212842_1

And a ton of flickering blocks / doesn't matter if wedge or regular

Near asteroids I still get around 60fps with no issue but the asteroids are visible through a planet (but not everytime)!: 20220512214220_1

Uncle-Ulty commented 2 years ago

Some asteroids are much bigger than others, is it supposed to be ok?

image

serrated edge was planned, or is it some polygon-less optimization algorithm?

image

Also, the game froze with no apparent cause (I can't reproduce the problem) log: [Uploading Player.log
]() blueprint file: ExcelĂȘncia - MR Interceptor.zip

tsunamayo commented 2 years ago

Crashes my game if i stay around asteroids too long, already submitted a report

@zorozeenee Hi, how long was it? Also what is your CPU? Thanks

tsunamayo commented 2 years ago

@Uncle-Ulty Yes the big bois are a feature. For the serrated edge unfortunately it is an artifact of the meshisation algo (marching cube). Also could you join the player.log, it seems it had some issue during uploading (if you still have it). What is your CPU btw?

tsunamayo commented 2 years ago

@BigBadKangaroo Hi, do you reproduce this right away or after spawning/unspawning ship (the brick issue). Thanks

Edit: nevermind, I managed to reproduce and fixed the issue! Thanks

tsunamayo commented 2 years ago

@BigBadKangaroo So for the planet bug, could you send me your save (you seems to be in another system). It might be because this planet is smaller.

Uncle-Ulty commented 2 years ago

reupload:

Player.log HIGHWIND - Final Fantasy VII Airship.zip ExcelĂȘncia - MR Interceptor.zip

BigBadKangaroo commented 2 years ago

@tsunamayo the world is called Thumbnail ... a strange name I know, I created it a week ago. Thumbnail.zip

small update: I tested the same thing in a fresh new world. The bug I reported doesn't happen anymore, but in a new world you can still see the large asteroids. You can only see the small ones if you get really close to the planet: 20220513230512_1 20220513231100_1

tsunamayo commented 2 years ago

@BigBadKangaroo all the flickering issues have been fixed in the latest 22w21a. Thanks!

tsunamayo commented 2 years ago

@Kaiser-Indrasil Btw the mining issues you reported are finally dealt with in the latest update! With some more improvements for the upcoming one. Cheers

Kaiser-Indrasil commented 2 years ago

@Kaiser-Indrasil Btw the mining issues you reported are finally dealt with in the latest update! With some more improvements for the upcoming one. Cheers

Thanks, I've just noticed! I just hadn't had time to play in the last few weeks. Great work!