Skip to content

KaiErikNiermann/julia-rt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing - Julia

Julia v1.9.2

This project is an exploration into ray tracing using the Julia programming language. I included the intermediary steps following the Ray Tracing in One Weekend guide in the scripts folder, along with some explanation for each of the files to document anything of interest. The final ray tracer resides src folder.

Motivation

There are various reasons I've wanted to do this. For a while I have been interested in Julia and I thought this project would be a nice way to learn the language. Additionally I thought this would be a nice way to solidify certain concepts in linear algebra and geometry. And finally there is the obvious aspect of gaining some nice insights into the basics of ray tracing and computer graphics.

Progression

Basic sphere

Generated with julia scripts/basic_sphere.jl

sphere

Surface normals

Generated with julia scripts/basic_normals

normals

Surface normals with AA

Generated using scripts/basic_proj @ commit 257c5cd3cbf507299bcb9677d786cb984bb66bd0

normals_w_AA

Lambertian

Generated using scripts/basic_proj @ commit cee94f5dd9f1c15bfea6616898079167c33d4b8d

lambertian

Fuzzed metals

Generated using scripts/basic_proj @ commit 988b814b8a6d8f9ecb5b996979471f70d4fe3523

fuzzed_metal

Refraction

Generated using scripts/basic_proj @ commit 988b814b8a6d8f9ecb5b996979471f70d4fe3523

refraction_demo

References

About

Ray Tracing in Julia: A project exploring the fundamentals of ray tracing, using the Julia programming language.

Topics

Resources

Stars

Watchers

Forks

Languages