Skip to content

A simple soft renderer with ray tracing and raster.

License

Notifications You must be signed in to change notification settings

T-rvw/RayTracer

Repository files navigation

RayTracer

Windows MacOS

Easy to make and build in different platforms powered by Premake.

Well organized example projects to help you understand.

Build

git clone https://github.com/T-rvw/RayTracer.git

Windows + VS2019 : run generate_vs2019.bat.

MacOS + XCode : run generate_xcode.command. Note : chmod +x generate_xcode.command before the first run.

Other platforms & IDEs : See Premake document.

Performance

By default, we opened OpenMP compile option to support parallel calculation in multiple threads.

Also, please use release build to render complex images to save your time.

Reference links

Mathematics for 3D Game Programming and Computer Graphics, Third Edition

Ray Tracing in One Weekend

Ray Tracing: The Next Week

Ray Tracing: The Rest Of Your Life

About

A simple soft renderer with ray tracing and raster.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages