Finally got the movement system for the camera all smoothed out. Now it moves relative to the direction of the camera instead of along the world grid. Also smoothed out the motion.
Finally got the movement system for the camera all smoothed out. Now it moves relative to the direction of the camera instead of along the world grid. Also smoothed out the motion.
Finally manage to get rotation properly implemented and bound to various keys. Still need to change the movement system so that the camera axis rotates with the camera instead of being fixed to the same rotational state of the world.
Well I finally managed to fix the memory leak somehow, currently it only supports a single model however my next goal is to add support for different models. Currently it can change the number of models displayed on screen at once along with the brightness of each model.
I replaced my code for allocating buffer memory using vk-mem-rs. Still trying to track down the memory leak. Now I need to fix the rendering issues as something happened when switching the buffer systems out causing the brightness to significantly decrease and rendering to be locationally based on the cursor for some reason, and also now it would require a seizure warning for any video/gif which is suboptimal. Only during closing the application does brightness return to expected ranges as seen in photo below.
It finally runs with no real errors this time and produces expected behavior. Next I want to figure out how to change the brightness with a key input.
I finally got it to run and render more than one frame before crashing. Now I just need to figure out how to get it to render an actual image. Probably just messed up a section of the code.
I have no idea how to fix this error. I have tried not initializing sync objects, changing the order in which functions are initialized. Maybe its not working because of an empty field somewhere…
Code is running but now I have a segfault error
The majority of the code is ready to run… just three more errors that I spent a few hours on remain… At least I think it was a few hours, might have been just one or two…
Created a ton of functions. Still just boilerplate code that I eventually want to replace a lot of the hardcoded configs with variables for an eventual config file. I managed to extract a few variables that get reused consistently into an impl for a single write/ multiple reader structure because one of them should only be created once. Other than that I am relearning why I didn’t really do much with vulkan… Well time to go code some more :3
Worked on testing imports from other files.
Setup some guidelines for the main video engine.
Created a bunch of functions for use in the main function for the engine, still empty.
Next comes the fun part of trying to figure out the actual code…
Got a simple window created for testing, now onto Vulkan…
Tried some stuff to get started, really need to find a good tutorial for Ash.