Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Ray Tracing Class

My attempt at a ray Tracer;

can build each of the individual files with g++ compiler

steps : g++ main.cpp -o main ./main image.ppm display imagge.ppm

vec3 class:

  • keeps track of (x, y, z)
  • can also represent color and points

ray class:

  • time, origin and direction

sphere:

  • inherited class of hittable to plot the object

hittable:

  • abstract class where we can have objects that are hit by a ray

hittable_list:

  • list of hittable objects

About

Creating Photos

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages