View Issue Details

IDProjectCategoryView StatusLast Update
0000163DarkRadiantMap Editingpublic15.04.2007 16:03
Reportergreebo Assigned Togreebo  
Status closedResolutionfixed 
Product Version0.9.0 
Fixed in Version0.9.0 
Summary0000163: Patches with infinite vertex coordinates are saved without warning/correction.
DescriptionOriginal thread here:

Patches with invalid coordinates cause Doom3/DoomEdit to choke and should be corrected/avoided with some more or less intelligent algorithm.
TagsNo tags attached.




02.03.2007 18:36

developer   ~0000303

To elaborate on the required behaviour here:

1. The "infinity" representation should not be written to files, since Doom 3 cannot parse it. It should instead be converted to something useful and sensible, which could just be a very high number. Ideally, the infinities would not arise at all.
2. If the infinity representation is found in a file, the map file should still be loaded, either by handling it or just dropping the affected primitive. This would allow such maps to be loaded and corrected in DR even if DoomEdit created the original problem.


09.03.2007 22:38

administrator   ~0000372

Patch vertex coords are checked for isNaN before writing them to output stream. If float != float is found, the value 0 will be written to the outfile.

If a 1.#INF or -1.#INF is found during map load, the float is assigned +/- 65535. If none of these two is found and the string could not be parsed either, the value 0.0f is assigned.

Note: I couldn't actually check the patch vertex correction during map save, but it should work.

Issue History

Date Modified Username Field Change
28.02.2007 21:09 greebo New Issue
28.02.2007 21:10 greebo Status new => confirmed
02.03.2007 18:36 orbweaver Note Added: 0000303
09.03.2007 21:42 greebo Status confirmed => assigned
09.03.2007 21:42 greebo Assigned To => greebo
09.03.2007 22:38 greebo Status assigned => resolved
09.03.2007 22:38 greebo Fixed in Version => latest SVN
09.03.2007 22:38 greebo Resolution open => fixed
09.03.2007 22:38 greebo Note Added: 0000372
15.04.2007 16:03 greebo Status resolved => closed