View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005887 | The Dark Mod | Coding | public | 23.01.2022 12:24 | 16.02.2024 01:44 |
Reporter | stgatilov | Assigned To | stgatilov | ||
Priority | low | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 2.10 | ||||
Target Version | TDM 2.11 | Fixed in Version | TDM 2.11 | ||
Summary | 0005887: Raise trace model limits and optimize memory | ||||
Description | Trace models are limited in terms of size: // these are bit cache limits #define MAX_TRACEMODEL_VERTS 32 #define MAX_TRACEMODEL_EDGES 32 #define MAX_TRACEMODEL_POLYS 16 #define MAX_TRACEMODEL_POLYEDGES 16 There is request to increase these limits. For the first bump, try to double POLYS and EDGES. Also, it would be great to optimize memory layout: remove traceModelPoly_t::edges array, and store index in a global array without idTraceModel. | ||||
Additional Information | Originally discussed: https://forums.thedarkmod.com/index.php?/topic/21188-collision-mesh-limitations | ||||
Tags | No tags attached. | ||||
A bunch of commits here: r10141 Made idTraceModel memory more compact. r10142 Don't save trash contents of idTraceModel. r10143 Raised tracemodel limits: polys[16 -> 32], edges[32 -> 63], verts[32]. r10144 Simplify sign check (no branch). The model from the referenced thread loads fine, and even behaves properly. It would be great to check larger trace models as well... |
|
A bugfix followed: r10157 Fixed bug in idTraceModel::SetupCylinder, introduced during refactoring. |
|
A small bugfix in rev 10645 (most likely for 2.13). | |
Date Modified | Username | Field | Change |
---|---|---|---|
23.01.2022 12:24 | stgatilov | New Issue | |
26.10.2022 21:15 | stgatilov | Assigned To | => stgatilov |
26.10.2022 21:15 | stgatilov | Status | new => assigned |
26.10.2022 21:16 | stgatilov | Note Added: 0015364 | |
26.10.2022 21:16 | stgatilov | Status | assigned => resolved |
26.10.2022 21:16 | stgatilov | Resolution | open => fixed |
26.10.2022 21:16 | stgatilov | Fixed in Version | => TDM 2.11 |
13.11.2022 18:31 | stgatilov | Note Added: 0015418 | |
16.02.2024 01:44 | stgatilov | Note Added: 0016513 |