f148fddeea
WIP KRMesh file format refactoring, to support independently formatted sub-meshes / primitives per model
main
Kearwood Gilbert2026-06-05 01:58:11 -07:00
763a448a6c
Replace KRMesh::ModelFormat enum with Topology. Topology merges indexed and non-indexed options.
Kearwood Gilbert2026-06-05 01:18:57 -07:00
5b79142471
Rename KRENGINE_ATTRIB_VERTEX to KRENGINE_ATTRIB_POSITION, WIP new krmesh header structs
Kearwood Gilbert2026-06-04 00:36:32 -07:00
8ae009cf92
Add support for 8 vertex colors. Set up binding for all 8 texcoords.
Kearwood Gilbert2026-06-03 22:44:34 -07:00
0e9b15e785
Changed krmesh signature to krmesh1.0 Added support for 8 texcoord sets
Kearwood Gilbert2026-06-02 23:56:08 -07:00
9bf6966266
Removed KRPipeline::setPushConstant methods, as we have switched entirely to reflected objects.
Kearwood Gilbert2026-06-01 23:54:55 -07:00
dcebdde968
Added shader reflection to KRContext ShaderValue::absolute_time is now reflected by KRContext, eliminating the explicit setPushConstant call
Kearwood Gilbert2026-06-01 23:30:58 -07:00
447f2d730d
Added KRCamera argument to getShaderValue calls, enabling viewport specific shader reflection Eliminated more direct setPushConstant calls
Kearwood Gilbert2026-06-01 23:05:25 -07:00
1b2703b902
Moved ShaderValue::light_direction_view_space from KRDirectionalLight to KRModelView shader reflection Made many members const
Kearwood Gilbert2026-06-01 01:17:25 -07:00
1592087065
Removed KRPipeline::setImageBinding, updated all call sites to use image binding reflection system.
Kearwood Gilbert2026-06-01 00:35:22 -07:00
568a870843
Add pipeline validation for missing shaders Add skybox texture now using image binding system
Kearwood Gilbert2026-06-01 00:06:28 -07:00
1ec9085d88
Implemented image binding reflection Now using image binding reflection for the KRCamera debug font texture
Kearwood Gilbert2026-05-31 23:38:38 -07:00
9659be8fc6
Implemented fallback debug logging to console for Windows
Kearwood Gilbert2026-05-31 23:37:51 -07:00
1c6f3f6690
Added primary directional light values to KRModelView Eliminated more direct calls to setPushConstant
Kearwood Gilbert2026-05-31 14:56:12 -07:00
87689013e7
GLTF: Now parsing texture sampler options. Extended materials to support texture wrapping and sampler options.
Kearwood Gilbert2026-05-10 15:43:05 -07:00
d1d98c079f
KRMaterial now using simdjson ondemand deserialization. WIP deserializing KRMaterial members and custom types.
Kearwood Gilbert2026-04-18 16:15:19 -07:00
8aabadb90f
KRMaterial files no longer include a terminating null character. WIP KRMaterial json de-serialization.
Kearwood Gilbert2026-04-16 00:12:29 -07:00
3242983ce8
Added material transmission attributes. Added material shading model attribute. Implemented material json serialization.
Kearwood Gilbert2026-04-14 23:46:38 -07:00
16de2d66f2
WIP material modernization - Added new material attributes
Kearwood Gilbert2026-04-14 00:53:34 -07:00
a7506c556c
Fix KRTexturePNG::getExtension, which was returning tga rather than png.
Kearwood Gilbert2026-03-31 22:06:18 -07:00
b73290ffd6
Fixed bug in mipmap streaming code. Debug font rendering is now working again.
Kearwood Gilbert2026-03-23 23:06:50 -07:00
9d5d269feb
Fixes for mipmap streaming system. Added KRNode::alwaysStreamResources() KRCamera now set to always stream its resources, so that the debug font texture and textures used for post-processing will always be loaded.
Kearwood Gilbert2026-03-23 22:45:51 -07:00
b205fe2e0d
KRTexture::getMemRequiredForLod and KRTexture::getLodData now interpret the passed lod level as a single mip rather than the mip chain starting at the passed lod level. Added KRTexture::getMemRequiredForLodRange
Kearwood Gilbert2026-03-19 00:54:36 -07:00
d652d747a2
Changed mip-map handling to use mip/lod levels rather than maximum dimensions of the lod.
Kearwood Gilbert2026-03-17 00:03:12 -07:00
d1299ccc13
KRTexture2D::getDimensions has been extended to a Vector3i and promoted to KRTexture::getDimensions
Kearwood Gilbert2026-03-16 00:57:40 -07:00
780d06883a
Refactoring KRTexture2D::uploadTexture, replacing with getLodData.
Kearwood Gilbert2026-03-16 00:28:54 -07:00
19020e3c01
Remove octree-level fragment query occlusion culling. This will be replaced with a method involving hi-z buffers and mesh shaders.
Kearwood Gilbert2025-11-30 15:47:27 -08:00
b6179a2496
Split KRScene::render into KRScene::render and KRScene::render_occlusionResultsPass
Kearwood Gilbert2025-11-30 14:41:13 -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
Kearwood Gilbert2025-11-24 21:14:24 -08:00
ae9469dd62
WIP update KRModel to use KRNodeProperty. Move XML loading from KRNode to KRModel::loadXML
Kearwood Gilbert2025-11-24 20:17:21 -08:00
c075148ead
Add hydra::AABB support to KRNodeProperty. KRLODGroup now using KRNodeProperty.
Kearwood Gilbert2025-11-24 19:31:26 -08:00
a7cd068e39
KRLight node info is now initialized using KRNodeProperty default values
Kearwood Gilbert2025-11-24 19:10:08 -08:00
36fd88d6ee
Add unsigned integer support to KRNodeProperty. KRCollider now using KRNodeProperty.
Kearwood Gilbert2025-11-24 19:06:13 -08:00
92843b93d2
Implemented bool support for KRNodeProperty. Applied KRNodeProperty to bool and float properties of KRLight
Kearwood Gilbert2025-11-17 22:56:29 -08:00
ead7aade63
Implement KRNodeProperty to reduce boilerplate needed for adding new node attributes
Kearwood Gilbert2025-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.
Kearwood Gilbert2025-11-17 19:40:51 -08:00
b146886691
Streamlined resource handling in Pre-Stream with KRResourceBinding::submitRequest
Kearwood Gilbert2025-11-17 00:55:50 -08:00
61cc889880
KRMesh cleanup, now including lod coverage in resource requests for meshes
Kearwood Gilbert2025-11-17 00:05:48 -08:00
5217ab8018
Removed redundant requestResidency call for m_lightMap in KRModel
Kearwood Gilbert2025-11-16 23:45:04 -08:00