Skip to content

XBOOS/raytracing

Repository files navigation

raytracing

##Project Introduction

Implementation of a ray tracer with shadows with mirror reflection and some advanced rendering effects.

##Acknowledgement Working with teammate Vivian Ma.(Credit to Vivian)
(Starter code from HKU course Computer Graphics.)

##Advanced rendering effects:

  1. Flattening scene graph

    Cache the transformation matrices when doing the traversail to avoid recomputing each time.

  2. Refraction: Snell's law.

    The generated image with refraction added

  3. Anti-aliasing: Multiple rays for each pixel and combine them to get the resulting color.
    The generated image with anti-aliasing added

  4. Texture mapping

  5. Area light sources

  6. Glossy reflections

    The generated image with primitives added.

    The generated image with primitives added
    The generated image with soft shadow added.This is also the final image

    The generated image with soft shadow added.This is also the final image

About

Implement a ray tracer with shadows, Mirror reflection and some advanced rendering affects.(with the starter code from HKU course Computer Graphics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages