PDA

View Full Version : I want to know when the scene drawing is completed.



08-31-2000, 09:18 PM
I must know when the scene drawing is completed.

Because after the drawing is completed,

I want to run glReadPixels.

Does it exist the flag that can check

whether the scene is completed ?

Plz Help me~~~~-

08-31-2000, 09:21 PM
I must know when the scene drawing is completed.
Because after the drawing is completed,

I want to run glReadPixels, rotate the model

and redraw...Do you understand my situation?

Does it exist the flag that can check

whether the scene is completed ?

Plz Help me~~~~-

08-31-2000, 10:10 PM
call glFinish()
this guarantees (I am pretty sure)
that all gl calls have finished

no flag (to my knowledge)

john
09-01-2000, 12:21 AM
glFinish() *blocks* until it's complete. hence, no need for a flag.

cheers,
John