1912ccd63e
Removed redundant RenderPassType::RENDER_PASS_GENERATE_SHADOWMAPS Added support for multiple color attachments in a render pass. WIP render graph implementation. Deleted copy constructors for KRContextObject
Kearwood Gilbert2024-01-22 00:35:49 -08:00
5f1e074136
Now generating separate "Public Headers" and "Private Headers" group for the Kraken library project.
Kearwood Gilbert2024-01-21 14:08:45 -08:00
c7afc9583d
kraken_cube test now includes headers in generated projects
Kearwood Gilbert2024-01-21 13:56:33 -08:00
a0de671125
Now including headers in generated projects for Kraken
Kearwood Gilbert2024-01-21 13:48:43 -08:00
a2d125b15b
Updated call sites to no longer pass clear color to KRRenderPass::Begin(), as KRRenderPass now retains the clear color after initialization. KRRenderPass now has configurable stencil clear, load, and store operations.
Kearwood Gilbert2024-01-20 16:46:23 -08:00
d92a039fab
KRRenderPass now keeps RenderPassInfo after initialization. KRRenderPass now accepts clear color at initialization, no longer requiring to pass it on every instantiation.
Kearwood Gilbert2024-01-20 16:31:06 -08:00
b37acc1fd2
Remove test code used for verifying debug text functionality on Vulkan
Kearwood Gilbert2024-01-20 16:09:31 -08:00
8795e1e402
Suppressing debug text rendering until debug font texture has been streamed to the GPU. Fixes Vulkan validation errors on MacOS. Fix Vulkan validation error on macOS when clearing with the black frame pass render pass during initialization.
Kearwood Gilbert2024-01-14 15:53:50 -08:00
e6706a4e1f
Now rendering black frames rather than empty frames when scene isn't loaded, preventing some Vulkan validation errors. Added keepColor, clearColor, and finalLayout attributes to KRRenderPass::RenderPassInfo. Now able to render debug text on macOS.
Kearwood Gilbert2024-01-14 15:36:51 -08:00
2105e9359e
Vulkan surface now initializing on MacOS Updated Volk library
Kearwood Gilbert2024-01-11 23:05:13 -08:00
8214cf475a
Vulkan now initializing on macOS. Still requires copying libVulkan to the binary output directory.
Kearwood Gilbert2024-01-10 23:09:03 -08:00
9a183ff354
Added mapping for gl compressed texture formats to vkFormats in KRTextureKTX
Kearwood Gilbert2023-05-28 22:34:32 -07:00
ea0fff0e49
Added mapping for uncompressed formats to KRTextureKTX::getFormat KRTexture2D now dynamically sets vkFormat of images
Kearwood Gilbert2023-01-10 15:49:10 -08:00
eecde09734
Removed KRSurface dependencies from KRPipeline
kearwood2022-09-28 22:16:04 -07:00
230783b3c9
Added KRPipeline constructor that is not dependent on KRSurface
kearwood2022-09-27 18:58:00 -07:00
a2a9714f24
Removed camera downsampling functionality no longer in use. A more advanced postfx and compositor will be implemented instead. (Continued)
kearwood2022-09-27 18:49:03 -07:00
e60e9bceab
Removed camera downsampling functionality no longer in use. A more advanced postfx and compositor will be implemented instead.
kearwood2022-09-27 18:32:35 -07:00
4d244c96c3
Const-ified helper functions in KRDevice
kearwood2022-09-27 17:33:05 -07:00
741b7848c5
Implemented camera surface setting for KrUpdateNode and KrCreateNode APIs. Cameras now render only on their assigned surface.
kearwood2022-09-26 22:06:09 -07:00
7722975dd0
Implemented KrUpdateNode API call.
kearwood2022-09-26 21:24:21 -07:00
272d3f89bc
Implemented helper functions in KRContext to simplify API endpoint input validation.
kearwood2022-09-24 00:31:37 -07:00
1bb7238502
KRNode::update is now fallible. Added stub function, KRCamera::update.
kearwood2022-09-23 23:43:06 -07:00
a186095c47
Implemented transform setting for KrCreateNode API
kearwood2022-09-23 23:31:37 -07:00
77a03d53cc
Enabled KrCreateNode call in the hello_cube smoke test.
kearwood2022-09-22 23:04:03 -07:00
ad81d58ea8
Added standard constructor with just scene and name for KRModel and KRCollider. Implemented KRNode::createNode, to create nodes declared in KrCreateNodeInfo structs. Added stub function, KRNode::update to update node attributes from a KrNodeInfo struct.
kearwood2022-09-22 23:02:42 -07:00
ec65e788e0
Scene nodes now persist their order. Implemented error handling and insertion logic for KRContext::createNode Refactored KRNode::m_childNodes to be a std::list rather than a std::set Added stub function, KRNode::createNode, which accepts a KrCreateNodeInfo structure
kearwood2022-09-22 22:32:17 -07:00
6c8bf9fa2c
WIP implementing createNode API. Added KRContext::m_nodeMap and initialization logic. Added code to hello_cube smoke test to call KrCreateNode. (Commented until test can pass)
kearwood2022-09-21 23:55:24 -07:00
3f4289ec08
Merged appendBeforeNode, appendAfterNode, appendFirstChildNode, and appendLastChildNode API calls into a single createNode call.
kearwood2022-09-21 23:38:49 -07:00