Game Development Community

Exported diff crash on collision

by Kirk Longendyke · in Constructor · 04/09/2007 (6:46 pm) · 3 replies

Combined the codebase from the tgea 1.01 into our current project, exported a simple box as legacy tgea diff. renders just fine, however multiple runs of the same test result in a ctd at

mPlane.h
inline void PlaneF::set( const Point3F& k, const Point3F& j, const Point3F& l )
F32 ax = k.x-j.x;

have already done up a code-comparrison, and theres nothing touching on either interiors, or collisions, except:

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12174

and that's from ben himself, so i should definately think there's nothing wrong with that end... anyone having a similar problem?

edit: should also note that there's quite a few diffs already in place that were using atm that don't have this issue, so i'm hoping i'm just missing a switch here for a pre-export step...

#1
04/09/2007 (7:09 pm)
Is this on *every* DIF you export...even simple cubes?

Have you inverted the brushes causing the crash (ie scaled it through itself)?

Can you provide me with a test scene?
#2
04/09/2007 (7:56 pm)
Files sent. as to inversion, looking through the .map file, everything *seems* to be in order in terms of going from positive to negateve values, if thats what you mean...
#3
04/10/2007 (8:03 pm)
Update for ya chief: on a hunch, went ahead and tossed the map file into the map2dif.exe that comes with the 1.01 sdk, and lo and behold the thing spat out a 8.86 KB (9,073 bytes) functional diff, as oposed to the 7.30 KB (7,482 bytes) version the constructor tossed out... guess i'll start linktracing the script files, see if it's somehow refferencing one of the version backups I keep arround for update porting...