View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005716 | The Dark Mod | Coding | public | 18.08.2021 10:59 | 30.01.2022 20:57 |
Reporter | stgatilov | Assigned To | stgatilov | ||
Priority | normal | Severity | normal | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 2.09 | ||||
Target Version | TDM 2.10 | Fixed in Version | TDM 2.10 | ||
Summary | 0005716: Implement RGTC compressor | ||||
Description | It seems that some driver implementations ot RGBA8 -> RGTC are slow. In case of Intel, it is even buggy (well, bug happens after doing glGenerateMipmap on RGTC-compressed texture). One way to avoid converting all normal maps into precompressed RGTC DDS files is to implement fast software compressor. | ||||
Additional Information | Original discussion: https://forums.thedarkmod.com/index.php?/topic/20115-convert-normal-maps-to-rgtc/&do=findComment&comment=463962 | ||||
Tags | No tags attached. | ||||
Committed the code for software mipmap generation and RGTC compression, enabled by default: r9558. Function R_MipMap is accelerated by SSE2. r9560. Refactoring idImage: cpuData now contains only RGBA8 data, compressed texture is stored in new compressedData member. r9561. Added CompressRGTCFromRGBA8 method to idSIMD. r9562. Added R_HandleImageCompression function which does RGTC compression to normal maps. This requires a bit of refactoring (r9560), so that we could compress on worked thread, and upload that data on OpenGL thread. |
|
One more fix: r9578. Fixed out-of-bounds access in ConvertTargaRowToRGBA8. for this issue: https://forums.thedarkmod.com/index.php?/topic/21073-a-house-of-locked-secrets-crashes-tdm-on-startup/&do=findComment&comment=464675 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
18.08.2021 10:59 | stgatilov | New Issue | |
18.08.2021 10:59 | stgatilov | Status | new => assigned |
18.08.2021 10:59 | stgatilov | Assigned To | => stgatilov |
18.08.2021 10:59 | stgatilov | Relationship added | related to 0004364 |
18.08.2021 16:06 | nbohr1more | Relationship added | related to 0004401 |
19.08.2021 06:55 | stgatilov | Note Added: 0014304 | |
19.08.2021 06:55 | stgatilov | Status | assigned => feedback |
28.08.2021 16:57 | stgatilov | Note Added: 0014319 | |
30.01.2022 20:57 | nbohr1more | Status | feedback => resolved |
30.01.2022 20:57 | nbohr1more | Resolution | open => fixed |
30.01.2022 20:57 | nbohr1more | Fixed in Version | => TDM 2.10 |