I haven't really looked all that deep into B3D's documentation so I can't say for sure how its load functions are written, but to simplify the overall process it goes as follows (Ignoring data streams and low level shenanigans):Irontaco wrote:how does the game loads that stuff btw?
1: Retrieve file from storage
2: Parse File
3: Load parsed data into RAM or VRAM depending on what was parsed (Images depend on whether or not you need direct access to the image data)
4: Establish pointers/references to the previous data and store them in RAM.
Most people can figure out that loading data from a hard disk takes an enormous amount of time compared to loading from RAM (Even then, RAM is still slow when compared to registers in the CPU, but that's irrelevant). So when you're writing a game, there comes a point where you have to start worrying about balancing RAM usage and HDD reads or the OS Kernel will intervene; something you usually don't want happening.