beyond-all-reason / spring

A powerful free cross-platform RTS game engine
https://beyond-all-reason.github.io/spring/
Other
214 stars 100 forks source link

Particles have some draw load outside of camera view #1202

Open 6AKU66 opened 9 months ago

6AKU66 commented 9 months ago

https://www.youtube.com/watch?v=jm3lqPPaQzM

Here another example: /give 1000 armpw /give 1 nuketest screen_2024-01-13_14-20-32-042 screen_2024-01-13_14-20-21-828

sprunk commented 9 months ago

Perhaps because it does some non-draw calculations like Z-sorting https://github.com/beyond-all-reason/spring/blob/de59fdc396d530581eb625f9f4e1b04e001e06b3/rts/Rendering/Env/Particles/ProjectileDrawer.cpp#L779-L780

6AKU66 commented 9 months ago

Perhaps because it does some non-draw calculations like Z-sorting

https://github.com/beyond-all-reason/spring/blob/de59fdc396d530581eb625f9f4e1b04e001e06b3/rts/Rendering/Env/Particles/ProjectileDrawer.cpp#L779-L780

I didn't know that tracy zones exist in those areas.

Case: construction turrets emitting particles. In camera view 0 Outside of camera view 1

6AKU66 commented 9 months ago

Case: nuke exploded 1000 armpw and derbises in the air.

In camera view 1 Outside of camera view 0