Commit Graph

114 Commits

Author SHA1 Message Date
36d8a40fcc feat(shader): Enhance shader creation for OpenGL and Vulkan by adding SPIRV wrapping and improved error logging 2026-01-07 10:27:51 +00:00
e6055bb6d5 feat(shader): Remove shader path functions and related module references 2026-01-07 02:01:07 +00:00
172aa1a551 Refactor shader handling: Remove Lua shader variant script and update shader path loading
- Deleted the shader_variants.lua script, which contained functions for building shader parameter overrides and shader variants.
- Updated ShaderScriptService to remove Lua integration for shader path loading, now relying solely on MaterialX configuration.
- Simplified logging and error handling in shader path loading, ensuring clarity in the absence of shader variants.
2026-01-07 01:56:06 +00:00
fb811f4460 feat: Add MaterialX support and enhance time retrieval in scripting 2026-01-07 01:38:03 +00:00
4f86e0488a feat(physics): Disable physics state on setup failure 2026-01-07 01:08:50 +00:00
c0c1fb881e feat: Enhance physics integration and scripting capabilities
- Added support for triangle mesh rigid bodies in the physics bridge service.
- Implemented methods to create static meshes and retrieve linear velocities in the script engine service.
- Introduced new Lua bindings for physics operations, including `physics_create_static_mesh` and `physics_get_linear_velocity`.
- Improved shader creation in the graphics backend with auto-bind uniform options and error handling.
- Refactored shader generation to consolidate output and input declarations into structured blocks.
- Enhanced GUI service with better resource logging and error handling.
- Added utility functions for transforming points using matrices.
2026-01-07 01:08:26 +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
7b6f2d4567 feat: Add support for loading meshes from PK3 archives
- Updated CMakeLists.txt to find and link libzip.
- Modified conanfile.py to include libzip as a dependency.
- Created a new configuration file for Quake 3 runtime settings.
- Implemented loading of Quake 3 maps from PK3 archives in mesh_service.
- Added new Lua bindings for loading meshes from archives in script_engine_service.
- Enhanced material handling in materialx_shader_generator to support vertex data blocks.
2026-01-06 17:33:43 +00:00
06e31cf536 feat: Enable MaterialX support and refactor rendering pipeline to utilize view state 2026-01-06 15:56:44 +00:00
512eced3b0 feat(materialx): Integrate MaterialX support for PBR parameters and enhance shader functionality 2026-01-06 15:29:59 +00:00
a5b47479d7 Refactor graphics service architecture and remove Vulkan-specific components
- Deleted VulkanGuiService and associated interfaces to streamline GUI rendering.
- Removed RenderGraphConfig and GraphicsBackendConfig, replacing them with BgfxConfig.
- Eliminated unused render graph structures and interfaces to simplify codebase.
- Updated IConfigService and IGraphicsBackend interfaces to reflect new configurations.
- Removed Vulkan device and buffer service interfaces to reduce complexity.
- Enhanced error handling and validation across Vulkan initialization and resource management.
- Updated unit tests to remove references to the obsolete render graph functionality.
2026-01-06 15:08:20 +00:00
793fea5e77 fix: Update paths for Conan toolchain and presets to use build-ninja layout 2026-01-06 13:46:13 +00:00
4e15e08b7f stuff 2026-01-06 13:25:49 +00:00
b05a63db9e feat(render): Implement compatibility render graph with tonemapping options and logging enhancements 2026-01-06 10:28:00 +00:00
fb71265a5b feat: Implement render graph support in Vulkan backend
- Added RecordRenderGraph method to IRenderCommandService and its implementation in RenderCommandService.
- Updated VulkanGraphicsBackend to handle render graph definitions and record commands accordingly.
- Introduced GetDepthFormat method in ISwapchainService to retrieve depth buffer format.
- Enhanced VulkanGraphicsBackend with methods to set render graph definitions and manage render graph resources.
- Added RenderGraphImage structure to manage render targets and depth targets within the render graph.
- Updated interfaces and services to accommodate new render graph functionality, including descriptor set layout retrieval in IPipelineService.
2026-01-06 02:02:52 +00:00
b11a2f9e30 fix(skybox): Adjust skybox scale calculation based on room dimensions 2026-01-06 01:20:00 +00:00
473b1f8e64 feat(vita): Enhance Vita SDK support with environment overrides and build configuration 2026-01-06 01:18:21 +00:00
1f3e48ae27 feat(atmospherics): Add sky color configuration and apply in rendering 2026-01-06 01:07:26 +00:00
73e92a39d2 fix(rendering): Enable SSGI in render graph configuration 2026-01-06 00:54:30 +00:00
c2346e5232 fix(cube_logic): Adjust lantern height and enable additional rendering features 2026-01-06 00:49:34 +00:00
1efaeb0510 feat(render-graph): Add support for SDF, SSGI, DDGI, VXGI, motion blur, and depth of field in render graph 2026-01-06 00:44:26 +00:00
9af460d252 feat(render-graph): Enhance render graph configuration with new resolution functions and improved pass handling 2026-01-06 00:40:44 +00:00
01f1e94994 feat(render-graph): Implement Lua-based render graph system
- Added render graph configuration to JSON files and runtime settings.
- Introduced RenderGraphScriptService to load and manage render graph definitions from Lua.
- Updated GraphicsService to handle render graph definitions.
- Enhanced cube_logic.lua with a sample render graph function.
- Modified various services and interfaces to support render graph functionality.
- Improved logging for render graph operations and configurations.
2026-01-06 00:14:00 +00:00
84cd9e4f46 feat: Enhance cube mesh handling with double-sided indices support 2026-01-06 00:03:53 +00:00
99690e381d feat: Implement double-sided cube indices generation for enhanced rendering 2026-01-05 23:56:04 +00:00
d7d4411251 feat: Refactor shader handling by implementing inline shader sources and enhancing error handling 2026-01-05 23:44:00 +00:00
945b724838 Refactor shader management and remove unused shaders
- Introduced a shader toolkit for dynamic shader generation in soundboard.lua.
- Removed obsolete shader files: ceiling.frag, cube.frag, cube.vert, floor.frag, pbr.frag, pbr.vert, solid.frag, solid.vert, wall.frag.
- Updated pipeline_service to handle inline shader sources and paths, improving shader registration and validation.
- Enhanced shader_script_service to support optional shader source paths alongside traditional paths.
- Modified ShaderPaths structure to include source fields for vertex, fragment, geometry, tessellation control, tessellation evaluation, and compute shaders.
- Updated test_gxm_backend to reflect changes in shader paths and ensure successful pipeline creation.
2026-01-05 23:34:48 +00:00
bd0568187e Refactor shader variant management and enhance shader generation
- Moved static shader variant definitions into a dedicated function for better organization.
- Introduced functions to count shader variants and build shader variants dynamically using a shader toolkit.
- Added error handling for shader toolkit availability and generation failures.
- Enhanced shader toolkit with new functions for reading and writing text files conditionally.
- Implemented new shader templates and variants for improved flexibility in shader generation.
- Updated existing shader templates to utilize the new structure and functions.
2026-01-05 23:16:44 +00:00
e0c35c6845 feat: Update shader paths to remove file extensions for consistency 2026-01-05 22:14:52 +00:00
90e7882cb2 feat: Integrate shaderc for shader compilation and enhance shader file handling 2026-01-05 22:12:13 +00:00
d5e14de2d0 feat: Add shaderc dependency and implement shader toolkit script 2026-01-05 21:57:12 +00:00
3f1684ef03 feat: Add support for additional shader types and enhance shader path handling 2026-01-05 21:38:56 +00:00
ce0a6d8754 feat: Update surface colors for floor, ceiling, and wall shaders 2026-01-05 21:17:41 +00:00
a96e1981ff feat: Update piano music track 2026-01-05 21:09:14 +00:00
80363a9673 feat: Update music track and adjust surface tint colors for shaders 2026-01-05 21:03:43 +00:00
843aef30fa feat: Update colors and add texture effects for floor, ceiling, and wall shaders 2026-01-05 20:58:42 +00:00
3395572e90 feat: Add new shaders for floor, ceiling, and wall; update shader handling in cube creation 2026-01-05 20:49:37 +00:00
87d72e6e12 feat: Enhance spinning cube shader and adjust rainbow color calculations 2026-01-05 20:41:48 +00:00
2af65b3352 feat: Refactor spinning cube creation and update room object colors 2026-01-05 20:34:41 +00:00
c910ec5dcf Implement Vulkan Graphics Backend and Interfaces
- Added VulkanGraphicsBackend class for Vulkan rendering implementation.
- Created IGraphicsBackend interface for abstracted rendering operations.
- Introduced GraphicsConfig structure for graphics service configuration.
- Updated graphics_types.hpp with new configuration options.
- Implemented Vulkan backend initialization, device management, and rendering methods.
- Added tests for GXM Graphics Backend to validate functionality.
- Refactored existing graphics service interface to support backend-agnostic design.
2026-01-05 19:00:35 +00:00
7bf0efffcb feat: Add Vita SDK integration with CMake support and update development scripts 2026-01-05 18:08:43 +00:00
af5d4d0a02 feat: Enhance background opacity handling and optimize pixel rendering for transparency 2026-01-05 16:51:17 +00:00
114208ab64 feat: Update GUI opacity handling and rename function for clarity 2026-01-05 16:46:23 +00:00
5d35759179 feat: Add gui_opacity configuration and apply opacity in GUI rendering 2026-01-05 16:44:10 +00:00
19450edc52 feat: Update mouse grab behavior and add gamepad state handling in InputState 2026-01-05 16:14:01 +00:00
af064b287a feat: Refactor color handling in GUI commands and add ReadColorField method 2026-01-05 15:44:14 +00:00
5c5f91d5e1 feat: Add FPS toggle functionality and bind key to configuration 2026-01-05 15:04:46 +00:00
5fec5e9544 feat: Enhance input handling and window services
- Added mouse delta tracking to InputState for improved mouse movement feedback.
- Introduced FPS mode toggle in GUI demo, allowing for relative mouse movement and cursor visibility control.
- Implemented input service methods for mouse position, delta, wheel, and key/action state checks.
- Updated SDL input service to handle relative mouse mode and mouse grabbing more effectively.
- Enhanced window service with methods to manage mouse grabbing and cursor visibility.
- Updated interface definitions for IInputService and IWindowService to include new functionalities.
2026-01-05 14:49:40 +00:00
13bfe28c25 feat: Add cursor rendering function to GUI and integrate it into demo 2026-01-05 14:19:58 +00:00
92f31e736c feat: Add Apache License and Roboto font files; implement basic GUI shaders 2026-01-05 13:47:27 +00:00