Thyme
Thyme copied to clipboard
Texture loading happens with a delay
Issue explanation
Viewed in the WIP W3D viewer but since it uses game code to draw everything issue is likely in game code.
Screenshot(s) or video
https://user-images.githubusercontent.com/1433426/162191296-89049100-261c-44fe-b9b0-139fa162ee89.mp4
This blink from pink to textured happens as well if
- you minimize and maximize the window
- or just tab to another window and tab out
https://user-images.githubusercontent.com/4471249/192097225-05d1db1f-c643-472c-8b6c-c3c1f88de049.mp4 This is a video taken from the Renegade stock w3d viewer of a w3d file with a bunch of meshes and textures. https://user-images.githubusercontent.com/4471249/192097293-f4ec8151-a4f2-4cc7-9a38-e45123df692d.mp4 This is a video taken from our w3d viewer of the exact same w3d file.
As you can see, in both the stock viewer and our viewer there is a brief flash of "missing texture" before the actual textures draw. What our viewer is doing is therefore a match to what the Renegade w3dviewer is doing. Given this and given that we don't see any flashes of missing texture in-game, I think we should label this bug as "vanilla-bug" and move on.