Implement CPU raytracer.
Project structure
raylib/ : Contains raytracing implementation. Built as a DLL.
src/ : CUI application that performs basic Read-Eval-Print loop.
Select a demo scene, adjust rendering options, and execute raytracer.
gui-app/ : GUI version of the CUI app. Written in C# for practice.
How to build
- Run
Setup.ps1
. - Build at the top level using CMake. This should build
raylib
andsrc
. - Build
gui-app
. CopyFreeImage.dll
,OpenImageDenoise.dll
,raylib.dll
, andtbb12.dll
fromraylib
output togui-app
output directory.
Raylib and CUI app
- Language : C++11
- IDE : Visual Studio 2022
- Build tool : CMake
- OS : Windows 10 or newer
GUI app
- Language : C# 11 (.NET SDK 7)
- IDE : Visual Studio 2022
Most of OBJ models are downloaded from Morgan McGuire's Computer Graphics Archive
Denoised images are generated by OpenImageDenoise integration