• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Blue Boxes!

Status
Not open for further replies.
Level 11
Joined
Aug 16, 2007
Messages
847
I am trying to use images in some custom UI for different parts of a couple maps. But for some reason some of the images keep appearing as light blue boxes instead of what they should be.
  • I cannot perceive any pattern to why some do this and why some don't
  • The same images consistently appear blue over multiple tests.
  • This occurs regardless of whether the image is being references directly or through a variable.
  • All the files where this has occurred have been .dds, I have made no tests with .tga


If anyone knows what might cause this or has any ideas on how to fix it I would greatly appreciate it (And of course rep).
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
Its cause dds probably uses jpeg compression. Especially if it is jpeg 1 compression it breaks it down into blocks of 8*8 for encoding. Although jpeg is designed to be able to handle this with varying degrees of sucess, it sounds like eithor the converter you used is crap (seriously messes up with non multiple of 8 demensions) or that blizzards decoder is fussy and is designed to reject loading any non multiple of 8 image even if the file is a valid jpeg.

To me, this reaks of the converter you used being badly made.
Even WC3 lacked good converters, as virtually none supported palleted blps.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
Well in that case it is probably a SC2 texture mapping bug. It loads them fine (why previews work) but when it trys to map them to textures it fails due to the odd size of them. Basically the previews are probably not D3D accelerated while ingame the interface should be, and the glitch occurs when mapping an odd dementioned image into textures.
 
Status
Not open for further replies.
Top