sorairo
10-28-2008, 08:44 PM
Hi,
I want to ask if anyone know if it's possible in OpenGL to have a shape (e.g Square) show up for a certain time period (e.g. 1 sec) then disappear, and then another shape (e.g Circle) will show up for a certain time period (e.g. 2 secs) before it disappear? And if so, what steps or code that I need to include for that to happen?
Right now, all I can get to display so far is the shapes that display together at the same time (overlapping each other). And when I used glClear in a loop only the last shape appeared.
I am learning OpenGL by myself and have been struggling at this problem for quite a while now. Also, I have been searching everywhere, and I haven't able to find what I wanted. So any help will be greatly appreciated.
Thank you in advance.
I want to ask if anyone know if it's possible in OpenGL to have a shape (e.g Square) show up for a certain time period (e.g. 1 sec) then disappear, and then another shape (e.g Circle) will show up for a certain time period (e.g. 2 secs) before it disappear? And if so, what steps or code that I need to include for that to happen?
Right now, all I can get to display so far is the shapes that display together at the same time (overlapping each other). And when I used glClear in a loop only the last shape appeared.
I am learning OpenGL by myself and have been struggling at this problem for quite a while now. Also, I have been searching everywhere, and I haven't able to find what I wanted. So any help will be greatly appreciated.
Thank you in advance.