Commit Graph

372 Commits

Author SHA1 Message Date
SirLynix f2201404f3 Core/Clock: Add Tick method 2023-12-18 12:15:08 +01:00
SirLynix 83366e93d4 Make changes for breaking NZSL update
Fix build

Fix compilation (again)

Fix global included

TextureAsset belongs to another branch

Add missing include

Fix include (should be good, finally)
2023-12-17 20:40:45 +01:00
SirLynix 6059f608c0 Minor improvements 2023-12-04 00:22:36 +01:00
Lynix 4ee4092bba Cleanup includes 2023-12-02 13:56:24 +01:00
Lynix 079f153640 Minor fixes 2023-11-28 20:05:09 +01:00
SirLynix 72182327dd Core/PrimitiveList: Rework and inline the class 2023-11-26 21:27:24 +01:00
SirLynix 2622951144 Minor fixes 2023-11-26 11:25:52 +01:00
Lynix 1e81b38c0f Graphics: Replace RenderFrame by RenderResources
This changes makes the whole rendering independent from the RenderFrame acquired from the Swapchain.
This may allow to do offscreen rendering (= without swapchain), or multi-window rendering in the future
2023-11-21 23:33:18 +01:00
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