Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 924 Bytes

File metadata and controls

48 lines (33 loc) · 924 Bytes

Notes

  • so right now we create pixel values for a image and write it to a file
  • vec3
    • point3
    • color

ray
P = A + tb where,
P: 3D position along a line in 3D
A: ray origin
b: ray direction
t: ray parameter. moves the point along the ray

Antialiasing

Before: Without antialiasing
After: After antialiasing

Diffuse Materials

Diffuse sphere Diffuse spheres

Fixed shadow acne

Lambertian distribution

gamma correction for accurate color intensity

alt text

Metal

alt text