The wrapper functions create the entity when finished.. though you of course don't have to use the la_ent_create but use la_checkFile.
This will not directly create the object but only load the file in a seperate thread.
Sids code uses all the performance the thread gives, therefore the loading process will ~ takes the same amount of performance compared to opening med with the same model in the background...
Imo the most probable way to achieve what heelx wants is to read the file in blocks (e.g. not more than 64kb), and sleep the thread afterwards for a predefined amount of time. This will slow down the loading process and should normally keep the framerate to a maximum.
Last edited by TechMuc; 05/21/11 10:31.