/Project4-IntroGLSL

Image Processing/Vertex Shading using GLSL

Primary LanguageC


CIS565: Project 4: Image Processing/Vertex Shading

Fall 2012

Due Friday 11/09/2012

A brief description

The goal of this project is to implement a couple of image processing algorithms and wave effects by using GLSL(OpenGL Shading Language).


PART 1: Image Processing

  • Basic
  • Image negative
  • Gaussian blur
  • Grayscale
  • Edge Detection
  • Toon shading
  • Additional
  • Brightness

Example brightness filter

  • Night Vision

Example night vision filter

  • Pixelization

Example pixelization filter


PART 2: Vertex Shading

  • Basic
  • A sin-wave based vertex shader:
  • A simplex noise based vertex shader:
  • Additional
  • A sin-wave varying on the radius from the center

What it does: generate a sine wave based on the radius from the center

How it works: compute the radius from the center(0.5, 0.5) for each vertex and compute the hight by passing this radius to sine function.

Example radial sine


How to build

I developed the part1 on Visual Studio 2010. Its solution file is located in "part1/ImageProcessing/ImageProcessing.sln". You should be able to build it without modification.

For part2, just open html files on the latest web browsers.