Hierarchical Cell-Shaded Model
Author: Jimson Xu
For my final project in CSC471, I chose to create a cell-shaded hierarchical. model, specifically to model a cartoon character named Luffy. Cell-shading is essentially a form of cartoon rendering, where the shading is done very distinctly.

All of Luffy's limbs can be rotated about the Z axis using the keyboard (the README has details on which keys). The light source can also be move about using the arrow and page keys, as shown in the picture to the right.

The program also comes with a few animations built-in.
There are still a lot of things that could be done with this program. First off, the outlining isn't quite correct, it is actually hacked to appear right at this camera angle. It is also the reason why I don't allow rotation of any sort, otherwise it would reveal the blatant hack -- not to mention looking ugly. Also, the only 3d shape used is a sphere. This is because I could not figure out how to create other shapes in time. I already spent a large portion of my time getting a sphere to work... I would like to at least create a hemisphere to create a hat for Luffy. Lastly, the animations could use some work. I was more focused on cell-shading in this project and less focused on the animations. Luffy could be a lot more lively...

Below are the resources I used to help me create my program:

Cell Shading Tutorial - contains source code that I adapted

A forum with a lot of stuff...was where I stole the drawSphere code - just search for drawSphere, the first hit should be it.


And here is the program in its windows executable and source code form:

Source

Windows Executable