Commit Graph

48 Commits

Author SHA1 Message Date
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
Ruan Lucas
317384ed28 add debugdraw::drawray 2023-09-08 22:19:09 -04:00
Wojtek Figat
64a7985376 Fix GridGizmo to render before transparency in Editor viewport
#1196
2023-06-20 21:59:36 +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
Wojtek Figat
978ee84aea Add support for debug shapes preview in prefab editor window 2021-02-17 17:23:43 +01:00
Wojtek Figat
7cc5560adf Fix compilation warnings 2021-02-17 10:59:08 +01:00
Wojtek Figat
fc4dc8cb50 Merge remote-tracking branch 'origin/1.1' into linux-editor
# Conflicts:
#	Source/FlaxEngine.Gen.cs
#	Source/Tools/Flax.Build/Utilities/Utilities.cs
2021-02-16 18:54:25 +01:00
Wojtek Figat
312e4ad010 Merge branch 'master' into 1.1
# Conflicts:
#	Source/Engine/Content/JsonAsset.h
#	Source/Engine/Core/Config/Settings.h
2021-02-15 10:40:59 +01:00
Wojtek Figat
74c1ac89c8 Add DebugDraw.DrawWireTriangles for wireframe geometry debug drawing 2021-02-12 11:43:46 +01:00
Wojtek Figat
6c253ce892 Fix DebugDraw DrawTriangles crash 2021-02-10 17:20:05 +01:00
Wojtek Figat
81e41d51c8 Remove Unlink from asset reference 2021-02-10 11:37:14 +01:00
W2.Wizard
522e1eb769 Inverted condition 2021-02-06 20:10:22 +01:00
W2.Wizard
f5d1ad5a9b Use ThrowException instead 2021-02-06 13:32:04 +01:00
W2.Wizard
5b32756536 Remove empty space
Just noticed it, so bye bye.
2021-02-06 11:32:58 +01:00
W2.Wizard
8a567f0849 Fix issue #214 2021-02-06 11:29:48 +01:00
Wojtek Figat
37e3a85080 Optimize splines debug rendering performance 2021-01-27 12:33:32 +01:00
Wojtek Figat
023cdced0a Add utility to make spline curve linear or smooth 2021-01-26 09:32:41 +01:00
mafiesto4
c7547b3a46 Merge remote-tracking branch 'origin/master' into linux-editor 2021-01-10 09:14:03 +01:00
mafiesto4
efa5d05f5f Fixes for building editor for Linux 2021-01-05 16:23:02 +01:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
Wojtek Figat
6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00