08-03-2023, 08:15 PM
(This post was last modified: 08-03-2023, 08:16 PM by checkpoint10.)
Over on the NASCAR forum I was looking into gaps between the x,y,z coordinates at the last DLONG of one section vs the first DLONG of the next section, noting that most gaps are from 1-20 500ths different, but a particular trouble spot was off by 620.
I ran this script on Surfers where I have heard multiple accounts of crashes near the pit exit (although I have not experienced this myself), and found something similar:
Sect DLONG Distance
0 0 5.302346315937229
1 2620068 1.0000025007337898
2 3262817 1025.1238664796206
3 3553662 2033.9019435262555
4 3914938 1.000007109874225
5 5485124 1.0000000064827383
6 7320824 1.000000861724935
...
I am not including the rest of the data but most of the gaps are less than 10. Obviously the transition between S1/S2 and S2/S3 stand out as having major gaps almost 100x normal. Could this be why the game crashes a lot near pit exit there?
The solution would involve doing the math to figure out the best fit curve and line segment that would connect to each other closer. Those of you with experience with SGE have probably observed that SGE has a way to connect segments that are slightly misaligned, usually by adjusting a line segment or radius. So I think I can try to write a script that goes through these problem spots and try to close the gap... and hopefully to do it in such a subtle way that we wouldn't have to recreate the 3DO file.
I ran this script on Surfers where I have heard multiple accounts of crashes near the pit exit (although I have not experienced this myself), and found something similar:
Sect DLONG Distance
0 0 5.302346315937229
1 2620068 1.0000025007337898
2 3262817 1025.1238664796206
3 3553662 2033.9019435262555
4 3914938 1.000007109874225
5 5485124 1.0000000064827383
6 7320824 1.000000861724935
...
I am not including the rest of the data but most of the gaps are less than 10. Obviously the transition between S1/S2 and S2/S3 stand out as having major gaps almost 100x normal. Could this be why the game crashes a lot near pit exit there?
The solution would involve doing the math to figure out the best fit curve and line segment that would connect to each other closer. Those of you with experience with SGE have probably observed that SGE has a way to connect segments that are slightly misaligned, usually by adjusting a line segment or radius. So I think I can try to write a script that goes through these problem spots and try to close the gap... and hopefully to do it in such a subtle way that we wouldn't have to recreate the 3DO file.