OpenGL Project(GLUT, C/C++, Linux)

Simulated Flying Over Surface
A surface is generated using triangles and lines. The Y-value for each vertex is randomized. The camera can fly around with arrow keys(X and Z planes) and 'a' and 'z' for moving up and down(Y plane) respectively. While there are no collisions, the camera is restricted to movements within the boundaries of the generated surface (X and Z; unrestricted in Y).
OBJ Visualizer(bunny)
OBJ visualization program which creates a 3-D mesh of an object which is defined in an obj file. Arrow keys are used to move the camera around; 'w' key displays the objects as a wireframe mesh; 's' key displays the object as a solid body model. This program supports visualizations for objects with faces of order 3.
2-D Paint and Draw Program
This 2-D paint and draw program is capable of drawing filled and unfilled primitives such as rectangles and ellipses, lines and Bezier curves of different colors. The drawing menu is called with the left mouse button, while the coordinates for objects are set using the right mouse button(note: Bezier curve requires 4 coordinates to draw). The program can draw and keep on the screen up to 20 objects. If the number of the objects drawn exceeds 20, the "oldest" object will be replaced with a newly drawn one.

No comments:

Post a Comment