07-20-2012, 22:15
So yes hi people im having a trouble understanding the iwi header, I have one question, how I can know how many MIP maps there are in an IWI file?
I've seen a formula something like this:
MIPmap 1: Full file size
MIPmap 2: Full file size - height * width (next time we call height * width like 'n')
MIPmap 3: Size MIPmap 2- (n/4)
MIPmap 4: Size MIPmap 3 - ((n/4)/4)........
But I dont get the point of this, why do this? Thanks, and I found that formula here: http://www.callofduty.ru/wiki/%D0%A1%D1%...0%BB%D0%B0
I've seen a formula something like this:
MIPmap 1: Full file size
MIPmap 2: Full file size - height * width (next time we call height * width like 'n')
MIPmap 3: Size MIPmap 2- (n/4)
MIPmap 4: Size MIPmap 3 - ((n/4)/4)........
But I dont get the point of this, why do this? Thanks, and I found that formula here: http://www.callofduty.ru/wiki/%D0%A1%D1%...0%BB%D0%B0