Skip to the content.

LWJGL3 Vulkan Demo

Goal

The aim of the project is to create a simple game engine demo that is entirely based on Vulkan api. Hopefully it will be usefull for people learning vulkan from scratch.

Requirements

Engine is written in Java and is using LWJGL 3. So before you start you should install Java and set up required LWJGL 3 libraries(see Required LWJGL libraries bellow).

Version 0.1.2

The project has quite a few usefull utilities for working with Vulkan. For example it can choose the right Physical Device for you, and create a queue with either default or custom requirements.

There are also two demonstration applications inspired by LWJGL Vulkan samples.

Required LWJGL libraries

"Minimal Vulkan" preset with JOML selected. You can find it on this website: https://www.lwjgl.org/.

Instalation

Prepare your IDE

Run demo

Troubleshooting

There are multiple things that might go wrong during the installation process. First of all you have to determine whether the problem is due to wrong installation or the demo is malfunctioning.

Installation check #1

Run the InitializationDemo.java. If you can see a window proceed to installation check #2. Otherwise check whether there are any errors preventing you from compiling the code. If so try to remove the libraries from the project and then add them again and recompile the project. Try adding the “-XstartOnFirstThread” argument(or removing it). If the problem is still present go to the section “Issues reporting”.

Installation check #2

TODO(Readme will be updated soon)

Contribute!

Developing fully functional game engine is challenging enough for a team of full time developers. Not to say for a guy that is pursuing bechelor's degree at the same time(and hase some other projects too). So any amount of help is more then welcome!

Gallery

triangle_git

triangle_git

triangle_git