Open supertuxkart-sourceforge-migration opened 10 years ago
Author: hikerstk Works on Linux, but crashes on windows.
Author: hikerstk Some vertices appear to be way out, which then (I am guessing a bit) is causing rounding problems later on when quantising (sp?)
This particular mesh has no texture attached, so I can't easily tell which mesh it is (from the .b3d files).
It's a mesh that has 562 vertices, and 834 indices (so 278 triangles). The first three vertices are at: 208.00423, 37.910168, 45.645103 (#0) 207.95564, 32.594353, 45.869049 (#1) 208.12427, 32.594353, 45.858242 (#2) ... The problem then starts at vertex 483 (when counting from 0): 66666628, -12.345046, 55.610699 (#482) 66666628, -12.345046, 55.636639 (#483) ... 66666628, -12.345046, 56.017330 (#497)
before the values become more reasonable again. When those large values are converted to an integer index, and then converted back, floating point errors causes this value to become 66666660, which is larger than the original value, triggering an assertion.
There is nothing we can do about this in STK (short of using double instead of float). Could you check if you can identify this mesh, and fix the model (e.g. removing this mesh, or at least the large vertices), or declaring this to be not exported in the track exporter.
I am leaving this ticket open for now, till it was confirmed that this issue is fixed by a change of the model (it might be an exporter issue).
We could potentially add some debug code to print information if 'too large' coordinates are being used ... if we define what 'too large' is ;)
Cheers, Joerg
Author: hikerstk Postponed till 0.8, since we had no update, and this is not a release blocker for 0.7.3.
Author: magned Just wanna say I have an assertion in Bullet as well with this track, but this is on 64-bit Arch Linux.
(We can't have fewer segfaults than Windows; that'd make us use a worse OS ;) )
Author: hikerstk No update for over one year, so I'll close this ticket for now. Please reopen if this should still be an issue.
Author: auria
The China track posted on the forum crashes :
See http://forum.freegamedev.net/viewtopic.php?f=18&t=2016&sid=1f206b7f0f08d29c66e0ca19c5b6ddc8
Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/442