Game Development Community

Memory limitations (bug?)

by Nick Sinnott · in Torque Game Builder · 05/30/2007 (5:44 pm) · 3 replies

Should the Mac TGB 1.5b be slowing to a halt (~3fps) and / or crashing with 24 1024x1024 static sprites in the scene?

I only ask because the file sizes on the original images (PNGs w/alpha) are only 80-300kb... so technically it shouldn't be using more than 7mb of memory to display them, right?

NS

#1
05/30/2007 (5:52 pm)
File size has no relation to amount of memory needed for rendering. 24 1024x1024 static sprites require 96 MB of VRAM, and system memory. So, slowing to a halt is quite probable.
#2
05/30/2007 (9:02 pm)
Looks like I'll have to scale the source images down a bit. Thanks!
#3
05/31/2007 (11:20 am)
As well such sprite sizes will most likely lead to overdraw which will bring low bandwidth hardware (like the one in old mac or mac books) to halt even due to that not only due to the VRAM need. (although, the old macs have 32MB VRAM cards so they definitely will die with this amount of VRAM required)