Skip to content

kitaharasetusna/zixunToyRayTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zixunToyRayTracer

my toyRayTracer

In this project I followed awsome resources from Quantitve Bytes
and do everthing from scratch after watching it(not copying/ pasting, but write in my own way). I plan to add some new algorithms after finishing the basic framework of this;

If one want use this project, they should simply use make command , and make clean to clean all unnecessary object files

milestone 1:

1.camera and raycasting with pixels
2. mutiple objects (interface&&shared_ptr_list)
3. multiple lights (interface&&shared_ptr_list)
4. sphere geometry intersection test and basic light(Lambertian Shading Model)
5. Improvements over the Quantitve Bytes :
change the intensity into the Lambertian Shading model in [1]
image
pic1 from [1]
46ea9966145a5c05d41466262db2f2a

milestone 2:

  1. add transformation
  2. transformation from local coord to wolrd coord
  3. add some sphere

image

milestone 3:

  1. add a plane
  2. rewrite the scene and intersection
  3. add shadow check in compute illuminations
  4. add 2 more test light(one blue and another red)
  5. add phong specular highlights model

image

image

2831093a5fd8e3803f1c89116a693f3

#milestone 4:

  1. add recursive reflection

image

reference

[1] Real-Time Rendering, Fourth Edition 4th Edition by Eric Haines (Author), Naty Hoffman (Author), Tomas Akenine-Mo¨ller (Author)
[2] Fundamentals of Computer Graphics 4th Edition by Steve Marschner (Author), Peter Shirley (Author)
[3] (Strongly suggested) Physically Based Rendering, fourth edition: From Theory to Implementation 4th Edition by Matt Pharr (Author), Wenzel Jakob (Author), Greg Humphreys (Author)

About

my toyRayTracer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published