View Issue Details

IDProjectCategoryView StatusLast Update
0005314The Dark ModGraphicspublic23.04.2021 06:55
Reporterwesp5 Assigned Tocabalistic  
PrioritynormalSeveritynormalReproducibilitysometimes
Status assignedResolutionopen 
Product VersionTDM 2.08 
Target VersionTDM 2.10 
Summary0005314: While loading a game there are weird texts or graphics displayed in the first second
DescriptionThe 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 ReproduceJust save and load a game.
TagsNo tags attached.

Relationships

related to 0004623 new Tweak the "Click when ready" screen rendered views order 
related to 0005595 assignedcabalistic Black screen temporarily shown while mission loading GUI is active 

Activities

stgatilov

stgatilov

05.12.2020 05:11

administrator   ~0013092

Last edited: 05.12.2020 05:12

View 2 revisions

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:
  wipeMaterial
  {
    {
       map _scratch
    }
  }
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.
nbohr1more

nbohr1more

05.12.2020 05:38

developer   ~0013093

May be related to 0004623

Issue History

Date Modified Username Field Change
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