Posts

Showing posts with the label graphics

Development in 2022

Hey everyone, you have probably noticed that I didn’t provide the monthly updates about the GNUnet Messenger API since September . The reason for this is that my first goals completed and while I continued working on it, I contributed to other projects as well. So my time was limited. For example I did a lot of refactoring source code in the VkCV Vulkan framework and recently pushed a new release with a lot of features for developing graphics and rendering applications. There’s now also a blog to learn developing first graphics applications with this framework to utilize Vulkan (a cross compatible API for GPU acceleration). I’m currently one of the biggest contributors to this framework. So if anything might not work, feel free to contact me. Testing is very welcome and it’s fully open-source. That means contributions are welcome as well. Next thing I’m always trying to improve if I find the time is Manuskript . It’s a great tool for writers but it needs some work cleaning up its...

Firework with particles in Vulkan

Image
In the last months another fellow student and I implemented a firework simulation at the university. It’s not as complex as the material point method from the last simulation project I talked about on this blog but I didn’t wanted to go through the same hassle as last time either… 😅 We still used the VkCV (the Vulkan framework I am still working on) and the project is currently merging into the sample projects of the framework . So you can check it out yourself given that you have a device supporting Vulkan (works great on the Steam Deck by the way 😄). firework demo #1 The results are nonetheless pretty good. With a little more time the smoke could have looked even better. So maybe when I find the time, I’ll try to tweak it a bit. Most awesome aspect of this application is that different kinds of fireworks can be customized quite easily from the applications code. Because everything is structured as graph of events which can be timed in execution. firework demo #2 The ...

Material point method in Vulkan

During the lat weeks I implemented with a few other students at university a simulation for soft-body dynamics and really basic fluids using the material point method (in short MPM ). The goal was to use different sizes for individual particles which would decrease or increase their specific area of impact. It pretty much works like this: 👉 1. You have an amount of particles which you spread around to represent a specific volume (for example a sphere or a cube but it could be any mesh really). Then you give each particle a mass, velocity, position and volume. The particles will pass in their area of impact their information about mass and velocity into a grid data structure as weighted impulse and weighted mass depending on the distance between each grid cell and your particle. 👉 2. The next step is to adjust forces to the grid cells and collect data in the area of impact of each particle from cell back to the particle. Then you calculate from that the new velocity of the particl...

VkCV 0.1.0 released!

This year I collaborated with many other students at the university on a computer graphics framework using the Vulkan API. We designed it to function rather modular and while it abstracts several parts of the Vulkan API and memory management to ease development, it still allows you to utilize Vulkan’s openness and the use of various extensions. We implemented several example projects with the framework to show how it can be utilized. There are also modules extending the capabilities from the framework to load GLTF assets, manage a scene graph, handling cameras, rendering GUI with ImGui and even image upscaling in realtime using FSR from the GPUOpen initiative. It’s also possible to use the framework for non-rendering projects like simulation utilizing Vulkan compute shaders and its compute pipelines. You can find a video showcasing the different example projects containing modern features like mesh shaders and ray tracing on YouTube . You can also find a more detailed explanati...