Skip to content
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

Advanced Ballistics - Performance improvement #4708

Merged
merged 1 commit into from
Nov 25, 2016

Conversation

ulteq
Copy link
Contributor

@ulteq ulteq commented Nov 24, 2016

When merged this pull request will:

  • Improve the frame times up to 16% with 200 simulated projectiles

@ulteq ulteq added kind/enhancement Release Notes: **IMPROVED:** status/needs-testing labels Nov 24, 2016
@ulteq ulteq added this to the 3.9.0 milestone Nov 24, 2016
@ulteq ulteq force-pushed the ab-performance-improvement branch 3 times, most recently from 6a57530 to d528a8f Compare November 25, 2016 15:33
* Up to 16% faster frame times with 200 simultaneously flying projectiles
@ulteq ulteq force-pushed the ab-performance-improvement branch from d528a8f to 34aebc8 Compare November 25, 2016 15:34
@ulteq ulteq merged commit 8f16702 into master Nov 25, 2016
@ulteq ulteq deleted the ab-performance-improvement branch November 25, 2016 18:25
ulteq added a commit that referenced this pull request Sep 29, 2017
…ation

- The error was introduced with this PR (#4708)
PabstMirror pushed a commit that referenced this pull request Oct 6, 2017
* Advanced Ballistics - Drag model revamp
- Moved away from using the drag tables from the GNU exterior ballistics library
- The drag functions are now based off this data from JBM Ballistics: http://www.jbmballistics.com/ballistics/downloads/text/
- The differences are minor, but some players might still appreciate the additional authenticity

* The Mach number is now calculated in relation to the air temperature.

* Improved speed of sound calculation accuracy.

* Advanced Ballistics - DLL update

* Advanced Ballistics - Added drag function reference (JBM Ballistics)

* Advanced Ballistics - Fixed calculation error in the spin drift simulation
- The error was introduced with this PR (#4708)

* More descriptive variable names

* Minor performance optimizations

* Fixed some minor issues

* DLL rebuild

* Utilize new 'toFixed' script command
- Small performance improvement

* Fixed a typo

* Use correct reference speed for the drag compensation

* Updated all 'airFriction' values to match the new drag model

* 'Default' atmosphere now equals the ICAO standard atmosphere

* Update reference humidity to meet the ICAO standard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Release Notes: **IMPROVED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants