Skip to content

AayuStark007/SimpleRT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleRT

Simple Ray Tracer in C++

Build and Run

Build

g++ main.cpp -o main

Generate image file result.ppm

main.exe > result.ppm

Generate image file result.ppm with width height and samples

main.exe [width] [height] [samples] > result.ppm

Generate 1200x800 image with 10 samples

main.exe 1200 800 10 > result.ppm

Results

1. Metal

rough_metal

2. Glass

glass_sphere

3. Bubble

bubble

4. Random Scene

final

About

Simple Ray Tracer in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published