Commit Graph

504 Commits

Author SHA1 Message Date
SirLynix 648273573d Make Jolt work on web + update demo 2023-04-10 17:12:23 +02:00
SirLynix c5ac142888 Add JoltPhysics3D for a performance test 2023-04-10 17:12:23 +02:00
SirLynix bd4c2d6ee7 Rename Physics3D to BulletPhysics3D 2023-04-10 17:12:23 +02:00
SirLynix 9306ce246f Re-enable demo using Physics3D on web 2023-04-10 17:12:23 +02:00
SirLynix 795efae3a0 Physics3D: Switch from Newton Dynamics to Bullet3 2023-04-10 17:12:23 +02:00
SirLynix 9b4d297c04 Update includes for new NazaraUtils version 2023-03-19 13:01:56 +01:00
SirLynix 506d3939a8 Minor improvements 2023-03-17 19:24:33 +01:00
SirLynix faa16380df Fix warnings 2023-03-09 17:51:29 +01:00
SirLynix 55f2937678 Graphics/GraphicalMesh: Add AABB 2023-03-09 17:50:38 +01:00
SirLynix 5a57aca66a Last changes 2023-02-02 20:34:25 +01:00
SirLynix cee75dcc11 Merge fixes 2023-02-02 20:34:25 +01:00
SirLynix 292ca60592 WIP 2023-02-02 20:34:25 +01:00
SirLynix ea5c5240fc Improve emscripten support 2023-02-02 20:34:25 +01:00
REMqb 7cb90782de ~ fix post rebase & dirty fix avoid deleting shaders before linking them 2023-02-02 20:34:25 +01:00
REMqb f172330aaf ~ WIP port emscripen (WebGL) 2023-02-02 20:34:25 +01:00
SirLynix 1406705491 Update Tut02 2023-02-02 13:28:42 +01:00
SirLynix f081d4db57 Update Tut01 to match wiki 2023-01-29 12:27:43 +01:00
SirLynix 3f200edeb6 Graphics: Set default render mask for LightComponent and GraphicsComponent 2023-01-29 11:38:08 +01:00
SirLynix 4a91f3d470 Renderer: Make WindowSwapchain a RenderTarget
To make it easier to handle window re-creation
2023-01-29 10:38:35 +01:00
SirLynix 97fa4d98be Rework EnTT integration
- Update EnTT to 3.11.1
- Moved EnTT wrapper to EnTTWorld, inheriting EntityWorld
- AppEntitySystemComponent can now handles multiple EntityWorld
- Headers relying on EnTT are now automatically included if NAZARA_ENTT is defined
- Renamed SystemGraph to EnttSystemGraph (as it depends on it for now)
2023-01-28 19:28:43 +01:00
SirLynix d27ca55943 Core/AppFilesystemComponent: Add support for default resource parameters 2023-01-28 11:27:49 +01:00
SirLynix ca0c4a5db7 Core: Add AppFilesystemComponent 2023-01-22 18:00:26 +01:00
SirLynix 4668a1d158 Update examples and tests code 2023-01-22 12:37:58 +01:00
SirLynix da9eb14ebe Handle windows and EnTT with application components 2023-01-22 12:37:58 +01:00
Lynix 8db1c04568 Make Application template and responsible for modules init 2023-01-22 12:37:58 +01:00
Jérôme Leclercq dd421a6385
Replace float/UInt64 durations by a more precise Time class (#388)
Improve Clock class with atomic RestartIfOver method and allows to choose required precision
2022-12-29 21:31:46 +01:00
SirLynix 9a553e5e9d Core: Make Color constexpr 2022-12-29 12:13:00 +01:00
SirLynix 4b804dc613 Move ComputeTest,GraphicsTest,RenderTest and Std140Debug to the tests folder
Also renamed NazaraUnitTests to UnitTests
2022-12-26 08:44:11 +01:00
SirLynix fe8715f1fb Renderer: Working compute implementation 2022-12-25 19:19:16 +01:00
SirLynix 4605eed0da Add compute demo (WIP) + fixes creation of compute pipelines 2022-12-25 19:19:16 +01:00
SirLynix 9578ba3ef5 Add initial support for compute pipelines 2022-12-25 19:19:16 +01:00
SirLynix a1e62adb71 Improve Physics2DDemo 2022-12-18 15:04:10 +01:00
SirLynix 830eee78a8 Math: Rework Box and Rect classes 2022-12-18 14:57:14 +01:00
SirLynix 811194bb97 Fix Physics2DDemo 2022-12-17 15:36:21 +01:00
SirLynix f8238a6e6c Graphics: Implement point-light shadow-mapping 2022-12-08 18:17:13 +01:00
SirLynix 06f45db91c Improve demos 2022-12-08 18:17:13 +01:00
SirLynix ec3bc45544 Graphics/LightComponent: Replace AttachLight with AddLight 2022-12-08 18:17:13 +01:00
SirLynix d7eab778fb Graphics/FrameGraph: Add FramePassAttachmentSize enum instead of boolean 2022-12-08 18:17:13 +01:00
SirLynix d6b9b4327a Showcase: add multiple lights 2022-12-08 18:17:13 +01:00
SirLynix f572d229d9 Update demo code 2022-12-08 18:17:13 +01:00
SirLynix e990a320cc WIP 2022-12-08 18:17:13 +01:00
SirLynix 4a10c1f8fe Add shadow mapping (wip) 2022-12-08 18:17:13 +01:00
SirLynix 8eed1161e5 RenderTest: Don't directly load mesh into VRAM 2022-12-06 07:48:38 +01:00
Lynix 02387b8fe3 Graphics: Add Tilemap 2022-11-25 19:28:22 +01:00
SirLynix 1205155466 Graphics/Material: Rename CreateInstance to Instantiate 2022-11-05 00:14:16 +01:00
SirLynix 1f4bc24685 Improve PhysicsDemo a bit 2022-10-31 22:44:37 +01:00
SirLynix 6b8be23fa0 Switch index/vertex count to UInt32 2022-10-31 19:54:25 +01:00
Jérôme Leclercq dc6ce8427c
Refactor material system (#382) 2022-10-31 19:53:41 +01:00
SirLynix 0a8048809c XMake: simplifies option syntax 2022-10-10 08:49:52 +02:00
SirLynix 6bf4ccaae1 Core/ParameterList: Rework Parameter getter using Result 2022-09-09 13:47:06 +02:00
SirLynix 99c9df5731 Graphics: Add default materials 2022-09-08 08:57:11 +02:00
SirLynix 7f7ddb415b Graphics: Fix TextureLoader 2022-09-08 08:56:57 +02:00
SirLynix 6bb1ee283f Fix DeferredShading demo 2022-09-06 13:00:53 +02:00
SirLynix 017a6c7af3 Graphics: Use memory pools for render elements 2022-08-30 19:27:52 +02:00
SirLynix 7949c57f16 Utility: Add a better way to attach objects to joints 2022-08-30 18:31:04 +02:00
SirLynix 50ed8b4028 Add initial support for skeletal entities / components 2022-08-27 03:07:48 +02:00
SirLynix 7ada266917 Graphics: Add PredefinedSkeletalData 2022-08-25 12:59:01 +02:00
SirLynix 3a366cc1e4 Core: Rewrite plugin system 2022-08-25 12:59:01 +02:00
SirLynix d7ad5cc846 Showcase: Draw skeleton 2022-08-25 12:59:01 +02:00
SirLynix b37af6da31 Final skeletal fixes 2022-08-25 12:59:01 +02:00
SirLynix a9801894e8 Merge fixes 2022-08-25 12:59:01 +02:00
SirLynix b8ea79c40e Commit current work 2022-08-25 12:59:01 +02:00
SirLynix e5e3026005 Push current work 2022-08-25 12:59:01 +02:00
SirLynix 104f60f3e7 Add support for GPU skinning (WIP) 2022-08-25 12:59:01 +02:00
SirLynix f1549b934c Graphics: Add DebugDrawer support 2022-08-17 20:12:49 +02:00
SirLynix 4a5f866754 Renderer: Add DebugDrawer 2022-08-17 20:11:06 +02:00
SirLynix 38e32025e9 Add a way to embed renderer backends code into NazaraRenderer 2022-08-07 20:19:04 +02:00
SirLynix e51695274c Widgets: Fix ScrollAreaWidget 2022-08-02 08:13:17 +02:00
SirLynix 05c78da22a WIP 2022-08-02 08:13:17 +02:00
SirLynix d783418a63 Allow to disable example building 2022-07-27 23:02:24 +02:00
Lynix ad8b46db38 Rename Diffuse to BaseColor 2022-07-19 20:02:01 +02:00
Lynix 75015862dc Fix PBR example 2022-07-18 22:34:14 +02:00
SirLynix b2fad27618 Fix basic material and add demo 2022-07-18 22:04:44 +02:00
SirLynix 6882163693 Update for latest NZSL version 2022-07-16 14:17:04 +02:00
SirLynix a476e705f8 Fix WidgetDemo 2022-07-12 08:28:06 +02:00
SirLynix 31b39ce0e1 Restore original GraphicsTest demo
wrong test was commited in 1b678defae
2022-07-07 09:02:29 +02:00
SirLynix 1b678defae Add system graph (wip) 2022-07-02 19:45:50 +02:00
SirLynix f3c889c5d5 Examples: Fix crash/high CPU usage when minimized 2022-06-16 19:57:40 +02:00
SirLynix 6f18a02999 Add fullscreen vertex shader module 2022-06-16 19:26:57 +02:00
SirLynix 62ba4f172b Graphics/GraphicalMesh: Allow to update submeshes 2022-06-16 18:19:48 +02:00
SirLynix c7b6d83bbc Last nzsl version update 2022-06-07 20:18:16 +02:00
SirLynix ca23942d36 Update URL 2022-05-27 13:14:13 +02:00
SirLynix 5507b98f2f Remove assets from repository and download them using xmake 2022-05-27 08:34:36 +02:00
Jérôme Leclercq 03e2801dbe Split engine to packages NazaraUtils and NZSL (#375)
* Move code to NazaraUtils and NZSL packages

* Reorder includes

* Tests: Remove glslang and spirv-tools deps

* Tests: Remove glslang init

* Remove NazaraUtils tests and fix Vector4Test

* Fix Linux compilation

* Update msys2-build.yml

* Fix assimp package

* Update xmake.lua

* Update xmake.lua

* Fix shader compilation on MinGW

* Final fixes

* The final fix 2: the fix strikes back!

* Disable cache on CI

* The return of the fix™️
2022-05-25 19:36:10 +02:00
SirLynix e7274b24e9 Core/Color: Switch formal from RGBA8 to RGBA32F 2022-04-23 16:08:15 +02:00
Lynix 3f53e4f86e Fix compilation 2022-04-19 18:32:17 +02:00
SirLynix c209552f81 Math/Matrix4: Rework "transform matrix" support 2022-04-19 18:32:16 +02:00
SirLynix 68d2dfcae6 Move FieldOffsets class to Shader module and remove Utility dependency 2022-04-04 19:22:18 +02:00
SirLynix 9d526741b9 Add proper support for IndexType and uint32 indices 2022-04-04 09:02:00 +02:00
Lynix 45f0825a6e Audio: Final fixes 2022-03-19 12:16:52 +01:00
Jérôme Leclercq 82641c6653 Audio: Add dummy device (in case OpenAL fails to load) and unifiate unit tests 2022-03-18 19:03:57 +01:00
Jérôme Leclercq 19f6bdf7e0 Add Physics2D components and systems (WIP) 2022-03-16 08:24:57 +01:00
Jérôme Leclercq 9b1583501b Cleanup PhysicsDemo example 2022-03-16 08:23:41 +01:00
Jérôme Leclercq e40e8eb204 Shader: Change module system (no longer based on path) 2022-03-14 18:30:55 +01:00
Jérôme Leclercq b595a5d4ec Examples/DeferredShading: Use modules 2022-03-14 18:30:55 +01:00
Jérôme Leclercq db0c1e6e8c Shader: Add module resolver + use modules for engine shaders 2022-03-14 18:30:55 +01:00
Jérôme Leclercq 39a2992791 Shader: Minor module fixes 2022-03-14 18:30:55 +01:00
Jérôme Leclercq be9bdc4705 Modules are workings \o/ 2022-03-14 18:30:55 +01:00
Jérôme Leclercq 43ac86e85c Shader/Modules: proof of concept 2022-03-14 18:30:55 +01:00
Jérôme Leclercq 99e07e6e1e Shader: Add module statement 2022-03-14 18:30:55 +01:00