CS6620 Assignment2

From Dangerski

Jump to: navigation, search

Contents

[edit] Ray Tracing Assignment 2

Extend the Ray Tracer to support new materials: Phong, Metal, Dielectrics.

Reference Image reproduced using my Ray Tracer: Image:prog02.png


Source Code for project 2

[edit] Creative Images

The first 3 images are just to show a bunch of random materials that are possible. The red block in the background is just so you can see something through the glass.

Image:balls1.png Image:balls2.png Image:balls3.png


Image:glassballs.jpg A dense cluster of random dielectric spheres. This took a while to render.


Image:crroom1.png Here is a room showing off different materials. There is a floating bubble on the left. Behind it are two spheres, one a dielectric with index 1.4 and the other a blue phong. There are three glass pillars in the back right in front of a big metal block. The sides are also metal blocks.

[edit] Extra Credit Images:

[edit] Beer's Law Images

Image:nobeer.png No Beer's law

Image:greenbeer.png Slightly green glass


Image:bluegreenbeer.png Darker bluegreen


Image:purplebeer.png Darker redish purple

Image:multibeer.png Multiple colors in one image

[edit] Oren-Nayar Diffuse Reflection Images

Image:orennayerreference.png Image without Oren-Nayar diffuse reflection

Image:orennayer1.png Same image but with Oren-Nayer Diffuse reflection on the right ball.

Personal tools