csci5607/assignment-1b/writeup.md

38 lines
766 B
Markdown

---
geometry: margin=2cm
output: pdf_document
---
This project implements a raytracer with Blinn-Phong illumination implemented.
The primary formula that is used by this implementation is:
$$
I_{\lambda} = k_a O_{d\lambda} +
\sum_{i=1}^{n_\textrm{lights}} \left(
IL_{i\lambda} \left[
k_d O_{d\lambda} \textrm{max} \{
% 0, \overrightarrow{N} \middot \vec{L_i}
\}
\right]
\right)
$$
## Varying $k_a$
![Varying $k_a$](examples/ka-demo.png){width=240px}
## Varying $k_d$
![Varying $k_d$](examples/kd-demo.png){width=240px}
## Varying $k_s$
![Varying $k_s$](examples/ks-demo.png){width=240px}
## Varying $n$
![Varying $n$](examples/n-demo.png){width=240px}
# Arbitrary Objects
![Varying $n$](examples/objects.png){width=240px}