Zippo Lighter Model with Particle Fire Animation

Allan C. Park
CSC471 - Introduction to Computer Graphics
Dr. Zoe Wood
Spring 2009






- Renderings of the Zippo Lighter in Alias Maya



Description

The program renders a burning zippo lighter using a particle simulation. It uses texture mapping, normal shading, lighting, hierarchical modeling, and timing animations.

The zippo lighter was rendered using Alias Maya and exported as an OBJ file. The program has a parser which reads the modified OBJ. Currently, the program can only import faces and vertices; there is no support for shading, texturing, fur material, etc.


- The Zippo Lighter imported to OpenGL with primitive Texture mapping



Usage

1. Click the zippo model to ignite a spark. 2. After two tries, the lighter catches fire and starts burning. 3. Another click will extinguish the flame. 4. Repeat step 1 through 3 to enjoy another round.


- Iginition animation in motion.



Features

Click the right-mouse button to bring up a menu. You can either:



- Select a different flame color.



- Change rendering modes.



Resources

These pages helped me tremendously with the project.

Nehe's Particle Engine Tutorial
In Depth Discussion in Particle Theory from Gamasutra
Specifications on how Alias Maya exports its OBJ files.



Download

Extract all files into a directory and run the lighter executable.

Important: Compatible only with Linux machines!

Lighter.tar