Reputation: 1116
I have a routine which adds a few hundred (mainly TGLextrusionsolid) objects into the scene.
The routine loads all the objects into GLscene with no problems in a few milliseconds but after exiting the loading code and allowing entry back into the main processing loop the program hangs for several seconds.
I presume this is caused by GLscene building the scene in its internal routines.
Once the scene appears on the screen after a few seconds, everything is fine, it can be rotated and zoomed at full speed.
Is this long delay between loading the objects and the scene apearing on screen normal?
Is there any way to stop it hanging the main thread whilst its doing its stuff?
Upvotes: 1
Views: 238