PDA

View Full Version : Need Help ...HomeWork ...Programming In OpenGl



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

API
10-21-2009, 01:04 AM
As others said you in the advanced forum: please make specific questions. You have just past here the wording of your homework, but not a specific question about any OpenGL issue related to that (and no details about the programming language or the platform, by the way).

If you basically have problems just starting to configure the OpenGL environment, or to start to write the OpenGL commands, take a look to the Nehe tutorial:

http://nehe.gamedev.net/lesson.asp?index=01

Jan
10-21-2009, 02:00 AM
Nobody will do your homework for you. Stop wasting our time.

John22
10-21-2009, 02:25 AM
i just did'nt learn OpenGl ... This Is C++ HomeWork..And the teacher told us this opengl homework .. i know it too long but if anyone can help me i"ll thank him alot :S:S ..

FaceLess_
11-08-2009, 04:43 PM
hey John22 , we have the same homework so if u interest to share help contact me on my mail :
wqf@hotmail.co.uk :)

Dark Photon
11-08-2009, 05:50 PM
Hey All...i have a problem to program a code of 2 homework questions...

- develop a clock using OpenGl with the following spesifications:
- write a program that reads a set of vertices representing an object from a file, then draw the given object inside the window
So what's your question?

Read Jan's post, then give it a go.

Then, if you have "specific" questions about OpenGL, ask.

wa3d hassan
12-03-2009, 10:29 AM
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).
help me plz at a s a p...

David22
12-04-2009, 08:03 AM
hey john ... i solved this problems if u need help...add me ..

police-relax2hotmail.com

David22
12-04-2009, 08:04 AM
police-relax@hotmail.com