View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005314||The Dark Mod||Graphics||public||30.07.2020 18:52||23.04.2021 06:55|
|Product Version||TDM 2.08|
|Target Version||TDM 2.10|
|Summary||0005314: While loading a game there are weird texts or graphics displayed in the first second|
|Description||The summary says it all, I would guess the screen replays a cache of some earlier readable or similar. Again this could probably be hidden by setting everything to be completely black while loading.|
|Steps To Reproduce||Just save and load a game.|
|Tags||No tags attached.|
Another problem is that player can run around for some more time after triggering load. With increased speed =)
I bumped into some code which is intended to freeze picture during map change or load process.
The entry point is idSessionLocal::StartWipe.
Basically, the current frame is captured to "_scratch" internal image.
Then the full-screen quad with material "wipeMaterial" is drawn on top of the window (idSessionLocal::DrawWipeModel).
Obviously, the material gets time parameter and can even do some fading (probably was used in Doom 3).
Right now the wipe material is simply missing, that's why player view continues to be shown.
In order to restore it, add this material to tdm_internal_engine.mtr:
Unfortunately, it gets upside-down for some reason.
I guess some magic line about texcoords can fix it.
The reason for removal was probably "optimization" =(
When wipe starts, the whole game is paused for com_wipeSeconds = 1 seconds, after which the loading actually starts.
The wipe material remains until loading ends.
I think this pause time was used to fade from screenshot into load image in Doom 3.
Anyway, instead of removing the material, better set com_wipeSeconds to something like 0.1.
Unfortunately, wipe material is not enough to restore clean visual behavior of game load.
Some random pictures popup at the moment I hit "quickload" key.
I hope Cabalistic can look into it at some moment.
|May be related to 0004623|
|30.07.2020 18:52||wesp5||New Issue|
|05.12.2020 05:11||stgatilov||Note Added: 0013092|
|05.12.2020 05:12||stgatilov||Note Edited: 0013092||View Revisions|
|05.12.2020 05:13||stgatilov||Assigned To||=> cabalistic|
|05.12.2020 05:13||stgatilov||Status||new => assigned|
|05.12.2020 05:13||stgatilov||Product Version||=> TDM 2.08|
|05.12.2020 05:13||stgatilov||Target Version||=> TDM 2.10|
|05.12.2020 05:37||nbohr1more||Relationship added||related to 0004623|
|05.12.2020 05:38||nbohr1more||Note Added: 0013093|
|23.04.2021 06:55||stgatilov||Relationship added||related to 0005595|