Commit Graph

67 Commits

Author SHA1 Message Date
Wojtek Figat
206ff89587 Add constant buffers alignment for data structures (16-byte boundaries) 2024-05-23 13:58:46 +02:00
Wojtek Figat
8144db8e13 Fix various issues found with adrress sanitizer on macOS 2024-04-13 19:20:49 +02:00
Wojtek Figat
71dad84908 Fix Z-fighting issues in Debug Draw when using TAA 2024-03-19 17:53:14 +01:00
Wojtek Figat
388b64a46d Add support for hot-reloading Debug Draw shader 2024-03-19 16:03:19 +01:00
Wojtek Figat
cf3145273f Fix TAA jitter in post-resolve passes such as editor primitives and debug gizmos 2024-03-19 16:02:50 +01:00
Wojtek Figat
22a3f9565f Add old DrawRay api 2024-02-28 13:26:24 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
c1400748b0 Fix debug draw lists allocation
#2259
2024-02-19 20:36:41 +01:00
Wojtek Figat
7e10baf5ea Fixes to code 2024-02-19 14:53:34 +01:00
Wojtek Figat
d2b8d14ca7 Merge branch 'Debug' of https://github.com/NoriteSC/FlaxEngineFork into NoriteSC-Debug
# Conflicts:
#	Source/Engine/Debug/DebugDraw.h
2024-02-19 14:28:28 +01:00
Mr. Capybara
3c19262574 Add parameter to change arrow cap size 2023-12-17 10:15:41 -04:00
Wojtek Figat
ae85a94261 Fix memory leak while doing drag&drop with Debug Draw in use
#1723
2023-11-06 17:18:20 +01:00
NoriteSC
809b9e3a7a added safeguards 2023-10-01 16:47:33 +02:00
NoriteSC
f71f214f36 bug fix macro added extra macros 2023-09-13 02:53:20 +02:00
NoriteSC
d107947ba9 Update DebugDraw.cpp 2023-09-12 11:19:19 +02:00
NoriteSC
3bfa37019e DebugDraw extra
fixes
ray direction was dictating the length of ray
now ray is normalized and multiplied by length
added default vaule for
Color& color to be Color::White
[info] c# because
Color color = Color.White
is not valid think to do on c# side the default value is not genereted
[to do] generate extra overload binding in c#
2023-09-12 11:01:56 +02:00
Wojtek Figat
fb488cbaf7 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-11 22:43:46 +02:00
Ruan Lucas
317384ed28 add debugdraw::drawray 2023-09-08 22:19:09 -04:00
Wojtek Figat
c6a82b8c36 Add DebugDraw::DrawLine with separate start/end colors 2023-07-13 13:08:53 +02:00
Wojtek Figat
e4c3461053 Merge remote-tracking branch 'origin/master' into 1.7 2023-07-03 22:01:50 +02:00
Wojtek Figat
64a7985376 Fix GridGizmo to render before transparency in Editor viewport
#1196
2023-06-20 21:59:36 +02:00
Wojtek Figat
a6353c0bb9 Rename GPUPipelineState::Description::PrimitiveTopologyType to PrimitiveTopology 2023-06-19 11:53:40 +02:00
Wojtek Figat
5a66e90b56 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	.github/workflows/tests.yml
#	Source/Engine/Content/JsonAsset.cs
2023-05-07 19:46:29 +02:00
Wojtek Figat
713cf0d4b2 Improve #1077 to use a single pixel shader with permutations 2023-05-07 11:01:30 +02:00
Wiktor Kocielski
42a9eaf72e Make DebugDraw render lines with unlit PS 2023-05-05 16:29:12 +03:00
Wojtek Figat
ba319d8499 Add scale parameter to DebugDraw text drawing to rescale text without reducing font size 2023-04-29 12:09:36 +02:00
Wojtek Figat
c46ea56af2 Rename DepthTestEnable to DepthEnable in Graphics PSO to match actual logic 2023-01-31 14:04:00 +01:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
e217d5e79b Refactor scene rendering to separate drawable actors 2022-10-28 17:53:21 +02:00
Wojtek Figat
33513834df Add support for Large Worlds in more engine systems 2022-07-02 20:07:04 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojtek Figat
f82e370392 Refactor Vector types to support 64-bit precision via define switch 2022-05-25 20:04:33 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
7ca83858ab Optimize vertex buffer writing in Debug Draw 2021-10-27 11:03:08 +02:00
Wojtek Figat
5c60281814 Adjust debug shape arrow size 2021-09-29 10:07:51 +02:00
Wojtek Figat
2f77a94395 Add DebugDraw.DrawArc and DebugDraw.DrawWireArc 2021-09-29 10:07:50 +02:00
Wojtek Figat
e0aeae05be Add DebugDraw.DrawCone and DebugDraw.DrawWireCone 2021-09-29 10:07:50 +02:00
Wojtek Figat
6f8e18f5b3 Add faked lighting to improve Debug Draw solid shapes rendering readability 2021-07-14 14:51:50 +02:00
Wojtek Figat
151b478a97 Add more helper methods for batched debug shapes drawing 2021-07-14 13:40:58 +02:00
Wojtek Figat
4fc55f4849 Add DebugDraw::DrawTube 2021-07-14 13:40:34 +02:00
Wojtek Figat
e455ada90a Optimize Debug Draw wireframe sphere to use auto-LOD 2021-06-14 14:22:46 +02:00
Wojtek Figat
da0c8ffff9 Optimize Debug Draw for large amount of single-frame debug shapes and lines 2021-06-14 13:29:47 +02:00
Wojtek Figat
0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02:00
Wojtek Figat
20b65a08d9 Add DrawCylinder and DrawWireCylinder to DebugDraw 2021-03-23 12:21:07 +01:00
Wojtek Figat
31d1932d55 Fix debug shapes leftovers update in editor after playmode
Fixes #223
2021-03-01 14:32:06 +01:00
Wojtek Figat
84ee882439 Post merge fixes 2021-02-23 22:43:07 +01:00
Wojtek Figat
5a9ca6f130 Merge remote-tracking branch 'origin/1.1' into linux-editor
# Conflicts:
#	Source/Engine/Core/Math/BoundingSphere.cs
#	Source/Engine/Debug/DebugDraw.cpp
#	Source/Engine/Platform/Win32/Win32Platform.cpp
#	Source/Engine/Platform/Win32/Win32Platform.h
2021-02-23 22:32:17 +01:00
Wojtek Figat
dc352edce7 Add DebugDraw::DrawText for drawing 3D debug text in the world 2021-02-18 15:16:10 +01:00
Wojtek Figat
74823a8bcf Add DebugDraw::DrawText for drawing 2D debug text on a screen 2021-02-18 12:39:53 +01:00