View Full Version : Door animation

04-27-2016, 11:27 AM

I am still beginner in OpenGL ....and I designed a house of two rooms with a separating wall and a door.

I just want to press (Space) to open the door and press (Space) to close it.

any help?

04-28-2016, 02:12 AM
I am a beginner and I designed two rooms with a door between them.

But I can not animate it.

I want to press space to open and space to close .

Any help will be appreciated .

Thanks in advance.

04-28-2016, 02:55 AM
This is a duplicate of your previous post. Asking it again won't make it more likely to be answered.

What have you tried (http://mattgemmell.com/what-have-you-tried/)?

04-28-2016, 03:53 AM
Sorry for this

You can consider that I haven't tried as my knowledge is limited in this part

But I think double buffer would be helpful

04-28-2016, 05:25 AM
mhagain - Just wanted to let you know that even if the OP evidently didn't read it, I did, and I enjoyed it.

Wasted effort as far as the OP goes, but that probably wasn't entirely unexpected, huh?


04-30-2016, 07:54 PM
... I can not animate it. Break it down into small steps. Forget about the animation at first. Can you generate the same scene with the door opened 30 degs? That would be a big step towards your goal.