John22
10-20-2009, 06:03 PM
Hey All...i have a problem to program a code of 2 homework questions...i"am thanking every one helps me...
1'st question :>>
- develop a clock using OpenGl with the following spesifications:
- when the program is run the clock should be drawn inside the window and display the current time with the seconds indicator color changed randomly after each minute.
(the clock is analog)
and question 2 is: >>
- write a program that reads a set of vertices representing an object from a file, then draw the given object inside the window and consider the following :
* the program should exit if the user presses 'Q' key.
* the program should respond to the mouse ,that when the mouse over the object color should be changed .
* you need to create menu that contains the following operations(scaling,translation,rotation, and motion) and also attach all previous operation to the following keyboards keys (S,T,R, and M).
Thank you Very much
1'st question :>>
- develop a clock using OpenGl with the following spesifications:
- when the program is run the clock should be drawn inside the window and display the current time with the seconds indicator color changed randomly after each minute.
(the clock is analog)
and question 2 is: >>
- write a program that reads a set of vertices representing an object from a file, then draw the given object inside the window and consider the following :
* the program should exit if the user presses 'Q' key.
* the program should respond to the mouse ,that when the mouse over the object color should be changed .
* you need to create menu that contains the following operations(scaling,translation,rotation, and motion) and also attach all previous operation to the following keyboards keys (S,T,R, and M).
Thank you Very much