BMAPs and memory

Posted By: capanno

BMAPs and memory - 09/08/05 18:11

Hi,

While running a test level with the stats screen (fps, memory usage etc.) I noticed that a bmap only uses memory the moment it turn visible on the screen. The way I had it, is that all the bmaps are loaded into memory at startup. Is this memory-counter I see video memory, and does the engine move the bmap from sys memory to video memory when its .visible flag is set to on, or what?

Thanx

cap
Posted By: BlastMan

Re: BMAPs and memory - 09/08/05 20:44

Normally, with DirectX (on so 3DGS), each graphic file (like tex, bmap, object) is loaded TWICE : once on the system memory (RAM), and once on the graphic memory.

PS : Maybe the stat you had seen shows DISPLAYED objects only
Posted By: capanno

Re: BMAPs and memory - 09/19/05 14:51

Can someone from Conitec help?
Posted By: mk_1

Re: BMAPs and memory - 09/22/05 10:15

you can preload your images: bmap_preload(...)
Posted By: Lion_Ts

Re: BMAPs and memory - 09/22/05 10:32

Quote:


Hi,
... and does the engine move the bmap from sys memory to video memory when its .visible flag is set to on, or what?...




Bmap (texture) moved to videomem, when it visible in the camera view. And yes, it can be preloaded for no delay, when it visible on screen for first time.
© 2023 lite-C Forums