Search Projects

Tuesday, August 9, 2011

A mini-project : Random Flowing lines (qix like)

Random Flowing lines


Description: An example of a 'qix'-like line demo, but without the traditional erase lines, and with anti-aliased lines. Draws a simple screen saver with colored lines moving in random fashion. The flow of lines make it beautiful.

USAGES: Right click and choose 'Full screen
' to view screen saver in Full screen mode and to have normal viewing choose 'Normal screen'. No other interactions.
To quit the program press 'Escape'


Project Code: Download

Saturday, August 6, 2011

A Mini-Project developing Screen Saver Ship in OpenGL

Description: Draws a simple screen saver with ship floating in the water. The ship move forward and move backward as well. The water also stirs the ship. This is complex Program which used to open in full-screen mode automatically.


USAGES: Left click to move ship backward and right to move forward. To stir the water use the mouse. There is limitation in the moving ship, after sometime the screen became black as it cross the limit.
To quit the program press 'Escape'.


Project Code: Download



OpenGL project implementing the Graphics Editor (paint)



Description: Design and implementation of a simple Graphics Editor. This is paint like computer graphics with opengl which able to draw like paint in windows and save, as well as open the file. Simple drawing with set of colors and the brushes. This Program used many of the OpenGL functions.



USAGE:  Left Click to start and select the shape and draw with mouse.
                Increase/Decrease the pixel by right click and select appropriate option.
                To Exit, right click and select Quit.
                Open saved file and save new one with open and save button at above in menu.
                Clear the screen with clear in upper menu.
                Instruction is also displayed on the screen.


Project Code: Download Graphics Editor in OpenGL





Make the Moving Rings in OpenGL a smart Project



Description:  Program to demonstrate the movement of the rings. A small ring inside a another big ring both shows movement with fade out(which can be zoomed out too). This program demonstrate the use of lists and basic translation functions.  It also uses the basic material function for the touch in the look.

USAGES
:  Right click to see the different options listed below.


          Start over: Star from beginning with smaller ring fading out to bigger ring.
          Zoom out: To zoom out
         Stop rings: Stop the movement of rings
         Stop fade: Will stop fading
         Quit : Exit from program


Project Code: Download

Wednesday, August 3, 2011

Light Torus : Animating Lights over the objects


torus

Description: Program to demonstrate how to add lighting and material properties to a torus.This program extends the program Wrap Torus.  The triangles or quadrilaterals are wrapped around the torus in a single long strip.


USAGES: There are a number of keyboard commands that control the animation.  They must be typed into the graphics window, and are listed below

   CONTROLLING RESOLUTION OF THE TORUS MESH

     Press "W" to increase the number wraps.
     Press "w" to decrease the number wraps.
     Press "N" to increase the number of segments per wrap.
     Press "n" to decrease the number of segments per wrap.
     Press "q" to toggle between quadrangles and triangles.
   
   CONTROLLING THE ANIMATION:

     Press the "a" key to toggle the animation off and on.
     Press the "s" key to perform a single step of the animation.
     The left and right arrow keys controls the rate of rotation around the y-axis.
     The up and down arrow keys increase and decrease the rate of rotation around the x-axis.
     In order to reverse rotational direction you must zero or reset the torus ("0" or "r").
     Press the "r" key to reset the torus back to initial position, with no rotation.
     Press "0" (zero) to zero the rotation rates.

   CONTROLLING LIGHTS:


     Press '1' or '2' to toggle the first or second light off and on.
     Press 'f' to toggle between flat and smooth shading.
     Press 'l' to toggle local modes on and off (local viewer and positional light,or non-local viewer and directional light).

   COMMANDS SHOWING OPENGL FEATURES:


     Pressing "p" toggles between wireframe and polygon mode.
     Pressing "f" key toggles between flat and smooth shading.


Project Code: Download
Header File: Download