Re: [Plib-users] How to run loader and render in separate threads?
Brought to you by:
sjbaker
From: Brian R H. <bh...@cs...> - 2003-02-21 19:15:59
|
>> My fundamental objective is to be able to use the time waiting for >> the glutSwapBuffers command to return. I can limit the use of this >> time to non-OpenGL and non-scene graph processing. > I guess I don't know enough at this low level to say if this time > slice is usable or not. Steve or others could probably say something > more informative. My gut feeling is that on modern hardware, the > graphics card would typically return control back to the app pretty > quickly. My experience is that in a single threaded application the time lost waiting for the next vertical refresh is huge. It would be nice to be able to load new models in another thread but I'm not willing to write my own loader so I'll live with limiting using ssgLoadXXX functions to the rendering thread... too bad because I want to load objects during run time without dropping my frame rate too much. Brian |