الاحباب الكرام ارجو مساعدتي في حل هذا الواجب الكود بالاضافة للشرح..................... باعلى سرعة ممكن ......
المادة computer graphics
عنوان الدرس هو تطبيق لدريس handle events
باستخدام open GL
باستخدام Microsoft Visual C++ 2008 Express
Assignment
Design an application that allows user to draw an any object as follows:
Based on pressing ‘P’ or ‘p’ object rendered in a point mode.
Based on pressing ‘L’ or ‘l’ object rendered in a line mode.
Based on pressing ‘G’ or ‘g’ object rendered in a polygon mode.
use the arrow keys to translate the object in a relative direction (up, right, down, and left).
use the mouse button to activate a menu the include the following:
- Transformation
scaling
rotation
- Object color
sample colors
- Background color
sample color
- Quit (to end execution of the program)
الكود بالاضافة للشرح لانني اريد ان استفيد