Skip to content

adityapande-1995/RayTracerFromScratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RayTracerFromScratch

This is an attempt to write a renderer using ray tracing from scratch using the logic described in the book Ray tracing in one weekend by Peter Shirley.

Usage

To compile, run

g++ cpu.cpp ray.cpp vec3.cpp -lpthread -o cpu 

To run the code,

./cpu > c1.ppm

Sample images

sample image1 sample image1

About

A 3D renderer from scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published