Skip to content

Shreyasi2002/Computer-Graphics

Repository files navigation

Computer-Graphics

Assignments for the course - CS360 (Computer Graphics), IIT Kanpur

Assignment 1

A 2D animated scene using only three basic shapes: square, triangle, and circle. Applying appropriate affine transformations to translate, rotate, and scale the shapes as needed with animation ...

2D Scene

Assignment 2

Three different shading algorithms:

  • Flat (per-face) shading,
  • Gouraud (per-vertex) shading, and
  • Phong (per-fragment) shading.
One canvas divided into three viewports, as shown below. Each viewport will have its own objects and will allow exclusive interaction using a mouse, i.e., when you are interacting with objects in one viewport, the objects in the other two viewports should stay as it is

Shading

Assignment 3

A 3D animated scene that will showcase 3D texture mapping on objects and cubemap environment reflection mapping on a teapot. A skybox to give context to the objects in the scene

Reflection

Assignment 4

An image processing application in GLSL shader. Load textures from the disk and process the pixel values to apply various types of simple image processing effects and then render the result on a square object using texture mapping.

  • Please download the code and run this application locally.
  • Keep the foreground and background images in the `sample_Textures` folder.
  • Image-processor

    Assignment 5

    A ray tracer in GLSL shader containing spheres for simplicity. Implementing ray-traced shadow and reflection. For reflection, perform multiple levels of reflection, by allowing multiple bounces of the reflected ray.

    Ray-tracer

    About

    Assignments for the course - CS360 (Computer Graphics), IIT Kanpur

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published