Skip to content

HopeSuffers/inOneWeekend

Repository files navigation

Welcome to my multi-threaded Weekend RayTracer

Welcome to my Weekend RayTracer project! This repository contains my implementation of the ray tracing algorithm as detailed in the fantastic resource, Ray Tracing in One Weekend by Peter Shirley. This project serves both as a learning tool and a personal challenge to implement a robust ray tracing engine over a single weekend.

texture

About The Project

Ray tracing is a rendering technique known for its stunning visual accuracy in simulating the interaction of light with surfaces. While typically compute-intensive, the approach outlined in Peter Shirley's guide simplifies the process, making it accessible for enthusiasts and budding programmers alike. This repository is my take on that simplified model, adapted and coded in C++. The original repo can be found under the original RayTracer Github Account.

Features

  • Basic Ray Tracing: Implements core ray tracing features such as spheres, diffuse materials, and basic "lighting".
  • Extendable Codebase: Structured and commented code, ready for further experimentation and enhancement.
  • Performance Metrics: Basic profiling to understand the performance implications of various features.

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

This project uses Magick++ to open the image after compiling. Make sure you have them installed before proceeding.

Installation

  1. Clone the repo
      https://github.com/HopeSuffers/inOneWeekend.git
    

Usage

Open the project in your preffered IDE and compile.

License

Distributed under the CC0-1.0 License. See LICENSE for more information.

Acknowledgements Peter Shirley for creating the wonderful book that inspired this project. Github Account.

About

raytracer in one weekend

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors