Skip to content

Optimization: Decrease cost of toxin and hazard cleanup stream trail particles by around 50% #2034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 4, 2023

Conversation

xezon
Copy link
Contributor

@xezon xezon commented Jun 24, 2023

Merge with Rebase

This change decreases the cost of toxin and hazard cleanup stream trail particles by around 50%. The overall performance improvement of the stream weapon is significantly less than that, because there are other expensive components.

Affects

  • GLA Toxin Truck
  • GLA Toxin Rebel
  • GLA Toxin Tunnel
  • USA Ambulance

Before

Expensive stream particle effects.

generals.2023-06-24.09-21-28-72_ORIGINAL.mp4

After (Outdated)

The original look was preserved as much as possible. At a glance the effects look very similar.

generals.2023-06-24.09-45-18-24.mp4

@xezon xezon added Major Severity: Minor < Major < Critical < Blocker Performance Is a performance concern Art Is art related USA Affects USA faction GLA Affects GLA faction labels Jun 24, 2023
@xezon xezon force-pushed the optimize-stream-particles branch from cb26050 to 61bcfbf Compare June 24, 2023 08:12
@ImTimK
Copy link
Collaborator

ImTimK commented Jun 24, 2023

Can't spot the difference :)

@MTKing4
Copy link
Collaborator

MTKing4 commented Jun 24, 2023

Looks very good indeed

@xezon xezon force-pushed the optimize-stream-particles branch from 43af148 to e5a3807 Compare July 4, 2023 17:04
@xezon xezon changed the title Optimization: Decrease cost of toxin and cleanup stream particles by around 60% Optimization: Decrease cost of toxin and cleanup stream particles by around 50% Jul 4, 2023
@xezon xezon changed the title Optimization: Decrease cost of toxin and cleanup stream particles by around 50% Optimization: Decrease cost of toxin and cleanup stream trail particles by around 50% Jul 4, 2023
@xezon xezon changed the title Optimization: Decrease cost of toxin and cleanup stream trail particles by around 50% Optimization: Decrease cost of toxin and hazard cleanup stream trail particles by around 50% Jul 4, 2023
@xezon
Copy link
Contributor Author

xezon commented Jul 4, 2023

I have reviewed changes and reverted some optimizations to compromise less on the visual quality.

Performance cost is reduced by 50% to 65%. Toxin trails look almost identical thanks to a trick.

Documentation added. Looks good.

@xezon xezon merged commit 228c94d into main Jul 4, 2023
xezon added a commit that referenced this pull request Jul 4, 2023
@xezon xezon deleted the optimize-stream-particles branch July 4, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Art Is art related GLA Affects GLA faction Major Severity: Minor < Major < Critical < Blocker Performance Is a performance concern USA Affects USA faction
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants