Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


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: 652

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: 1557

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: 652

Like
0Likes
Like

Posted 19 January 2013 - 03:35 AM

ok thanks ;)



#4 TiagoCosta   Crossbones+   -  Reputation: 2339

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.





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