Commit Graph

93 Commits

Author SHA1 Message Date
Wojtek Figat
c67385ef80 Merge branch 'prefab-physics-draw' of https://github.com/Tryibion/FlaxEngine into Tryibion-prefab-physics-draw 2024-08-15 15:26:19 +02:00
f759f94cfa Use CHECK_DEBUG over ASSERT in normalized direction checks 2024-08-07 21:18:09 +03:00
Chandler Cox
3140865780 Add physics and lights debug drawing in prefabs when enabled. 2024-08-06 17:06:23 -05:00
Chandler Cox
649559a917 Fix missing debug draw from prefabs 2024-07-28 13:48:54 -05:00
55d55212c3 Add assertions for checking against un-normalized direction vectors 2024-07-20 15:34:11 +03:00
MrCapy0
cc01e88ce8 fix compilation when calling debug draw on scripts 2024-05-26 11:09:17 -04: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
4f67d14261 forgotten the public keyword in engine/debug/debugdraw.cs 2023-10-10 22:15:31 +00:00
NoriteSC
0a12724974 changed the 3.402823466e+38f to MAX_float 2023-10-10 22:04:30 +00:00
NoriteSC
809b9e3a7a added safeguards 2023-10-01 16:47:33 +02:00
NoriteSC
0b3b32195a Update DebugDraw.cs 2023-09-13 12:17:17 +02:00
NoriteSC
394a3696af removed coppy 2023-09-13 02:54:17 +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
f11ea02550 forgot about const 😅 2023-09-12 11:08:47 +02:00
NoriteSC
78ffcc8ae5 added other defaults 2023-09-12 11:06:46 +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
c6ad4d0e19 small doc fix 2023-09-09 13:07:39 -04:00
Ruan Lucas
420e02e3c1 add empty drawRay 2023-09-09 09:28:06 -04: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
7bec45dacf Typo fixes 2023-03-31 18:29:44 +02:00
Wojtek Figat
510fc443e8 Refactor CoreCLR runtime into explicit dotnet api instead of mocking mono api
Required by platforms that will use mono under the hood for .Net 7
New `USE_CSHARP` define for C# ability
Engine doesn't use `mono_*` apis directly but via MCore/MClass/MMethod/ apis
2023-03-27 17:29:42 +02:00
Wojtek Figat
eed2cdfe04 Progress on dotnet7 runtime hosting with mono 2023-03-22 17:59:46 +01: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
ff1fba403d Various fixes to allow compiling negine with custom build configurations 2022-07-26 23:10:01 +02:00
Wojtek Figat
33513834df Add support for Large Worlds in more engine systems 2022-07-02 20:07:04 +02:00
Wojtek Figat
b49e5e9984 Format more engine code 2022-06-14 20:17:00 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00