Skip to main content
gamedev.net
🔒 Locked

blp format loading with dx

Started by ccanan Oct 1, 2006 at 8:06 PM 1 replies 600+ views
Original Post
ccanan
ccanan
I am trying to load blp file of world of warcraft. I do it in the following steps: 1:read in the header from blp file 2:read in the data from blp file according to the header 3:create texture according to the blp_header info 4:lock the texture--copy data into it--unlock. It works but I wonder if I am doing the effecient way? I wonder if D3DXCreateTextureFromFile work the same way: load data-->create texture-->copy data. thx in advanced.
Squirell
Squirell
The current way you are currently doing it is correct. However, rememeber that the textures from World of Warcraft are copyrighted and using them in your own game/project could get you in legal trouble.
ccanan
ccanan
thx a lot, just for practice!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.