Commit Graph

338 Commits

Author SHA1 Message Date
Wojtek Figat
18cd7b657e Fix compilation error 2022-06-13 23:57:19 +02:00
Wojtek Figat
b815ba51a5 Fix build issues 2022-06-13 23:37:11 +02:00
Wojtek Figat
e43515f653 Merge remote-tracking branch 'origin/gi' into large-worlds
# Conflicts:
#	Source/Engine/Graphics/PostProcessSettings.cpp
#	Source/Engine/Level/Actors/SkyLight.cpp
#	Source/Engine/Renderer/GBufferPass.cpp
#	Source/Engine/Renderer/GI/GlobalSurfaceAtlasPass.cpp
#	Source/Engine/Renderer/GlobalSignDistanceFieldPass.cpp
#	Source/Engine/Renderer/GlobalSignDistanceFieldPass.h
#	Source/Engine/Renderer/RenderList.h
2022-06-13 00:46:33 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojciech Figat
d4839b9c78 Add Global Illumination options to PostFx Settings 2022-06-10 18:48:17 +02:00
Wojciech Figat
f685c67275 Add Global SDF quality setting and support for variable cascades count and resolution 2022-06-10 14:30:40 +02:00
Wojtek Figat
f82e370392 Refactor Vector types to support 64-bit precision via define switch 2022-05-25 20:04:33 +02:00
Wojtek Figat
b30d22fa45 Missing change 2022-05-23 19:55:18 +02:00
Wojtek Figat
2eb51f9a83 Reformat code in Math libary 2022-05-21 20:04:12 +02:00
Wojtek Figat
785f8915b7 Merge remote-tracking branch 'origin/gi' into large-worlds
# Conflicts:
#	Source/Engine/Core/Math/Vector3.h
2022-05-21 19:45:13 +02:00
Wojtek Figat
5e6c518c39 Minor adjustments 2022-05-21 11:48:54 +02:00
Wojtek Figat
b7459c7311 Inline various operators in math types for better performance in Debug builds and better inlining 2022-05-21 11:36:27 +02:00
Wojtek Figat
ed908a260e Add support for Double2/3/4 for Variant
Increase size to 40 bytes to store Double3 without allocations
Change Ray and BoundingBox to be stored inlined in BoundingBox
Use safer accessors to read Variant explicit data type
2022-05-20 18:10:35 +02:00
Wojtek Figat
2369b6a34a Add support for double serializtion in C++ 2022-05-20 15:53:50 +02:00
Wojciech Figat
1a64df9116 Add more math utilities 2022-05-19 16:03:54 +02:00
Wojtek Figat
04c0f19584 Add Double2, Double3, Double4 to C# scripting API 2022-05-18 23:23:50 +02:00
Wojtek Figat
523d961f28 Add various improvements for C# math library 2022-05-18 22:30:50 +02:00
Wojtek Figat
4a2e8d0a69 Cleanup and adjustments for vector types 2022-05-16 23:52:38 +02:00
Wojciech Figat
c74b66f728 Add Quaternion::RotationMatrix from Matrix3x3 rotation 2022-05-16 10:05:15 +02:00
Wojciech Figat
551459022d Merge remote-tracking branch 'origin/master' into gi
# Conflicts:
#	Source/Editor/Windows/Assets/VisualScriptWindow.cs
2022-05-02 10:38:14 +02:00
Wojtek Figat
1859d7c2f5 Inline Vector4 == operator manually 2022-05-01 21:48:35 +02:00
Wojtek Figat
12d960e787 Merge branch 'vector2_fix' of https://github.com/GoaLitiuM/FlaxEngine 2022-05-01 21:45:28 +02:00
Wojtek Figat
158c29e598 Add **Dictionaries to Visual Scripting** 2022-04-27 22:47:54 +02:00
Wojciech Figat
27a1dc8966 Improve property names displaying in UI and add Unit Test for it 2022-04-27 14:12:27 +02:00
703152cb2f Fix Vector2 equality comparison 2022-04-24 21:17:27 +03:00
Wojciech Figat
42bb4483b3 Minro tweaks to comments 2022-04-22 15:15:33 +02:00
Wojciech Figat
cad9bad950 Merge remote-tracking branch 'origin/master' into gi 2022-04-21 12:57:08 +02:00
Wojciech Figat
8ed2bb4179 Fix HashSet::Remove return value if empty 2022-04-21 11:37:50 +02:00
Wojciech Figat
c53a463bb1 Refactor HashSet to support custom allocator 2022-04-19 17:14:29 +02:00
Wojciech Figat
a6c14bd986 Fix Dictionary::Remove return value if empty 2022-04-16 22:49:03 +02:00
Wojtek Figat
ddb9b327d4 Add Color.FromRGBA 2022-04-15 19:16:30 +02:00
Wojtek Figat
47cc49a962 Add Delegate::BindUnique 2022-04-14 22:17:40 +02:00
Wojtek Figat
a27d69f852 Improve Json Asset development workflow 2022-04-13 21:19:10 +02:00
Wojciech Figat
aba0e46073 Add utility ctors to Half vectors 2022-04-05 17:21:55 +02:00
Wojciech Figat
3ded5326a2 Add more utilities for using Matrix3x3 2022-04-04 17:09:47 +02:00
Wojciech Figat
d5297f9047 Add option to always render Global SDF 2022-03-24 14:59:14 +01:00
Wojciech Figat
b08d2001fd Add Model SDF generation utilities 2022-03-24 11:32:02 +01:00
Wojciech Figat
92f5377f70 Merge remote-tracking branch 'origin/master' into gi
# Conflicts:
#	Flax.flaxproj
#	Source/Engine/Core/Math/Vector3.h
#	Source/Engine/Graphics/Textures/GPUTexture.cpp
#	Source/Engine/GraphicsDevice/DirectX/DX11/GPUContextDX11.cpp
#	Source/Engine/Terrain/Terrain.cpp
#	Source/Engine/Tools/ModelTool/ModelTool.Build.cs
#	Source/FlaxEngine.Gen.cs
#	Source/FlaxEngine.Gen.h
2022-03-22 13:00:21 +01:00
Wojtek Figat
87cb553c61 Optimize Vector3 method to be inlined more often 2022-02-28 19:14:14 +01:00
Wojciech Figat
8082f5f909 Minor fixes and changes 2022-02-21 20:14:46 +01:00
Wojciech Figat
5d4c168e1e Add Vector3::Clamp for easier inline in optimized builds 2022-02-15 12:14:31 +01:00
Wojciech Figat
9dc49f7165 Optimize Vector3 method to be inlined more often 2022-02-14 11:46:48 +01:00
Wojciech Figat
788b1a7531 Add Distance to box/point for Bounding Box 2022-02-14 10:15:38 +01:00
Wojciech Figat
79cacbf36e Add GetNormal to Triangle 2022-02-14 10:15:05 +01:00
Wojciech Figat
3c9a5bcf1a Fix CollisionsHelper::ClosestPointPointTriangle 2022-02-08 19:55:55 +01:00
Wojciech Figat
7e2e764e1e Fix CollisionsHelper::ClosestPointPointTriangle 2022-02-08 17:56:45 +01:00
Wojciech Figat
8d47ea7d2f Fix doc comment 2022-01-31 10:23:27 +01:00
Wojciech Figat
d86e4090b8 Add ctor for Variant from Span<byte> 2022-01-26 16:55:38 +01:00
Wojciech Figat
d36c502287 Add easier game or plugin settings asset usage with SettingsBase 2022-01-21 16:22:14 +01:00
Wojciech Figat
465c857ff2 Fix bounding box size setter 2022-01-17 10:12:05 +01:00