Skip to content

Commit

Permalink
Update Readme with new name
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjaltesorgenfrei committed Sep 29, 2022
1 parent 54d9e98 commit db8250c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 15 deletions.
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.1)
set(CMAKE_CXX_STANDARD 20)

project(vulkantut)
project(vulkanologi)

# add_compile_options(-Wall -Wextra -pedantic -Werror)

Expand Down Expand Up @@ -71,7 +71,7 @@ include_directories(ext/ImGuizmo)

file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS src/*.cpp)

add_executable(vulkantut
add_executable(vulkanologi
${SOURCES}
${CMAKE_CURRENT_SOURCE_DIR}/ext/imgui/imgui.h
${CMAKE_CURRENT_SOURCE_DIR}/ext/imgui/imgui.cpp
Expand All @@ -84,8 +84,8 @@ add_executable(vulkantut
${CMAKE_CURRENT_SOURCE_DIR}/ext/ImGuizmo/ImGuizmo.h
${CMAKE_CURRENT_SOURCE_DIR}/ext/ImGuizmo/ImGuizmo.cpp
)
target_link_libraries(vulkantut glfw glm tinyobjloader VulkanMemoryAllocator Vulkan::Vulkan)
add_shader(vulkantut shader.frag)
add_shader(vulkantut shader.vert)
target_link_libraries(vulkanologi glfw glm tinyobjloader VulkanMemoryAllocator Vulkan::Vulkan)
add_shader(vulkanologi shader.frag)
add_shader(vulkanologi shader.vert)

add_dependencies(vulkantut copy-runtime-files)
add_dependencies(vulkanologi copy-runtime-files)
26 changes: 17 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# VulkanTut
# Caldera

Learning Vulkan from <https://vulkan-tutorial.com>, while trying to keep it as clean and modern c++ as possible.
A Vulkan Renderer written in C++ 20. Very much WIP.

## Compiling on Windows
## Building

To compile on Windows download Vulkan SDK from <https://vulkan.lunarg.com/sdk/home#windows>
To build on Windows download Vulkan SDK from <https://vulkan.lunarg.com/sdk/home#windows>

On arch install `sudo pacman -S vulkan-devel`

## Credits

Based upon [Vulkan Tutorial](https://vulkan-tutorial.com), inspiration drawn from [Vulkan Guide](https://vkguide.dev/)
and [Brendan Galea's YouTube series](https://www.youtube.com/c/BrendanGalea).
Some ideas were also taken from [Zeux's blog](https://zeux.io/2020/02/27/writing-an-efficient-vulkan-renderer/).

## TODO

Expand All @@ -26,10 +34,10 @@ To compile on Windows download Vulkan SDK from <https://vulkan.lunarg.com/sdk/ho
- [ ] Load more objects
- [x] Introduce VMA, VK-Guide has a tutorial for this. Else the buffer management is too complex
- [x] uploadIndices and uploadVertices can be generalized and simplified.
- [ ] Descriptors needs to be dynamically allocated, as they currently fill the pool.
- [ ] Descriptors need to be dynamically allocated, as they currently fill the pool.
- <https://vkguide.dev/docs/extra-chapter/abstracting_descriptors/>
- Potentially just make a dynamically allocator which creates a pool for each type?
- Then when a descriptor set for textures is asked for, more can just be allocated. This would avoid any memory problems.
- Potentially just make a dynamic allocator which creates a pool for each type?
- Then, when a descriptor set for textures is asked for, more can just be allocated. This would avoid any memory problems.
- [x] TextureImage VMA.
- [ ] UniformBuffer still uses manual buffer creation. They should be moved over.
- [x] It's possible to load an array of textures, this should make it easier to load different textures
Expand All @@ -50,7 +58,7 @@ To compile on Windows download Vulkan SDK from <https://vulkan.lunarg.com/sdk/ho
- Usage of transfer queue is only possible for some commands.
- Therefore, a dedicated upload command is needed, which is separate from the mip map calculation.
- Through another possibility is using multiple graphics queues. But the transfer queue might be faster so I need to look in to that.
- [ ] Create a Asset Library that makes resources ready for the engine. Should include loading and storing of binary data. Reading the data is the responsibility of the program.
- [ ] Create an Asset Library that makes resources ready for the engine. Should include loading and storing of binary data. Reading the data is the responsibility of the program.
- <https://vkguide.dev/docs/extra-chapter/asset_system/>
- [ ] Meshes
- [ ] Textures
Expand All @@ -63,4 +71,4 @@ To compile on Windows download Vulkan SDK from <https://vulkan.lunarg.com/sdk/ho
- [x] Fix controls after adding Imgui
- [x] Only capture mouse clicks if not over ui.
- [ ] Yoink list from <https://github.com/knightcrawler25/GLSL-PathTracer> to choose what objects should be manipulated by ImGuizmo
- [ ] Use VMA.hpp instead
- [ ] Use VMA.hpp instead

0 comments on commit db8250c

Please sign in to comment.