+1-415-670-9189
info@expertsmind.com
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
 
Minimize


Ask Question & Get Answers from Experts
Browse some more (Computer Graphics) Materials
Create a program that bounces a blue ball inside a JPanel. The ball should start moving with a mousePressed event. When the ball hits the edge of the JPanel, it should bounce
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.
You should also rank document's relevance by number of times input keyword occurs in document. How to rank document's relevance by number of times input keyword occurs in docu
Develop a grayscale image consisting of an 8 x 8 grid with vertical line in the first column. Compress into JPEG format and decompress.
Write the GirlScout class assuming a girl scout object is described by two pieces of instance data:name of girl scout(a String) andboxesSold(an integer that represents the n
Suppose on RGB raster system is to be designed using a 8 inch by 10 inch screen with a resolution of 100 pixels per inch in each direction if we want to store 6 bits per pixel
Using BlueJ, Design and build aGraphical user interface for a text editor. Users should be able to enter text,edit, scroll, etc. Consider functions for formatting (font fa
COIS 4480H Assignment - Discuss and compare performance. Feel free to base this largely on any tutorials you find on the web, the goal here is for you to see the differences