Commit Graph

1099 Commits

Author SHA1 Message Date
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
d8eb663731 KRLight now using KRTextureBinding 2025-11-11 14:21:34 -08:00
dbb6e98307 Implemented KRResourceBinding and KRTextureBinding, apply to KRSprite 2025-11-11 14:13:17 -08:00
7cb09d8f89 Replaced setPushConstant call in KRCamera with reflection 2025-11-11 13:05:23 -08:00
53f2a85136 Replacing more setPushConstant calls with generalized reflection 2025-09-01 23:12:11 -07:00
b5b3aa028e WIP Implementing Reflection for lighting and particle systems 2025-08-31 16:17:21 -07:00
453d8d8f68 Removed bRimColor from PipelineInfo
Rim highlighting parameters now accessed through KRMesh reflection
Removed ambient_intensity and light_intensity from KRRenderSettings.  To be replaced with proper tone mapping.
2025-08-31 15:22:55 -07:00