Hi C Programming!


For my degree I have to :

"Create an interactive 2D scene based on your fave film or game"

- so far I've followed the OpenGL robot arm tut, and made it look like Luxo Jr, the user can turn the lamp on or off (yellow trapeze appears lol)

I'd now like to add a ball, ane be able to knock the ball around with the lamp.

For this I need to apply bounding boxes to my robot arm (Drawn heirarchically)..

So whats the best way of doing this? I guess I need OBB's, but I'd like to create them as I draw them.. is this possible?

Any helpful links or pointers in the right direcion would be really appreciated, its due in a few weeks!

Thanks in advance.