Skip to content

jjedele/ray-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Ray Tracer Challenge

My take on Jamis Buck's (@jamis) awesome ray tracer challenge in ScalaJS.

State

Chapter 6

I added a simple lighting mechanism based on Phong's reflection model.

Chapter 6

Chapter 5

In chapter 5 I implemented the first actual ray tracing to draw the silhouette of a sphere.

Chapter 5

Chapters 3, 4

In chapters 3 and 4 I extended my vector implementation to a more full-blown linear algebra library. It now supports matrix-multiplication-based geometric transformations like translation, scaling and rotation. The image shows a simple clock face generated with these operations.

Chapter 4

Chapters 1, 2

In chapters 1 and 2 I developed a basic implementation of vectors. Image shows the trajectory of a flying projectile in an environment with gravity and wind.

Chapter2

About

My ScalaJS implementation of Jamis Buck's ray tracer challenge.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published