Create a simple warm-up program using your g3d
Course:- Computer Graphics
Reference No.:- EM13247

Assignment Help
Expertsmind Rated 4.9 / 5 based on 47215 reviews.
Review Site
Assignment Help >> Computer Graphics

Create a simple warm-up program using your G3D programming and graphics environment. This will require you to minorly edit and then compile a provided G3D application that mostly makes direct calls to OpenGL. It is to your benefit to organize your programming environment as you see fit.

Your job is to implement a program which draws a simple 2D screen saver like program. The "screen-saver" consists of two points bouncing within the confines of the window (i.e., within a rectangle) and one line being drawn between the points. To draw the line, simply draw the line using OpenGL line drawing primitives (e.g., use glBegin(GL_LINES), glVertex2f(x,y), and glEnd(). You may perform all computations in 2D, thus you do not need a perspective projection matrix. The points should start at a random position and move with a random (but reasonable) velocity vector. The points should reflect off the edge of the window and continue moving for about 10 seconds.

Put your comment

Ask Question & Get Answers from Experts
Browse some more (Computer Graphics) Materials
The Hot Tubs tab will allow for round and oval tubs volumes to be calculated as in the Pools. The Temp Calc will allow the user to enter a temperature with a drop box to cho
Discuss the different types of storage available for a computer system? Regardless of the type of storage used through your computer systems, why would you want to back it up?
Develop a simulation of an elevator - devise and implement a second strategy - Develop a simulation of an elevator that travels between floors 1 and N where N is an input.
Determine the avant garde movements (3) you will be referencing. Research their characteristics and visual representation. Work outside the computer first quickly brainstormin
If it matches, the program should report success and end; otherwise the program should report that the code entered is incorrect, and then start over from the beginning.
Draw a custom two-dimensional graphics (artwork) of your own choices by combining at least four Shape classes and neatly organizing them in any layout container. Paint and t
configuration of an Iterator pattern, patterns could be used in a Library System, Singleton, Template, Decorator, Fa├žade,What does Alexander means by the following declaration
Computer control (simple AI) of the enemies. The enemies should be abundant enough to challenge the player but not be impossible to beat. (GUI, Functionality), Random place