Jump to content

View more

Image of the Day

「筋肉兄貴のスーパーラン!」
夕焼けにガラス・・・(´・ω・`)
ガラスは割りたいでしょうけど、割ったらクリアできないですよ。
(o・ω・o)
 #indiedev  #indiegame #screenshotsaturday https://t.co/fhKO5NJ5ee
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

Mipmaps

2: Adsense

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   

784
Like
0Likes
Like

Posted 19 January 2013 - 02:58 AM

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



#2 larspensjo   Members   

1561
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   

784
Like
0Likes
Like

Posted 19 January 2013 - 03:35 AM

ok thanks ;)



#4 TiagoCosta   Members   

3645
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.