Commit Graph

1105 Commits

Author SHA1 Message Date
19020e3c01 Remove octree-level fragment query occlusion culling. This will be replaced with a method involving hi-z buffers and mesh shaders. 2025-11-30 15:47:27 -08:00
b6179a2496 Split KRScene::render into KRScene::render and KRScene::render_occlusionResultsPass 2025-11-30 14:41:13 -08:00
4c964ec8d5 Remove Vulkan debug code 2025-11-30 13:54:11 -08:00
898e0714e4 Move KRNodeProperty to its own header file 2025-11-25 21:16:53 -08:00
eb29369eda KRNode now using KRNodeProperty 2025-11-25 21:11:49 -08:00
79c181b221 Fix compile error in KRLight. 2025-11-25 21:11:37 -08:00
a4c8b77f3a Fixed crash on initialization of KRResourceBinding encapsulated in KRNodeProperty by changing default value to an empty string rather than nullptr. Implemented KRNODE_PROPERTY_ARRAY. KRModel meshes are now using KRNODE_PROPERTY_ARRAY 2025-11-24 21:14:24 -08:00
ae9469dd62 WIP update KRModel to use KRNodeProperty. Move XML loading from KRNode to KRModel::loadXML 2025-11-24 20:17:21 -08:00
c075148ead Add hydra::AABB support to KRNodeProperty. KRLODGroup now using KRNodeProperty. 2025-11-24 19:31:26 -08:00
a7cd068e39 KRLight node info is now initialized using KRNodeProperty default values 2025-11-24 19:10:08 -08:00
36fd88d6ee Add unsigned integer support to KRNodeProperty. KRCollider now using KRNodeProperty. 2025-11-24 19:06:13 -08:00
eb4b2fcbfa KRAudioSource now using KRNodeProperty 2025-11-24 18:36:32 -08:00
14ee6f0419 Added integer support to KRNodeProperty 2025-11-24 18:17:56 -08:00
34e5b529bc KRAmbientZone node info now initialized using KRNodeProperty default values 2025-11-24 18:17:40 -08:00
aeb8f3434e KRCamera now using KRNodeProperty 2025-11-24 18:16:54 -08:00
8fc846ce6b Removed dead code from KRBone 2025-11-24 18:16:03 -08:00
30ebb97430 KRAmbientZone now using KRNodeProperty 2025-11-24 17:57:19 -08:00
9d2d788b98 KRReverbZone is now using KRNodeProperty 2025-11-23 16:07:31 -08:00
34171c7d56 Added std::string support to KRNodeProperty 2025-11-23 15:57:28 -08:00
c239d68950 KRLight is now using KRNodeProperty for texture binding 2025-11-23 15:45:08 -08:00
3d69a7154c KRSpotLight is now using KRNodeProperty 2025-11-23 15:40:34 -08:00
0a3a0d234e Add KRResourceBinding support to KRNodeProperty 2025-11-23 15:36:03 -08:00
635278022e KRAmbientZone now using KRAudioSampleBinding 2025-11-19 23:29:49 -08:00
8c52ed697f Added hydra::Vector3 support to KRNodeProperty 2025-11-19 22:31:33 -08:00
92843b93d2 Implemented bool support for KRNodeProperty. Applied KRNodeProperty to bool and float properties of KRLight 2025-11-17 22:56:29 -08:00
ead7aade63 Implement KRNodeProperty to reduce boilerplate needed for adding new node attributes 2025-11-17 22:03:45 -08:00
9b20d1ef1d Implemented getResourceBindings methods to recursively collect resource bindings from nodes and resource-to-resource connections. Replaced many KRNode::preStream() overrides with a generic handler in KRNode::preStream() that walks the resource binding tree. 2025-11-17 19:40:51 -08:00
b146886691 Streamlined resource handling in Pre-Stream with KRResourceBinding::submitRequest 2025-11-17 00:55:50 -08:00
61cc889880 KRMesh cleanup, now including lod coverage in resource requests for meshes 2025-11-17 00:05:48 -08:00
5217ab8018 Removed redundant requestResidency call for m_lightMap in KRModel 2025-11-16 23:45:04 -08:00
0abc52525d Implemented KRMesh::requestResidency 2025-11-16 23:39:08 -08:00
112fdab9f5 Removed unused argument from KRTexture::getStreamLevel 2025-11-16 23:29:15 -08:00
8b04a84470 KRCamera now using KRTextureBinding for the debug font 2025-11-16 23:24:51 -08:00
274fd7a69e Replaced more direct requestResidency calls with KRResourceRequest's 2025-11-14 23:55:44 -08:00
2e9fac869a KRMaterial is now using KRResourceRequest's to load textures 2025-11-14 23:33:44 -08:00
dec5872cf6 WIP refactoring to move resource streaming to use KRResourceRequest lists 2025-11-14 22:30:08 -08:00
d664e670f4 Refactoring - rename resetPoolExpiry to requestResidency 2025-11-13 23:02:58 -08:00
a68b1bf38d KRModel cleanup, move lightmap resource binding to prestream 2025-11-13 22:53:31 -08:00
be2116d338 Implement KRCamera::preStream 2025-11-13 22:52:43 -08:00
2ce2582318 Refactor KRResourceBinding setName method to set 2025-11-13 22:31:00 -08:00
13efe5caec Refactor KRResourceBinding load and isLoaded methods to reflect binding rather than loading 2025-11-13 22:25:34 -08:00
dbf31ceebe Move more repeated logic out of node render methods into KRScene 2025-11-13 22:17:11 -08:00
e029e0b3fc Move pre-streaming logic from KRNode and descendants to KRScene, simplifying KRNode render methods 2025-11-13 22:01:24 -08:00
614ce0a151 Fixed leak of reflected objects 2025-11-11 23:45:03 -08:00
51b8bcbc78 KRCollider is now using KRMeshBinding 2025-11-11 23:20:00 -08:00
82019987e6 Implemented KRMeshBinding, mesh lod functionality is now explicit in KRScene format and api 2025-11-11 23:07:04 -08:00
8c8aa1893c Implemented KRAudioSampleBinding, applied to KRAudioSource 2025-11-11 15:18:19 -08:00
1a602d30b1 KRMaterial now using KRTextureBinding 2025-11-11 14:54:42 -08:00
d2e116cce9 KRModel now using KRTextureBinding 2025-11-11 14:37:31 -08:00
64b89426bc KRCamera now using KRTextureBinding 2025-11-11 14:29:26 -08:00