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
Virtual Machine (VM) is an important application that can works as a computer in any virtual environment. Explore and document some key attributes of a VM to be considered a
How many bits are there in the operation code, the register code part, and the address part and draw the instruction word format and indicate the number of bits in each part.
Determine the avant garde movements (3) you will be referencing. Research their characteristics and visual representation. Work outside the computer first quickly brainstormin
The leadership within that company has decided to pursue the idea of outsourcing a virtual desktop solution that would allow much more flexibility and secure desktop deliver
Suppose we have a video monitor with a display area that measures 12 inches across and 9.6 inches high if the resolutions in 1280 by 1024 and the aspect ratio is 1, what is th
Design and implementation of the simulation component. This will provide initialisation of the data structure and enable discrete updates (progression) of the model based on
Your task is to implement a variant of the classic bouncing ball animation. To give you an idea of what such an animation could look like we've enclosed a windows executable
What are the specific instructions that the director gives to the camera operator to perform each operation Make a list of eight shots in picture composition