Code-Gains/chord-engine
关于
Game Engine project for self improvement.
游戏与模拟器实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Chord Engine
Example from my internal project:
Chord Engine is an experimental Vulkan renderer using EnTT for CPU-side scene data. This project is mainly for graphics programming, engine architecture experiments, and learning by building the pieces directly.
Status
The engine is still actively changing. The editor and simulation targets are usable for development, but the API and project layout are not stable yet.
Requirements
- CMake 3.26 or newer
- Ninja
- A C++23 compiler
- Vulkan SDK
- Git
- VS Code, optional but recommended
On Windows, LLVM/Clang is the compiler setup this repo is currently developed with. MSVC may work, but it is not the primary path right now.
The Vulkan SDK path must be passed to CMake through VulkanSdkDir. The SDK must include glslc. Slang shaders also require slangc; recent Vulkan SDK installs include it.
Configure
Windows example:
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DVulkanSdkDir="C:/VulkanSDK/1.4.341.1"
Linux example:
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DVulkanSdkDir="$HOME/vulkan-sdk/x86_64"
Change VulkanSdkDir to match your installed SDK folder.
Build
Build the editor:
cmake --build build --target editor
Build and run the editor:
cmake --build build --target run-editor
Build and run the simulation:
cmake --build build --target run-simulation
Recompile engine shaders:
cmake --build build --target engine_shaders
VS Code Tasks
This repo includes tasks in .vscode/tasks.json.
Before running the configure task, edit the -DVulkanSdkDir=... argument in the task file if your Vulkan SDK is installed somewhere else.
Useful tasks:
configure-debug-windowsconfigure-release-windowsbuild-editorbuild-and-run-editorbuild-and-run-simulationrecompile-engine-shaders
Open the command palette and run Tasks: Run Task, then choose the task you want.
Notes
- Build output is written to
build/. - Compiled SPIR-V shader files are ignored by Git.
- Third-party dependencies are fetched by CMake with
FetchContent.
探索相关项目
加载中…