Commit Graph

14 Commits

Author SHA1 Message Date
dcec8f39a0 Revert "stuff"
This reverts commit 8dd30db30d.
2026-01-08 03:20:44 +00:00
8dd30db30d stuff 2026-01-08 03:06:30 +00:00
7968456f4f feat(mesh): add tangents to MeshPayload and compute during payload building
- Updated MeshPayload structure to include tangents.
- Modified BuildPayloadFromBspBuffer to compute tangents based on vertex normals.
- Enhanced AppendMeshPayload to handle tangents, either from mesh data or generated.
- Updated PushMeshToLua to expose tangents to Lua.
- Adjusted ReadVertexArray to read tangents from Lua.

feat(shader): implement ShaderPipelineValidator for shader validation

- Added ShaderPipelineValidator class to validate shader inputs/outputs and vertex layouts.
- Implemented methods to extract shader attributes and validate against vertex layouts.
- Added comprehensive validation checks for shader pipelines, including SPIR-V requirements.
- Created a logger interface for validation results.

test(shader): add unit tests for ShaderPipelineValidator

- Implemented extensive unit tests for shader validation, covering various scenarios.
- Tests include extraction of shader inputs/outputs, validation of vertex layout matches, stride checks, and interface matching.
- Added edge case tests for empty shaders and comments in GLSL code.
2026-01-07 23:12:45 +00:00
cb5b58ca9e feat(physics): Enhance physics bridge service with new functionalities
- Added SetGravity method to adjust the gravity in the physics world.
- Introduced AddSphereRigidBody method for creating sphere rigid bodies.
- Implemented RemoveRigidBody method to delete existing rigid bodies.
- Added SetRigidBodyTransform method to update the position and rotation of rigid bodies.
- Included ApplyForce and ApplyImpulse methods for applying forces and impulses to rigid bodies.
- Added SetLinearVelocity method to set the linear velocity of rigid bodies.
- Enhanced StepSimulation method to accept a maxSubSteps parameter.
- Implemented GetBodyCount method to retrieve the number of rigid bodies in the world.
- Added Clear method to remove all rigid bodies from the physics world.
- Updated the script engine service to bind new physics methods to Lua.
- Enhanced material configuration handling in shader script service.
- Introduced MaterialXMaterialConfig structure for better material management.
- Added texture binding support in ShaderPaths structure.
- Included stb_image implementation for image loading support.
2026-01-07 00:20:19 +00:00
06e31cf536 feat: Enable MaterialX support and refactor rendering pipeline to utilize view state 2026-01-06 15:56:44 +00:00
2fef2b14ca feat: Add PBR shader support and atmospherics configuration 2026-01-05 10:05:52 +00:00
00a359d85f refactor: Enhance service architecture by introducing IPlatformService and updating dependencies
- Removed core/platform.hpp and core/vulkan_utils.cpp, integrating their functionality into new platform_service implementations.
- Updated service registrations to utilize IPlatformService for improved modularity.
- Refactored event bus usage across services to leverage IEventBus interface.
- Enhanced buffer management in BufferService with detailed logging and error handling.
- Updated GUI rendering services to utilize buffer service for resource management.
- Cleaned up includes and improved overall code organization for better maintainability.
2026-01-04 17:43:18 +00:00
1e6be869e0 Refactor script and audio services to enhance logging and remove unused components
- Removed the LuaScriptService implementation and interface as it was redundant.
- Updated ShaderManager and ScriptEngine to utilize ILogger for improved logging.
- Enhanced SdlAudioService with detailed logging for audio operations and error handling.
- Refactored physics bridge service to include logging for physics operations.
- Updated interfaces to remove IScriptService and adjust dependencies accordingly.
- Cleaned up includes and organized namespaces for better code clarity.
2026-01-04 17:14:06 +00:00
f1fe6dedfb feat: Add Vulkan utility functions for buffer creation and memory management 2026-01-04 14:07:13 +00:00
e86f277b19 feat: Include string_utils.hpp in audio_player, platform, main, and lua_helpers for enhanced logging capabilities 2026-01-04 02:00:41 +00:00
4edf0a2bbf feat: Enhance logging with detailed function tracing and argument conversion utilities 2026-01-04 01:58:08 +00:00
d8d1c0a557 feat: Enhance logging system with platform-specific error handling and trace functionality
- Added platform detection and user configuration directory retrieval in platform.cpp and platform.hpp.
- Implemented detailed error reporting for Windows in platform.cpp.
- Updated logger to use std::source_location for improved trace logging in logger.hpp.
- Refactored existing trace guards in various application files to remove function name parameters, utilizing the new logger functionality.
- Introduced a new script (add_traces.sh) to automate the addition of logging includes in relevant source files.
- Enhanced audio_player.cpp and other script files to include detailed logging for function entries and variable states.
2026-01-04 01:38:31 +00:00
Richard Ward
3ca9ce773d code 2025-12-18 19:13:31 +00:00
Richard Ward
be008b19ca break it up a bit 2025-12-18 18:56:31 +00:00