MAC0420, 1st semester, 2015 - Introduction to Computer Graphics, USP

What's This?

This repository contains demos of what i've been doing while studying for MAC0420. The following pages will only work on evergreen browsers (i highly recommend Firefox Nightly builds (v38+) as it uses ES6 without providing any kind of polyfill.

As this is an academic course on computer graphics, so, no libraries are going to be used; this is going to be pure webgl implementations (although i really recommend you to go with threejs if you want to go ahead and start doing some crazy 3d things).

All of the source code is open ,as you might expect. Don't forget to take a look at the source code of the demos, it is very well documentaded! Feel free to propose changes and ask anything; i'd love to have your contribution!

Demos

  1. Background Clearing
  2. Rotating Squares
  3. Approximations
  4. Triangles
  5. .OBJ Reader | ObjParser tests
  6. Textures
  7. Cubes

Resources

Tests

All of the non-trivial utilities used here are tested. You can see the results of the tests right on /tests. As you might expect, it'll only work on evergreen browsers that support ES6 and some ES7 features.