# PathTracing **Repository Path**: MuxinGit/PathTracing ## Basic Information - **Project Name**: PathTracing - **Description**: a path trace project - **Primary Language**: C++ - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-14 - **Last Updated**: 2025-06-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PathTracing ## How to run the code.
In Windows system you can use msvc conpiler.
In directory **./DawnTracerMux/**.
Enter the code in terminal.
``` cmake -S . -B build/msvc(the directroy you like) -G ""(your compiler, often used default) -DCMAKE_BUILD_TYPE=Debug(or Release) ``` Then build the project, enter like that. ``` cmake --build build/msvc(the directroy you like) --config Debug(or Release) ``` In Linux system you can use GCC. ``` #cmake -S . -B build/gcc(the directroy you like) -G ""(your compiler, often used default) -DCMAKE_BUILD_TYPE=Debug(or Release) ``` Then build the project. ``` #cmake --build build/gcc(the directroy you like) ``` In directory **./DawnTracerMux/app/assets/scene.json**, you can change the value about spp to generate different results, but all of those are the .pmm picture which you should have a way to realistic pictures in Windows system.(you can donwload some plugin in vscode to show the picture);