This might sound 'stupid', but I'm thinking about a way how I can update a progress bar when loading 3d models and textures (in my engine).
The problem is that my loading function for meshes and textures is a member of a different class then my renderer. I thought about splitting the loading function up into for example 5 iterations and then update the progress, but if for example I have 1 big mesh which takes long to load and 10 others which are loaded quite fast, the progress bar seems useless.
How would you handle this?
My goal is that I print for example a '*' or a '.' in my console (d3dxfont) each 3 seconds, parallel when my loading function for the 3d scene is executed
(Ps.; I'm not using multithreading, other then 'automatically')
Edited by cozzie, 01 March 2014 - 10:53 AM.