Implementation Of Ray Tracing

1360 Words6 Pages
IMPLEMENTATION OF RAY TRACING

Submitted in partial fulfillment of the requirements of
CSCI 580 Project

By
ZIWEN CAO, MENGTIAN ZHOU, HSIN-HO HUANG, GANESH KUMAR SWAMINATHAN

UNIVERSITY OF SOUTHERN CALIFORNIA
05/05/2015

CONTENTS

Contents 2
List of Illustrations 3

1. ABSTACT 8

2. INTRODUCTION AND BACKGROUND MOTIVATION 10

3. IMPLEMENTATION 17 3.1 Scene Creation 17 3.2 Object and Ray Intersection 18 3.2.1 Intersecting a Sphere 3.2.2 Intersecting a Quadrilateral 3.3 Calculation of Ambient Illumination, Ambient Occlusion, Diffuse & Specular Reflection 21 3.3.1 Ambient Illumination and Ambient Occlusion 3.3.2 Diffuse Reflection 3.3.3 Specular Reflection 3.4 Calculation of Refraction 24 3.5 Calculation of Shadows 26 4. CHALLENGES 34 6. CONCLUSION 49 7.
Get Access