GithubHelp home page GithubHelp logo

doon-vk's Introduction

doon-vk

Description

I created this projet with the goal of experenting with the Vulkan library and to teach myself how this library work. This is nothing more that an PoC, at least for now.

Feature

Partial Forward Renderer

The CPU make as few command call to Vulkan as possible, allowing the GPU to compute much faster. I am aiming at making the engine as bindless as possible.

To achieve that, I am using a array of texture, and each object has its texture id. So there is only one pipeline, and one descriptor set for the entire render pass.

All the vertices and indices are also loaded into one single buffer, so I only have to bind one vertex buffer and one index buffer for the entire render pass.

Basic light

The Phong lighting algorithm is implemented, provding basic ambient, diffuse and specular light. A material system is also implemented to change the light reflected by the objects.

.obj file loading

It is capable of opening .obj file, and loading the verticies, the normals and the UV coordinates. All of witch are then send to the graphics card for the rendering.

How To

First, you need to have Vulkan installed, with the dev headers.

then

git clone --recursive [email protected]:zcorniere/doon-vk.git
cd doon-vk
mkdir build && cd build
cmake .. && make

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.