Skip to content

talentstream/tinyraytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tinyraytracer

Raytracing in one week

2023.5.30 - 2023.6.03

Raytracing the next week

2023.6.26 - 2023.7.02

To do

整理代码和文档

Running command:

cmake -B build ; cmake --bulid build

To do:

  • output .ppm image
  • Antialiasing
  • Materials: Diffuse, Metal, Dielectrics
  • Camera: Defocus Blur

Code lines:

find . "(" -name ".cpp" -o -name ".hpp" ")" -print | xargs wc -l

834 total

File structure:

tree /f

└─src
    ├─core
    │      camera.cpp
    │      camera.hpp
    │      material.cpp
    │      material.hpp
    │      object.cpp
    │      object.hpp
    │      ray_tracer.cpp
    │      ray_tracer.hpp
    │      scene.cpp
    │      scene.hpp
    │
    ├─main
    │      main.cpp
    │
    ├─material
    │      dielectric.cpp
    │      dielectric.hpp
    │      lambertian.cpp
    │      lambertian.hpp
    │      metal.cpp
    │      metal.hpp
    │
    ├─math
    │      constant.cpp
    │      ray.hpp
    │      vec3.cpp
    │      vec3.hpp
    │
    ├─object
    │      sphere.cpp
    │      sphere.hpp
    │
    └─utility
            intersection.cpp
            intersection.hpp

Display:

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published