3D OpenGL Programming

  • Helpful list of OpenGL Online resources
  • Lg++ script (C++) (don't forget to "chmod 755 Lg++" to make this executable)
  • Lgcc script (C) (don't forget to "chmod 755 Lgcc" to make this executable)
  • MPI script for GLUT (C) (don't forget to "chmod 755 Lgcc" to make this executable)
    1. 3D images in OpenGL

    2. Project: Robot Program and Make a Movie (short) - Exercise in Transformations:
      You design the next Toy Story!
      • Translations, Rotations, Scalings
      • Construct-a-Robot/Transformer (or similar figure)
        that has individually moving parts
        • Basic design:
          • Torso - connects to Head, Left and Right Upper arms, Left and Right Upper Legs
          • Left and Right Upper Arms - connect to Left and Right Lower Arms
          • Left and Right Lower Legs - connect to Left and Right Lower Legs
      • Download robot1.c starter program.
        • Middle mouse button ("both buttons" for 2-button mice): menu
        • Left button: positive rotations
        • Right button: negative rotations
      • Download cylinder.c starter program.
        • Draws a 5-sided "cylinder" + a triangle
        • Translated 2 units along the z axis
        • Use left and right buttons to rotate the cylinder
      • NOTE: You can also construct another 3D object such as a
        car, tank, pool table with pool balls, or some other shape
        with movable parts
        YOU CAN BE CREATIVE

      Link to your "Movie" Project website:
      • __ Screenshots of program in action
      • __ Description of details of your program. What are the different
        parts of the "robot" that you translated/rotated/scaled?
      • __ COMMENTED program code (.txt version for easy web access)