Commit Graph

364 Commits

Author SHA1 Message Date
SirLynix 938ba09d45 Graphics: Rework RenderTargets
- RenderTarget have been moved to the Graphics module and are now lightweight objects between the target of rendering (swapchain or texture)
- RenderTexture no longer require a blit between the framegraph texture and the target texture (the target texture is now directly rendered onto using a new feature of the framegraph)
- ForwardFramePipeline viewers are now properly ordered by render order
2023-11-20 23:00:06 +01:00
SirLynix aaf3d97954 Graphics: Add RenderTexture class 2023-11-20 12:36:34 +01:00
SirLynix 5a14808a57 Minor fixes 2023-11-17 11:58:03 +01:00
SirLynix a4b10749f7 C++20 fixes 2023-11-14 15:40:48 +01:00
Lynix e5789d1749 Switch Nazara to C++20 2023-11-14 14:24:28 +01:00
SirLynix 2ff2cd4a9c Build: Fix asan check 2023-11-12 12:13:14 +01:00
SirLynix 8fb6ea728d Graphics: Add data-driven pipeline passes
Fix compilation
2023-11-06 21:30:49 +01:00
SirLynix 4b8a475bbd Split error macro into two versions (format vs non-formating) to allow format checking at compile-time 2023-11-02 15:18:03 +01:00
SirLynix 929b599337 Graphics/ViewerData: Add near and far plane 2023-10-14 14:46:49 +02:00
SirLynix b09b4d2419 Graphics: Add a way to set which passes are enabled in a frame pipeline
This will be replaced soon with a better system
2023-10-08 23:44:24 +02:00
SirLynix e1ccb3187d Core/Color: Add ApproxEqual and make equality exact 2023-09-10 14:43:57 +02:00
SirLynix 21680171a2 Replace GetPlatformEndianness() by PlatformEndianness constexpr
from nazarautils
2023-09-08 09:13:04 +02:00
SirLynix aef8b01f15 Math/Box: Rename FromExtends to FromExtents 2023-09-08 09:06:26 +02:00
SirLynix 557da10dc6 Rework TextDrawer interface 2023-08-24 17:47:20 +02:00
Lynix 216686e7c1 Add support for static compilation on all platforms 2023-08-22 08:17:03 +02:00
SirLynix 03e63cb664 Fix WebRequestTest once for all 2023-08-17 18:31:12 +02:00
SirLynix 6537864abd Fix WebRequest test (in case headers are lowercased) 2023-08-17 18:18:33 +02:00
SirLynix acf0c35e0c Add WebRequest test 2023-08-17 18:05:25 +02:00
SirLynix ab8bac2575 Use fmt store instead of ToString fallback
Thanks to @jonathanpoelen for the idea
2023-08-15 01:10:01 +02:00
SirLynix a741672a51 Allow error message to be formatted 2023-08-15 01:10:01 +02:00
SirLynix 25957c4b7f PresentModeTest: Try to make screen tearing more visible 2023-08-15 00:30:12 +02:00
SirLynix e8620894f7 Renderer: Expose present mode and allow to query/set it 2023-08-13 18:16:03 +02:00
SirLynix 5a299da930 Fix unit tests 2023-08-12 14:43:59 +02:00
SirLynix 4642ea778c ChipmunkPhysics2D/PhysicsSystem: Add query functions wrappers 2023-08-10 12:05:31 +02:00
SirLynix 5484967498 ChipmunkPhysics2D/RigidBody2D: Add unique body index and remove userdata 2023-08-10 08:40:21 +02:00
SirLynix cf6fdf258f Graphics: Add new functions to get default material types/presets 2023-08-08 18:17:58 +02:00
SirLynix 32f8141bd8 ChipmunkPhysics2D: Rework RigidBody2D 2023-08-07 18:17:00 +02:00
SirLynix 888d273695 Tests/ComputeParticlesTest: Fix mapping with OpenGL 2023-08-06 10:14:30 +02:00
SirLynix 31dd74c503 Fix test compilation on macOS
Parallel algorithms are not implemented on macOS
2023-08-04 18:02:16 +02:00
SirLynix b418ed6a32 Tests/ComputeParticlesTest: Change behavior when pressing space
And try to minimize hang by multithreading particle update
2023-08-04 16:42:54 +02:00
SirLynix e2808192aa Minor fixes 2023-07-30 19:46:01 +02:00
SirLynix 218b75558a Core: Add CommandLineParameters 2023-07-30 11:46:55 +02:00
SirLynix b191dacc58 Reenable unit tests in release mode 2023-07-30 10:55:38 +02:00
SirLynix a06769ab2c ComputeParticlesTest: Press key to explode logo 2023-07-27 15:10:14 +02:00
SirLynix cb485cb20b ComputeParticlesTest: Improve demo 2023-07-23 11:11:53 +02:00
SirLynix 1d3190ac24 ComputeParticlesTest: Improve test to actually use Nazara logo 2023-07-21 18:30:47 +02:00
SirLynix d94d5415a3 Add compute shaders as filegroup on VS 2023-07-21 12:12:10 +02:00
SirLynix e3da81dff4 ComputeTest: Fix Vulkan error 2023-07-21 12:12:10 +02:00
SirLynix dee47c6f15 Renderer: Fix BuildMipmaps 2023-07-21 12:12:10 +02:00
SirLynix 4db5b59ec9 Renderer: Refactor transient resources (allow access at any time) 2023-07-21 12:12:10 +02:00
SirLynix de68033a0e Update ComputeParticlesTest 2023-07-21 12:12:10 +02:00
SirLynix e34ba8c05d Add ComputeParticlesTest
Renderer: Add a way to execute commands on the device
2023-07-21 12:12:10 +02:00
SirLynix f2bc1bff7a Update for latest nazarautils update 2023-07-17 19:05:15 +02:00
SirLynix 602361e8e1 Core/Time: Add support for AsSeconds<integer> 2023-06-28 07:04:20 +02:00
SirLynix 96618cbb5b Fix some warnings 2023-06-27 19:31:24 +02:00
SirLynix 161c4f6aca Math/Frustum: Fix Contains(Box) and Intersect(points, n) 2023-06-25 09:50:10 +02:00
SirLynix 4494249dc1 UnitTests/Plane: Fix tests (since plane distance was reversed) 2023-06-23 13:23:45 +02:00
SirLynix b2538028b4 Math/Plane: Rename Distance method to SignedDistance 2023-06-22 17:56:18 +02:00
SirLynix 091a50715e UnitTests: Move number <=> string tests 2023-06-06 18:40:01 +02:00
SirLynix caf8446707 Math: Remove Algorithm file and move string functions to StringExt 2023-06-06 08:59:58 +02:00