# CS348b final project

#### Matt Ginzton and Jeremy Ginsberg

For background information regarding this class and what it's about, what we were supposed to be doing and why we worked so hard... visit the class page.

Here is our README file describing what we implemented and how we implemented it.

Finally, here are our final images (and one animation) that you can view:

• backlit-die -- A simple image of the die demonstrating the refraction effects you see (easily verified with a real die) when it's backlit.  Look at the bright lines, inside the dark edges, inside the bright cube in the middle.  This is one of my (Matt's) favorite effects.  While this required no special handlng in our raytracer -- it's just  refraction and reflection -- it does show that  we modelled the die accurately.
• bigdiecards -- A closeup of the die, through which can be seen  two cards -- neat refraction effects around the rounded edges of the die
• dieclose -- A closeup of the die alone, clearly showing the CSG pips, rounded edges and corners, smooth shading across CSG primitives, and multiple images of the back sides of the pips reflected around the inside of the die
• diegood -- Smaller version of dieclose.ppm
• houseofcards -- One of our two real compositions, showing seven  cards piled atop each other.  Being one of our real compositions, we actually paid attention  to lighting, so you can see the machine marks on some of the cards.  Have fun analyzing the scene trying to figure out where Jeremy placed lights and (off-camera) occluding planes to create the shadows you see.
• jack-die -- A could-be would-be royal flush in spades, with a die sitting handily nearby.
• spread -- Our other real composition, with several cards spread out in a semicircle; at the middle, laying on a facedown card, are two dice.  The upper one is cunningly balanced by its corner in one of the pips of the lower one.  Don't try this at home.
• twocards -- Just two cards, one over the other, but the machine marks and their effect on specularity are clearly visible
• bendcard.mov (submitted via ftp) -- an animation featuring a card bending and generally getting beat up over time