Git Product home page Git Product logo

cubicad's Introduction


CubiCAD


Build Runs on my machine Build

Linux Language Stars Commit frequency Last commit

A fast and modern vulkan rendering engine

At the moment in heavy development and barely usable at its current state.

Features

  • Indirect Rendering for maximum draw performance
  • An advanced material and shading system
  • Fully featured UI with object picking using ImGUI
  • 100% dynamic object properties
    • Want to change the material? Done. In the same frame
    • Change the model? As often as you please
    • Want to change textures? Do it every frame!
  • Advanced sparse scene graph
    • Tired of optimizing for drawcalls? Done automatically every frame
    • Afraid of overshading? Won't ever happen with CubiCAD's deferred shading pipeline
    • Rendering to many objects? With CubiCAD you can easily render more than to 1 million objects per second
  • Fully fledged multistage pipeline
    • Tired of ordering your vertices for culling? CubiCAD uses compute shader based normal culling
    • Easily extend the rendering pipeline using the provided c++ modules
    • Render nth degree camera perspectives within the same pipeline for all the portals and cameras you want
  • CubiCAD saves performance and prevent memory leaks by allocating exclusively on the heap
  • And of course fully open source!!

Building

The project can be built using CMake and gcc.
All project dependencies except for vulkan, cmake, std libraries and gcc should be included in this repository.
MAKE SURE YOU HAVE THE VULKAN SDK INSTALLED BEFORE BUILDING. You can download lunarG's version there.

First, start by cloning the repository:

git clone --recurse-submodules -j8 https://github.com/RedNicStone/CubiCAD.git
cd CubiCAD

Create a build directory and run CMake:

mkdir build
cd build
cmake ..

Finally build the project and run the binary:

make
chmod +x CubiCAD
./CubiCAD

cubicad's People

Contributors

rednicstone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

michaelzhou-new

cubicad's Issues

Project Plan, Roadmap, Reason.

Hi,

Glad to see you're working on a Vulkan high performance game/render engine.

We are currently looking to hire or fund development of such game/render engine and we wanted to learn more about your project and yourself.

  1. What are your development goals or roadmap/features you plan to develop and if possible, approx. dates?
  2. Why are you building your own game engine, in other words, what was lacking in other game engines, specifically Vulkan based engines or renderers?
  3. Will this be made into a commercial project? Are you working full time on this?

These are just a few questions to get the ball rolling.

Cheers,
Einthusan

Can you support Visual Studio 2019 or later?

When I tried to generate a Visual Studio 2019 project file with CMake, the errors and the warnings are as follows.
And I attached CMake log files.

CMake Error at cmake/CompilerWarnings.cmake:71 (list):
  list does not recognize sub-command PROJECT_WARNINGS
Call Stack (most recent call first):
  CMakeLists.txt:59 (set_project_warnings)
CMake Warning (dev) at lib/shaderc/CMakeLists.txt:16 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    PROJECT_VERSION
    PROJECT_VERSION_MAJOR
    PROJECT_VERSION_MINOR
    PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at lib/shaderc/libshaderc_util/CMakeLists.txt:15 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    PROJECT_VERSION
    PROJECT_VERSION_MAJOR
    PROJECT_VERSION_MINOR
    PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at lib/shaderc/libshaderc/CMakeLists.txt:15 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    PROJECT_VERSION
    PROJECT_VERSION_MAJOR
    PROJECT_VERSION_MINOR
    PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

CMakeOutput.log
CMakeError.log

errors when configure

Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
Utils lib: C:/Users/ads/Downloads/CubiCAD/src/utils/utils.cpp
CMake Error at cmake/CompilerWarnings.cmake:71 (list):
list does not recognize sub-command PROJECT_WARNINGS
Call Stack (most recent call first):
CMakeLists.txt:68 (set_project_warnings)

Attempting auto locate Vulkan using CMake......
TRUE
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.25/Modules/FindVulkan.cmake:228 (message):
Ignoring unknown component 'FATAL_ERROR'.

The find_package() command documents no such argument.
Call Stack (most recent call first):
CMakeLists.txt:187 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

Including Win32 support
VMA_BUILD_SAMPLE = OFF
VMA_BUILD_SAMPLE_SHADERS = OFF
VMA_BUILD_REPLAY = OFF
VMA_RECORDING_ENABLED = OFF
VMA_STATIC_VULKAN_FUNCTIONS = ON
VMA_DYNAMIC_VULKAN_FUNCTIONS = OFF
VMA_DEBUG_ALWAYS_DEDICATED_MEMORY = OFF
VMA_DEBUG_INITIALIZE_ALLOCATIONS = OFF
VMA_DEBUG_GLOBAL_MUTEX = OFF
VMA_DEBUG_DONT_EXCEED_MAX_MEMORY_ALLOCATION_COUNT = OFF
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
nfd Platform: PLATFORM_WIN32
nfd Compiler: COMPILER_MSVC
Downloading shaderc dependencies
CMake Warning (dev) at lib/shaderc/CMakeLists.txt:16 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

The following variable(s) would be set to empty:

PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH

This warning is for project developers. Use -Wno-dev to suppress it.

Shaderc: build type is "Debug".
Configuring Shaderc to avoid building tests.
Configuring Shaderc to avoid building examples.
Configuring Shaderc to check copyrights.
asciidoctor was not found - no documentation will be generated
Using Debug VC++ CRT: MTd
Using Release VC++ CRT: MT
Using MinSizeRel VC++ CRT: MT
Using RelWithDebInfo VC++ CRT: MT
Using Debug VC++ CRT: MTd
Google Mock was not found - tests based on that will not build
optimizer enabled
CMake Warning (dev) at lib/shaderc/libshaderc_util/CMakeLists.txt:15 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

The following variable(s) would be set to empty:

PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at lib/shaderc/libshaderc/CMakeLists.txt:15 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

The following variable(s) would be set to empty:

PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH

This warning is for project developers. Use -Wno-dev to suppress it.

Detected shaders to build: PBR_basic.frag;PBR_basic.vert;alchemy_ssao.comp;culling_indirect.comp;horizontal_blur.comp;quad.vert;uv.frag;vertical_blur.comp;viewport_selector.frag
Building shaders with following arguments: -O
Configuring incomplete, errors occurred!
See also "C:/Users/ads/Downloads/CubiCAD/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/ads/Downloads/CubiCAD/build/CMakeFiles/CMakeError.log".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.