Wasted Video Memory
by Paul Z · in Torque Game Builder · 03/17/2005 (8:22 am) · 3 replies
Folks,
For a game prototype, I drew a bunch of boxes (using MS Paint), saving them as .PNG files.
When using them in T2D, I get the following console message:
fxImageMapDatablock2D(T2D/client/images/ball) - Non POT bitmap loaded wasting approx -9588 bytes of video ram!
Any comments/explanations/fix suggestions?
Thanks, Paul Z.
For a game prototype, I drew a bunch of boxes (using MS Paint), saving them as .PNG files.
When using them in T2D, I get the following console message:
fxImageMapDatablock2D(T2D/client/images/ball) - Non POT bitmap loaded wasting approx -9588 bytes of video ram!
Any comments/explanations/fix suggestions?
Thanks, Paul Z.
About the author
#2
If not, just ignore it. :)
- Melv.
03/17/2005 (8:46 am)
It's just there to let you know how much memory was needed to turn the image into a compatible POT texture for display. Unfortunately, there was a silly bug that caused the amount to be displayed incorrectly as you can see. This is only a problem if you're targetting a minimum video memory and need to see how much excess is used making stuff POT.If not, just ignore it. :)
- Melv.
#3
Thank you for the explanation. I should have thought of that... Anyway, the art was just for testing purposes, and I will rework it to be POT compatible in something more appropriate than MS Paint.
Thanks, Paul Z.
03/18/2005 (5:51 am)
LoTekK, Melv,Thank you for the explanation. I should have thought of that... Anyway, the art was just for testing purposes, and I will rework it to be POT compatible in something more appropriate than MS Paint.
Thanks, Paul Z.
Torque Owner Teck Lee Tan
From what I understand, if you load up a non-POT image into T2D, it simply bums up the size of the image (like increasing the canvas size in Photoshop), efectively using more video memory than the image would normally require.