Skip to content

AliceRemake/PathTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PathTracer build

A Monte Carlo Path Tracer.

Main Reference

Ray Tracing in One Weekend - The Book Series

[github][website]

Gallery

See Render Results Here: Gallery

Third Party Libraries

  • fmt: A modern formatting library.
  • stb: stb single-file public domain libraries for C/C++.
  • tinyxml2: TinyXML2 is a simple, small, efficient, C++ XML parser that can be easily integrated into other programs.
  • tinyobjloader: Tiny but powerful single file wavefront obj loader
  • eigen: Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.

Software Architecture

Conventions

  1. All Direction/Normal Vectors Are Unit Vectors. No Need To Normalize Them Before Using But Need To Normalize Them After Creating.

Build With CMake

Clone The Repository With Submodules.

git clone --recurse-submodules -j8 https://github.com/AliceRemake/PathTracer

MinGW

mkdir build && cd build
cmake .. -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE="Release"
mingw32-make -j30

MSVC

Using Visual Studio With CMake

If Your Visual Studio Installed With CMake Component, Just Open The Project In Visual Studio.

Using Visual Studio Without CMake

mkdir build && cd build
cmake ..

After Generate, Double-Click The Solution File With Extension .sln And Build The Target ALL_BUILD

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published