Game Development Community

TGE 1.5.1, textures, and Video card RAM

by Igor G · in Torque Game Engine · 04/23/2007 (9:44 am) · 3 replies

Hi,

Does TGE upload texture data into the video card's memory?
I was checking my video ram memory usage and it did not go up when I was in a mission with a ton of static DTS models, each having multiple textures. This leads me to conclude TGE OR openGL doesn't upload texture data into video RAM, and could lower performance on the client. Can anybody else confirm this? I'm a DirectX programmer, so when it comes to openGL, I don't know how it works, so I don't want to jump to conclusions about TGE.

Thanks.

#1
05/11/2007 (7:05 am)
Anybody have any ideas or confirmations about this?
#2
05/11/2007 (10:27 am)
How did you actually check it?

Some tools are great in getting VRAM on DX, but just return totally culprit data when they check for OpenGLs texture memory usage. Even if they return data it tends to be not correct as OpenGL has no "RAM side" as DX with its texture management, so you have to keep track of the usage yourself theoretically ... (or TGE in our case)
#3
05/11/2007 (11:16 am)
I've got an ATI card, so I'm using ATI Tray Tools, but Marc, you could be right - my card might not be reporting the texture memory usage by OpenGL. I'll have to take a look into that just to be sure.