3D Path Tracing 游戏引擎 Laura 是一款轻量级、仅支持 Windows 的 3D 路径追踪引擎。它专注于使用路径追踪渲染 3D 场景,并提供了一个简单的 API,可用于开发各种应用程序。
3D Path Tracing 游戏引擎 Laura 是一款轻量级、仅支持 Windows 的 3D 路径追踪引擎。它专注于使用路径追踪渲染 3D 场景,并提供了一个简单的 API,可用于开发各种应用程序。
Laura is a lightweight, Windows-only 3D path tracing engine. It focuses on rendering 3D scenes using path tracing, enabling developers to experiment with 3D light transport simulation in virtual environments. While not as feature-packed as larger engines, Laura provides a simple and approachable platform to learn and experiment with 3D rendering concepts.
Laura is completely free and open source under the permissive MIT license. Users are free to use, modify, and distribute their projects without royalties or restrictions. The engine is designed to be lightweight, accessible, and extendable, empowering developers to experiment with path tracing and 3D rendering techniques.
[!NOTE] Laura – Light-Aura takes its name from its focus on light and realism: “Laura” evokes a personal, approachable engine, while “Light Aura” reflects its core strength in tracing realistic light paths and producing natural illumination in 3D scenes.
Editor
After designing and configuring your scene in the editor, export it via File → Export and run the generated application to see your work in action.
Left: exported runtime — Right: opening launch window of the editor.
The project is structured into three CMake targets:
LauraEngine. LauraEngine.To enable file dialogs, make sure Zenity is installed.
# Install Zenity
sudo apt install zenity # Ubuntu / Debian
sudo pacman -S zenity # Arch
# Test installation
zenity --info --text="Hello World!"Build & Run
# Compile with g++ (GCC)
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_INSTALL=ON -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
cmake --build build --target install -j$(nproc)
# Run
./build/install/LauraEditorgit clone --recursive Laura
cd Laura
git submodule update --init --recursive[!IMPORTANT] There is no solution file; Open Visual Studio → Continue without code.
CMakeLists.txt.Configuration: x64-Debug
CMake variable: BUILD_INSTALL = OFF (default)
Target (dropdown): LauraEditor.exe (Debug/LauraEditor.exe)
Run: Start debugging to launch the editor in Debug.
Note: LauraEngine builds automatically when required.
x64-Release (RelWithDebInfo)[!IMPORTANT] Set CMake variable
BUILD_INSTALL = ON(root CMakeLists.txt).
Target (dropdown): LauraEditor.exe (Install)
Build: This performs the install step and stages a self‑contained layout under out/build/x64-Release/install/.
Run: Launch the installed LauraEditor.exe from the install directory.
[!TIP]
- BUILD_INSTALL = OFF: executables load resources directly from the source tree. Great for fast dev iteration, but unsuitable for shipping because end users will not have your source-tree layout.
- BUILD_INSTALL = ON: the install step copies required assets next to the executable (
engine_res/,editor_res/) and paths are resolved relative to the executable. Use this for self‑contained, distributable builds.Dev builds: keep
BUILD_INSTALL=OFFfor fast iteration. Shipping builds: useBUILD_INSTALL=ONfor a portable layout.
[!TIP] To hide the console window for applications, set
ENABLE_CONSOLE=OFFin the root CMakeLists.txt or pass-DENABLE_CONSOLE=OFFwhen configuring.
[!TIP] The root
CMakeLists.txtenables multi-threaded compilation under MSVC.
Laura/ # Engine library (source & resources)
LauraEditor/ # Editor application (ImGui-based)
LauraRuntime/ # Runtime player
/Thirdparty/ # Target specific dependencies
SampleModels/ # Example assets
SampleSkyboxes/ # Example HDRsEnsure you cloned submodules: git submodule update --init --recursive.
If resources are missing at runtime, re-follow the steps in How to Build with Visual Studio, then in Visual Studio choose Project → Delete Cache and Reconfigure.
When switching between Dev build and Release / Shipping build, delete cache and reconfigure.
Always delete cache and reconfigure when changing BUILD_INSTALL, ENABLE_CONSOLE, or the CMake generator.
Contributions are welcome. If extending Laura to additional platforms sounds interesting, a natural next step could be Linux and macOS support.
暂无开放 Issues,或尚未同步最近议题。