Jump to content

  • Log In with Google      Sign In   
  • Create Account


Mipmaps


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Aroidzap   Members   -  Reputation: 622

Like
0Likes
Like

Posted 19 January 2013 - 02:58 AM

Hi, what is typical number of mipmaps? (including base level)



Sponsor:

#2 larspensjo   Members   -  Reputation: 1526

Like
2Likes
Like

Posted 19 January 2013 - 03:08 AM

That depends on the size of the bitmap. If the size is 256x256, then you would typically get bitmaps for 128, 64, 32, 16, 8, 4, 2,  and 1 pixels.


Current project: Ephenation.
Sharing OpenGL experiences: http://ephenationopengl.blogspot.com/

#3 Aroidzap   Members   -  Reputation: 622

Like
0Likes
Like

Posted 19 January 2013 - 03:35 AM

ok thanks ;)



#4 TiagoCosta   Crossbones+   -  Reputation: 1912

Like
2Likes
Like

Posted 19 January 2013 - 06:55 AM

Basically:

 

log2(largetsMipSize)+1

 

log2(256) + 1 = 8 + 1 = 9


Edited by TiagoCosta, 19 January 2013 - 06:59 AM.

Tiago Costa
Aqua Engine - my DirectX 11 game "engine" - In development




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS