The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VDrift 2014-09-26 bug fix release
09-26-2014, 12:57 PM, (This post was last modified: 09-26-2014, 01:17 PM by NaN.)
#1
VDrift 2014-09-26 bug fix release
The release fixes a crash bug in joe loader, I've run into during testing.
Additionally sound distance attenuation has been made less aggressive, and attenuation parameters can be tweaked from VDrift.config now.

Full download
Linux: http://sourceforge.net/projects/vdrift/f...2/download
Windows: http://sourceforge.net/projects/vdrift/f...e/download

Update for 2014-09-22 release
Linux (source only): https://github.com/VDrift/vdrift/archive/master.zip
Windows (vdrift.exe): http://sourceforge.net/projects/vdrift/f...z/download



The new default parameters for sound attenuation in VDrift.config are:
[sound]
attenuation_scale = 0.914607
attenuation_shift = 0.272928
attenuation_exponent = -0.231374
attenuation_offset = -0.28843

The attenuation is a power function y=a*(x-b)^c+d clamped to the range [0, 1]:
attenuation = scale * (distance - shift)^exponent + offset

The parameters are derived using least squares fit to a number of sampling poins using this great website:
http://zunzun.com/Equation/2/Power/X%20S...%20Offset/

To get the old logarithmic attenuation the parameters are:
[sound]
attenuation_scale = 4.8694110473874862E+03
attenuation_shift = -2.3380252855054809E-02
attenuation_exponent = -2.9380304585176599E-05
attenuation_offset = -4.8686554410866866E+03

The 2014-09-22 release attenuation parameters are:
[sound]
attenuation_scale = 0.5
attenuation_shift = 0
attenuation_exponent = -1
attenuation_offset = 0

If you are curious about how the curves look like, take a look here:
http://fooplot.com/plot/sjwjocicxq

The black curve is the new, other two are the old versions. I've used fooplot to place the sampling points and fed them into zunzun solver. I know this is not exactly user friendly, but the user should not really mess with this settings.
Reply


Messages In This Thread
VDrift 2014-09-26 bug fix release - by NaN - 09-26-2014, 12:57 PM
RE: VDrift 2014-09-26 bug fix release - by zunzun - 09-27-2014, 10:08 PM
RE: VDrift 2014-09-26 bug fix release - by Timo 6 - 10-04-2014, 06:48 PM
RE: VDrift 2014-09-26 bug fix release - by NaN - 10-05-2014, 09:59 AM
RE: VDrift 2014-09-26 bug fix release - by Timo 6 - 10-05-2014, 10:19 AM
RE: VDrift 2014-09-26 bug fix release - by Timo 6 - 10-06-2014, 04:00 PM
RE: VDrift 2014-09-26 bug fix release - by NaN - 10-06-2014, 04:45 PM
RE: VDrift 2014-09-26 bug fix release - by Timo 6 - 10-06-2014, 05:35 PM
RE: VDrift 2014-09-26 bug fix release - by NaN - 10-06-2014, 05:41 PM
RE: VDrift 2014-09-26 bug fix release - by Timo 6 - 10-06-2014, 05:50 PM
RE: VDrift 2014-09-26 bug fix release - by NaN - 10-07-2014, 10:16 AM
RE: VDrift 2014-09-26 bug fix release - by Timo 6 - 10-07-2014, 05:57 PM
RE: VDrift 2014-09-26 bug fix release - by NaN - 10-08-2014, 09:14 AM
RE: VDrift 2014-09-26 bug fix release - by NaN - 10-08-2014, 01:32 PM
RE: VDrift 2014-09-26 bug fix release - by Timo 6 - 10-09-2014, 03:26 PM
RE: VDrift 2014-09-26 bug fix release - by NaN - 10-09-2014, 05:05 PM
RE: VDrift 2014-09-26 bug fix release - by Timo 6 - 10-15-2014, 12:33 PM
RE: VDrift 2014-09-26 bug fix release - by NaN - 10-15-2014, 04:27 PM
RE: VDrift 2014-09-26 bug fix release - by Timo 6 - 10-18-2014, 08:07 AM
RE: VDrift 2014-09-26 bug fix release - by NaN - 10-19-2014, 09:20 AM
RE: VDrift 2014-09-26 bug fix release - by Timo 6 - 10-19-2014, 07:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)