This first lab was something like a big mountain for me to climb because I have no programming experience in OpenGL even though it was just C++. So, part of the time I was trying to conquer the difficulty of being unable to write a decent program. Oh well...it was an interesting venture though and it really felt like a million bucks when you actually your program and it works!
The task is for you to write a program called bounce that allows the user to induce circles into the console by clicking with the mouse inside the console. With the operation console, there should be another console that displays some information about the program and that indicates if the maximum number of circles has been reached. In addition, the circles shoud be able to bounce off the sides of the operation window even when the window has been shrunk, all the circles should be conpletely visible and none should be hidden. When the window has been enlarged, the circles should take up the newly given space and contiue with the bounce. The picture below would elaborate further and the next post contains the complete source code for the program that has bouncing fans. So, you would have to attempt at bounding circles.

No comments:
Post a Comment