garrysmod-issues icon indicating copy to clipboard operation
garrysmod-issues copied to clipboard

Some textures in Hammer Texture Browser are not displayed

Open stepa2 opened this issue 5 years ago • 5 comments

Details

Texture previews are not displayed for random textures (exact textures changes with reload) Co-exists with "corrupted" texture previews bug. When you scroll down and return back to previously unbugged textures, they may become bugged. Both square and non-square textures can be bugged.

Steps to reproduce

  1. Open Hammer
  2. Create/open any map
  3. Open texture browser
  4. Scroll down until you see black textures (usually up to dev\ folder)
  5. Texture is bugged if it is displayed correctly when placed into map but black in texture browser and white in texture application tool/textures toolbar

stepa2 avatar Jun 14 '20 13:06 stepa2

I image this is more of a problem on your end, than a problem (out of RAM problems, bad materials, etc) with Hammer itself. I couldn't reproduce this and this is the first time I hear of this issue.

Scrolling through the texture list shows RAM usage up to 1.8GB for me with certain materials.

As it stands right now, nothing I can do here.

robotboy655 avatar Jun 16 '20 13:06 robotboy655

I also notice this bug quite often, but I also cannot describe under what circumstances it occurs. Most of the time I noticed this on the nodraw texture, it just turned white or black in the texture browser.

MARK2580 avatar Nov 12 '20 14:11 MARK2580

More information: this bug reproduces on x86-64 branch, but not on dev branch

stepa2 avatar Jun 15 '21 12:06 stepa2

Error still happens on x86-64 on a different computer. изображение All the fully black materials should not be such.

stepa2 avatar Mar 11 '24 19:03 stepa2

I have narrowed it down to StretchDIBits failing (Windows API function) on x86-64, but I do not see any reason why it would be randomly failing for certain textures.

robotboy655 avatar Apr 24 '24 15:04 robotboy655