Skip to content

CoderJoshDK/Ray-Tracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing

language commit


Impilmented Topics

  • Objects:
    • Sphere
    • Box
      • Rectangles (axis-aligned)
  • Materials:
    • Diffuse (lambertian)
    • Metal
    • Dielectrics
    • Textures
      • Perlin Noise
      • Image Mapping
    • Diffuse Light
  • Camera
    • Orientation
    • Defocus blur (depth of field)
    • Motion Blur
  • Optimization
    • Bounding Volume Hierarchy (BVH)
    • Multithreading

Output

Output is in .ppm format. Right now, to get an output image, run build. The exe will output image.ppm.
To change the quality of the image, change samples_per_pixel or image_width.

Output from random_scene
sampleRender2
It is intresting to note that glass spheres do not cast shadows. This is physically correct.

To-Do

  • Lights
  • Rectangles
  • Volumes

WIP

About

A homemade raytracing engine. The purpose of this project is for experimentation and not production use of any kind. Explore and learn the ideas of raytracing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors