Skip to content

Jiay1C/CUBIC-Render

 
 

Repository files navigation

CUBIC Render

CUDA-based Independent and Customizable Render

Build Codacy Badge GitHub license

CUBIC Render Logo

Download

Download latest build from CICD pipeline.

Prerequisites

To build CUBIC Render, you must set up following environment.

  • Windows 10/11
  • Visual Studio 2019 (or more recent)
  • CUDA Toolkit 12.0 (or more recent)
  • CMake 3.24 (or more recent)

Build

You may execute the build.bat or build_*.bat. This batch file will generate the projects, and build the Release, RelWithDebInfo, Debug config of CUBIC Render automatically. After successful build, you can find the Visual Studio project and binary file at the build directory.

Run

You need to pass the path of configuration file as a parameter to CUBIC Render for running.

./CUBIC-Render.exe ./config/defaultConfig.json

Feature

  • Deferred Shading
  • Tiled Based Rendering
  • Physical Based Shading
  • Inverse Rendering

Structure

  • config: example configuration files of CUBIC Render
  • external: third party libraries that used by CUBIC Render
  • gltf: gltf sample models from Khronos
  • img: images that used by this readme file
  • main: main function that mainly deal with user input and frame output
  • render: render pipeline and shaders
  • util: utility functions and head-only libraries

Example

Example 0 Example 1

Credits

Releases

No releases published

Languages

  • C++ 73.8%
  • C 15.9%
  • GLSL 7.0%
  • Cuda 2.6%
  • Batchfile 0.3%
  • CMake 0.3%
  • PowerShell 0.1%