Coder Social home page Coder Social logo

brickmap-vulkan's Introduction

brickmap-vulkan

A realtime Vulkan voxel path tracer.

This is a work in progress!

This system is a Vulkan/SPIRV implementation of the BrickMap by stijnherfst which is in turn based on this paper by Wingerden. After taking apart several voxel systems as learning exercises, I found that BrickMap was a great starting point for building my own systems and wanted to provide a version of that code implemented in Vulkan and GLSL.

The Vulkan framework used here is pulled out of my personal tinkering engine project and is based on various tutorials and learning. https://vkguide.dev/ has been particularly helpful in learning Vulkan. This project uses vulkan.hpp.

Notes

  • Press ESC to toggle between mouselook and UI interaction.
  • You can build rebel_engine with DEBUG_MARKER_ENABLE to assign and see buffer names in NSight.
  • Linux doesn't build yet, but coming soon.
  • Tracy can be enabled by building with TRACY_ENABLE.

Dependencies

You'll need to install the Vulkan SDK on your system.

These dependencies will be downloaded during the first run of cmake:

Fetching content with cmake can take a while, but I find this approach to managing dependencies is easier overall. Once you've grabbed everything, you can uncomment set(FETCHCONTENT_FULLY_DISCONNECTED TRUE) in cmake_modules/dependencies.cmake to suppress dependency checks.

normal

normals

heatmap1

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.