WoW:BLP file: Difference between revisions

283 bytes added ,  30 May 2008
m
(Add cross reference to BLP Converters)
Line 42: Line 42:


DXT2 and DXT4 are identical to DXT3 and DXT5, respectively, save that pixel data winds up being premultiplied by alpha -- that is, each RGBA pixel is not represented by (r, g, b, a) but instead by (ar, ag, ab, a) where all values are normalised to lie between 0 and 1.  World of Warcraft does not use these formats.
DXT2 and DXT4 are identical to DXT3 and DXT5, respectively, save that pixel data winds up being premultiplied by alpha -- that is, each RGBA pixel is not represented by (r, g, b, a) but instead by (ar, ag, ab, a) where all values are normalised to lie between 0 and 1.  World of Warcraft does not use these formats.
=== Sample Files ===
{| class="darktable"
! File !! Encoding
|-
| GLUES\LoadingBar\Loading-BarGlow.blp || RAW
|-
| Icons\Trade_Alchemy.blp || DXT1
|-
| AuctionFrame\BuyoutIcon.blp || DXT1a
|-
| Icons\INV_Fishingpole_02.blp || DXT3
|-
| Icons\Ability_Rogue_Shadowstep.blp || DXT5
|}


=== Conversion Tools ===
=== Conversion Tools ===


There exist BLP tools to convert both from and to the BLP format.  They can be found in the UI Authors resource list:  http://www.wowwiki.com/UI_FAQ/AddOn_Author_Resources#Resources
There exist BLP tools to convert both from and to the BLP format.  They can be found in the UI Authors resource list:  http://www.wowwiki.com/UI_FAQ/AddOn_Author_Resources#Resources