★ TouchArcade needs your help. Click here to support us on Patreon.

Texture limits

03-22-2009, 04:07 AM
#1
Joined: Jan 2009
Posts: 1,553
Texture limits

I'm just trying to find out what the limits are on textures, I know (I think this is right) that the memory in one load can hold around 2 x 512x512 textures, or more files but smaller sizes, is this right?

Also is there a limit to how many images can be loaded? I don't want to make 12+ small texture files to find only 4 load at once.

Thanks in advance, google is not helping too well tonight.

3D modelling, design and sequential artist / GameCenter ID: Diab
03-22-2009, 05:01 AM
#2
Joined: Mar 2009
Posts: 22
I had more than 2 512x512 texture at the same time, hmmmmm I think it was at least 5 plus maybe 40 32x32-128x128. Low frame rate thought. This was with sio2 3d engine (http://www.sio2interactive.com/HOME/HOME.html)
03-22-2009, 05:15 AM
#3
The maximum size of a texture you can use in OpenGL ES is 1024x1024.

The number of textures you can load is limited by available memory, you should use less than 24mb.

See here for more info: http://developer.apple.com/iphone/li...08/tn2230.html

Didev Studios || Twitter || YouTube || Facebook
Releases
GeoSnake || Bugz || Review Scraper (Open Source)
03-22-2009, 05:24 AM
#4
Joined: Jan 2009
Posts: 1,553
Excellent, thanks both of you.

3D modelling, design and sequential artist / GameCenter ID: Diab