The first project in Advanced Graphics was to develope a ray tracer.
We also had to develop our own scene description language which would
be read by the program and generate the scene. The following are some
sample scenes generated by my ray tracer.
ColorTest1 - Demonstrates transparency,
color absorbtion and shadows.
ColorTest2 - Demonstrates multiple lights
of different color, color combination, and shadows.
Pencil Refraction - In this example
you can see Refraction, shadows, reflection, internal-reflection,
and colored objects.
Bedroom - This scene demonstrates different
object types, such as spheres and polygons. There is reflection,
refraction, shadows and more in this scene.
Bedroom (view 2) - This is a second view
of the bedroom closer to the globe on the desk. The globe is crystal
ball on top of a mirrored base.
For our final project in Advance Graphics, our group project was
to generate realistic looking fire in real-time. We each explored
different methods of fire generation and developed example programs.
The following are screneshots of the programs I developed and links
to download the executables. If you would like to see samples of
what the others in my group did, go
The following screneshots are from a 2D fire generating program.
The original code for the program was written by a member of my group,
Brent. I then modified it to explore a little bit different method
of generating the 2D fire. I also added a smoke effect and various
motion effects to the program.
Download the executable. (You can use the
comand line options 1-4 to view each 2D example. example: '2Dfire.exe 2')
Next I began to work on 3D fire. I decided to generate my own
particle system to use to create fire. The first version is a very
basic particle system.
The second version of the 3D particle system fire allows for forces
on the fire. The 'fire particles' can interact with 'force particles'
which creates a much more realistic looking effect. The fire is
generated by fire sources placed in the scene. This can allow for
an object of any shape to be set on fire.
Fire1 fast and spread, Fire2 slow - Demonstrates two fires at different speeds
and spreads, not influenced by forces.
Fire2 blown by Fire1 - Fire1 emits repulsion force particles
that have a blowing effect on Fire2.
Fire2 attracted to Fire1 - Fire1 emits attraction particles
which cause Fire1 to flair towards it.
2 Fires - Final demonstration of two fires which emit both
repulsion and attraction particles. This helps to create flairing
and turbulance effects.
Executable - This is the executable
to the fire displayed in the '2 Fires' screenshot above.
This page was last updated
Saturday, November 3, 2012.