Compare commits

..

2398 Commits

Author SHA1 Message Date
mafiesto4 3b797ab1dc Prevent artifacts in Global Surface Atlas when close to its capacity 2023-02-19 17:36:44 +01:00
mafiesto4 b6aa38569f Fix app image exporting to favor CPU data and prevent issues 2023-02-19 14:59:40 +01:00
mafiesto4 55d721f425 Fix typo 2023-02-19 14:40:35 +01:00
mafiesto4 9429be0830 Fix compilation warnings 2023-02-19 14:35:47 +01:00
mafiesto4 0d813aee90 Possible fix for deprecation warning 2023-02-19 13:36:45 +01:00
mafiesto4 5a7f678e4d Add Actor.AddTag utility 2023-02-19 11:25:46 +01:00
mafiesto4 dc04d3dc0b Restore Actor.Tag property as deprecated for backwards compatibility
Regression from a570d6d178
2023-02-19 11:25:37 +01:00
mafiesto4 7a5d84a216 Fix Global SDF objects culling into chunks to correctly match world geometry 2023-02-18 23:15:50 +01:00
mafiesto4 fe97429df8 Minor fix 2023-02-18 22:23:59 +01:00
mafiesto4 e644b65289 Fix potential rare issues with material shader constants containing invalid data 2023-02-18 18:25:40 +01:00
mafiesto4 5911d098d1 Merge branch 'GoaLitiuM-includes_cache_thirdparty' 2023-02-18 17:35:07 +01:00
mafiesto4 8de8f3c1cd Merge branch 'includes_cache_thirdparty' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-includes_cache_thirdparty 2023-02-18 17:16:05 +01:00
mafiesto4 4f9d556a76 Merge branch 'Tryibion-ccm-fix' 2023-02-18 17:15:24 +01:00
mafiesto4 cdde8665c1 Merge branch 'ccm-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-ccm-fix 2023-02-18 17:14:10 +01:00
mafiesto4 ef0f0e24a3 Merge branch 'PrecisionRender-fix-scroll-speed' 2023-02-18 17:05:46 +01:00
mafiesto4 8327866205 Expose ScrollSpeedWheel and ScrollSpeedClick for scroll bar editing
#946
2023-02-18 17:05:41 +01:00
mafiesto4 89d649c049 Merge branch 'fix-scroll-speed' of https://github.com/PrecisionRender/FlaxEngine into PrecisionRender-fix-scroll-speed 2023-02-18 17:01:39 +01:00
PrecisionRender f0061e07b4 Update scroll speed to feel less sluggish 2023-02-18 09:29:01 -06:00
Tryibion 3ddaa6da1a fix issue of child context menu hiding when de-hovered then re-hovered. Fixed issue of clicking on child cm hiding child. 2023-02-18 07:47:49 -06:00
mafiesto4 ffd5c8fd53 Fix crash on D3D10 2023-02-18 00:09:30 +01:00
GoaLitiuM f77063f615 Include thirdparty files in the includes cache 2023-02-17 23:20:22 +02:00
mafiesto4 d3578380e2 Update build number 2023-02-17 21:47:33 +01:00
mafiesto4 05cb02aa09 Improve #936 for ExternalPopups and preserve odl impl on Windows 2023-02-17 20:44:23 +01:00
mafiesto4 32565becd8 Merge branch 'GoaLitiuM-context_menu_focus_fixes' 2023-02-17 20:27:58 +01:00
mafiesto4 2f97db306a Merge branch 'context_menu_focus_fixes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-context_menu_focus_fixes 2023-02-17 20:27:47 +01:00
mafiesto4 679757942f Fix GPU Buffer Map/Unmap pair to prevent stall if map fails on DX11
#942
2023-02-17 16:28:48 +01:00
mafiesto4 5dc63da4bf Fix crash if texture is missing
#942
2023-02-17 16:19:10 +01:00
mafiesto4 aa1a0ea4a2 Fix Flipbook material node bug when frames X was different than Y 2023-02-17 11:27:41 +01:00
mafiesto4 8b050cf87e Use D3D11_MAP_FLAG_DO_NOT_WAIT only from main thread (worker threads can wait for data)
#942
2023-02-17 11:08:12 +01:00
mafiesto4 660ecc185b Merge branch 'Tryibion-post-fx-fix' 2023-02-17 10:46:36 +01:00
mafiesto4 c91c690e86 Merge branch 'post-fx-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-post-fx-fix 2023-02-17 10:40:37 +01:00
mafiesto4 2338e03554 Fix crash when unbinding from Delegate from other thread during invocation
Caused by `callee` being invalid thus it's better to read function pointer again to ensure that both are valid before calling function.
2023-02-17 10:31:49 +01:00
mafiesto4 ec8df18ee4 Remove not important warning 2023-02-17 02:17:25 +01:00
Tryibion 74bdcf0749 Fix not serializing post FX script fields. 2023-02-16 19:08:24 -06:00
mafiesto4 d5cdbdb808 Fix typo 2ea468d5da 2023-02-17 01:13:23 +01:00
mafiesto4 2ea468d5da Ignore constant error due to missing Game Settings in Editor (log once) 2023-02-17 01:01:32 +01:00
mafiesto4 7dc83b5472 Fix compilation warning 2023-02-16 22:59:31 +01:00
mafiesto4 4b08cd3fd7 Fix compilation warning 2023-02-16 20:08:53 +01:00
mafiesto4 4af2b9e2a6 Fix compilation 2023-02-16 19:46:13 +01:00
mafiesto4 611d2d2745 Merge branch 'W2Wizard-NewGizmo' 2023-02-16 15:23:51 +01:00
W2.Wizard f8aa1cd5f8 Updated transform Gizmos #340 2023-02-16 15:23:18 +01:00
mafiesto4 969053a240 Add JsonAsset.Save to fix saving new tag
#885
2023-02-16 14:32:52 +01:00
mafiesto4 123b7f5433 Fix Mesh data downloading to support not yet streamed vertex/index data gather
#932
2023-02-16 13:47:43 +01:00
mafiesto4 067b8144ad Merge branch 'GoaLitiuM-rider_vcpp_fix' 2023-02-16 10:42:29 +01:00
mafiesto4 51604302e2 Merge branch 'rider_vcpp_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-rider_vcpp_fix 2023-02-16 10:42:23 +01:00
GoaLitiuM df000bc99e Fix linking against C#-only modules
(cherry picked from commit 7ccc0b83ff)
2023-02-16 10:24:07 +01:00
mafiesto4 ac368863aa Merge branch 'GoaLitiuM-linux_linker_changes' 2023-02-15 15:44:46 +01:00
mafiesto4 8695ba6fdb Merge branch 'linux_linker_changes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_linker_changes 2023-02-15 15:39:56 +01:00
mafiesto4 4fb336bc9e Add thread object usage docs #917 2023-02-15 15:39:01 +01:00
mafiesto4 6c249172d4 Merge branch 'GoaLitiuM-fix_thread_join' 2023-02-15 15:33:50 +01:00
mafiesto4 ab3e4afb53 Merge branch 'fix_thread_join' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_thread_join 2023-02-15 15:33:44 +01:00
mafiesto4 419962ab04 Merge branch 'GoaLitiuM-fix_clang_warnings' 2023-02-15 14:55:21 +01:00
mafiesto4 54a056e5c3 Merge branch 'fix_clang_warnings' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_clang_warnings 2023-02-15 14:55:15 +01:00
mafiesto4 aad378a43d Merge branch 'GoaLitiuM-linux_filedialog_improvements' 2023-02-15 14:48:53 +01:00
mafiesto4 e0f9e6e50f Merge branch 'linux_filedialog_improvements' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_filedialog_improvements 2023-02-15 14:21:44 +01:00
mafiesto4 3c9d592d8b Code style fix 2023-02-15 14:19:56 +01:00
mafiesto4 3b34ba79cb Merge branch 'GoaLitiuM-linux_filewatcher_fix' 2023-02-15 14:16:35 +01:00
mafiesto4 3218791830 Merge branch 'linux_filewatcher_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_filewatcher_fix 2023-02-15 14:16:28 +01:00
mafiesto4 a48bfe9c82 Merge branch 'GoaLitiuM-linux_centered_fix' 2023-02-15 14:10:33 +01:00
mafiesto4 e7b69dea61 Merge branch 'linux_centered_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_centered_fix 2023-02-15 14:10:23 +01:00
mafiesto4 800cdd94e7 Merge branch 'GoaLitiuM-linux_compilation_fix' 2023-02-15 14:01:33 +01:00
mafiesto4 5038342384 Merge branch 'linux_compilation_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_compilation_fix 2023-02-15 14:01:27 +01:00
mafiesto4 5060b26dcc Merge branch 'GoaLitiuM-linux_dpi_fix' 2023-02-15 13:58:29 +01:00
mafiesto4 df8cfdac56 Merge branch 'linux_dpi_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_dpi_fix 2023-02-15 13:58:22 +01:00
mafiesto4 55ea197d4f Hide not important log error 2023-02-15 13:53:43 +01:00
mafiesto4 d48f61ea33 Fix regression from e40f51cfc5 2023-02-15 11:18:15 +01:00
mafiesto4 7411e69223 Merge remote-tracking branch 'origin/master' 2023-02-15 11:16:17 +01:00
mafiesto4 0adc0f616e Merge branch 'Tryibion-move-child-menu-arrow-for-scrollbar' 2023-02-15 11:14:23 +01:00
mafiesto4 d5f93b5c45 Merge branch 'move-child-menu-arrow-for-scrollbar' of https://github.com/Tryibion/FlaxEngine into Tryibion-move-child-menu-arrow-for-scrollbar 2023-02-15 11:14:17 +01:00
mafiesto4 dbfe640bac Merge branch 'Tryibion-dynamic-scale-link-image-x' 2023-02-15 11:12:30 +01:00
mafiesto4 8b41c304f1 Merge branch 'dynamic-scale-link-image-x' of https://github.com/Tryibion/FlaxEngine into Tryibion-dynamic-scale-link-image-x 2023-02-15 11:12:25 +01:00
mafiesto4 d76d79fcc3 Merge branch 'Tryibion-fix-editor-viewport-size-getting' 2023-02-15 11:11:17 +01:00
mafiesto4 bf7af8fa2c Merge branch 'fix-editor-viewport-size-getting' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-editor-viewport-size-getting 2023-02-15 11:11:11 +01:00
mafiesto4 e40f51cfc5 Add better logging for the Linxu includes search 2023-02-15 10:34:17 +01:00
mafiesto4 e3cfe9f009 Add support for using system-installed Vulkan SDK on Linux 2023-02-15 10:34:17 +01:00
GoaLitiuM c7d6aca2ad Use alternative method to query DPI on Linux 2023-02-15 10:34:17 +01:00
mafiesto4 47afc7817f Improve building for Android 2023-02-14 15:27:13 +01:00
mafiesto4 752fa64cc3 Add support for 32 bit indices for the terrain chunk geometry 2023-02-14 13:14:04 +01:00
mafiesto4 7d6472a160 Fix deadlock in navmesh capacity calculations 2023-02-14 13:13:35 +01:00
mafiesto4 835127ac21 Add **Animation Instance Data node to Anim Graph** for caching value per-model 2023-02-14 12:39:58 +01:00
mafiesto4 77e19e148b Fix missing TraceMode blending in PostFx volume for SSR settings 2023-02-14 09:31:23 +01:00
mafiesto4 a70234c9b6 Cleanup comments 2023-02-13 22:45:44 +01:00
mafiesto4 1034a15ddc Fix default SceneRenderTask view to have initialized matrices 2023-02-13 22:35:49 +01:00
mafiesto4 aad2ff51fc Fix default value for BoxCollider 2023-02-13 22:35:32 +01:00
mafiesto4 0031d9174d Fix scroll on selection change 2023-02-13 22:10:45 +01:00
GoaLitiuM 705a635059 Fix LinuxFileSystemWatcher not working in sub-directories 2023-02-13 21:44:29 +02:00
mafiesto4 8184d513e3 Fix performance when using scene search field 2023-02-13 20:04:35 +01:00
mafiesto4 19c24e2a4d Fix missing game scripts types when starting editor from IDE with -skipCompile arg 2023-02-13 17:14:53 +01:00
mafiesto4 cb83de4769 Fix compilation issues with various C++ scripting cases 2023-02-13 16:05:14 +01:00
mafiesto4 46cfa01622 Add this to API_PARAM for static method extension of a type 2023-02-13 16:04:33 +01:00
Tryibion 4725a83406 Move the child menu arrow image to accommodatefor the scroll bar showing when the amunt of items exceeds the maximum. 2023-02-12 21:29:58 -06:00
Tryibion b4cce7db00 Fix issue with different lengths of text for scale properties. 2023-02-12 20:51:03 -06:00
GoaLitiuM e3a96fa724 Fix tooltip not hiding after clicking on TreeNode 2023-02-12 14:32:28 +02:00
GoaLitiuM 6b634322ff Fix active tooltip preventing TreeNode selection 2023-02-12 14:32:24 +02:00
GoaLitiuM cc4864231f Use input focus to manage context menu hiding logic 2023-02-11 20:07:56 +02:00
mafiesto4 7fe7742430 Various improvements 2023-02-11 12:55:02 +01:00
mafiesto4 9c98d9d01e Fix focus when using CanvasScaler 2023-02-10 16:31:06 +01:00
mafiesto4 6fb1e749bc Add support in GetScript to interface types
#290
2023-02-10 15:36:33 +01:00
mafiesto4 d58a77cc60 Add support in GetScript to interface types
#290
2023-02-10 15:36:02 +01:00
mafiesto4 9b6ba67186 Fix playing self-hosted game to properly receive RPCs 2023-02-10 15:06:37 +01:00
mafiesto4 57178b8a5b Add dev-only name to spawned Particle System 2023-02-10 14:43:24 +01:00
mafiesto4 e9fa76c34a Fix RPC codegen 2023-02-10 13:37:02 +01:00
mafiesto4 a099bd25f6 Various minor fixes to networking 2023-02-10 12:00:04 +01:00
mafiesto4 c785a17ca8 Fix crash on exit due to remaining DefautlInstance objects 2023-02-10 11:27:01 +01:00
mafiesto4 9197d583ce Fix using Ray parameter in Network RPC 2023-02-10 11:07:13 +01:00
mafiesto4 07ca64c8a0 Fix using RPC attribute without ctor usage 2023-02-10 11:02:06 +01:00
mafiesto4 07892ccf18 Refactor ObjectsRemovalService to skip double-buffering due to issues and complexity 2023-02-10 10:50:18 +01:00
mafiesto4 b4ea70acbb Fix layer name property to be hidden in Editor 2023-02-09 21:13:39 +01:00
mafiesto4 b8a7f36c85 Fix crash when passing boxes Vector2/3/4 type data to C# due to custom structure usage 2023-02-09 20:42:25 +01:00
mafiesto4 82823d6945 Various improvements and fixes 2023-02-09 20:05:46 +01:00
mafiesto4 12cb8fd59d Ignore warning on missing object in Level::FindActor 2023-02-09 20:04:57 +01:00
mafiesto4 39443bf4d1 Reduce Render targets Pool flushing frequency to prevent memory popping 2023-02-09 13:30:46 +01:00
mafiesto4 3636cd6940 Fix render target memory leak in Global Surface Atlas debug 2023-02-09 13:30:27 +01:00
mafiesto4 45866e6771 Minor code cleanup #930 2023-02-09 09:47:27 +01:00
mafiesto4 7b253311a0 Merge branch 'Tryibion-scale-lock' 2023-02-09 09:43:56 +01:00
mafiesto4 73ac1c5d43 Merge branch 'scale-lock' of https://github.com/Tryibion/FlaxEngine into Tryibion-scale-lock 2023-02-09 09:42:16 +01:00
mafiesto4 e08713707b Merge branch 'Tryibion-possible-revert-fix' 2023-02-09 09:41:01 +01:00
mafiesto4 48d8e3bb24 Merge branch 'possible-revert-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-possible-revert-fix 2023-02-09 09:40:55 +01:00
mafiesto4 8b6c3b2f5d Merge branch 'Tryibion-center-set-type' 2023-02-09 09:39:46 +01:00
mafiesto4 78001b8298 Merge branch 'center-set-type' of https://github.com/Tryibion/FlaxEngine into Tryibion-center-set-type 2023-02-09 09:39:40 +01:00
mafiesto4 bd513eabc6 Improve 7fae0d9fb6 2023-02-08 23:59:49 +01:00
mafiesto4 7fae0d9fb6 Fix to ignore warning due to missing NDA consoles packages 2023-02-08 23:41:24 +01:00
mafiesto4 bc4514c905 Add missing Mono.Cecil from Editor deployment 2023-02-08 23:32:38 +01:00
mafiesto4 c99525131a Fix build d09dfd1f61 2023-02-08 23:31:23 +01:00
mafiesto4 d09dfd1f61 Add **Canvas Scaler** control for resolution-independent UI
#448 #525
2023-02-08 19:51:16 +01:00
GoaLitiuM ca81ee3967 Update Linux build instructions 2023-02-07 22:33:49 +02:00
GoaLitiuM 533a6576b8 Link against zlib 2023-02-07 22:11:24 +02:00
mafiesto4 0366de36ce Add BlurScaleWithSize to BlurPanel for resolution-independent blur 2023-02-07 14:13:02 +01:00
mafiesto4 d92da5ceba Upgrade GPU limits to support 16k textures 2023-02-07 13:35:00 +01:00
mafiesto4 9bb8dcac3d Fix GPU Limits to be clamped to the compile-time limits 2023-02-07 13:30:18 +01:00
mafiesto4 8c13c64088 Fix incorrect import path from other drive on Windows 2023-02-07 09:39:51 +01:00
mafiesto4 7a2023ead6 Add option for importing scale tracking to animation asset 2023-02-07 09:39:31 +01:00
mafiesto4 e02c4b6f98 Fix using Center property on Character Controller
#904
2023-02-06 20:22:52 +01:00
mafiesto4 b71665ae0d Fix Up Direction default value for Character Controller 2023-02-06 17:47:48 +01:00
mafiesto4 9a84811f35 Fix editor values comparison in properties panel to match serializer rules 2023-02-06 13:44:45 +01:00
mafiesto4 daff3abdc1 Add engine version defines to C++ game scripts 2023-02-06 11:09:52 +01:00
mafiesto4 a175e58107 Add FLAX_X_Y_OR_NEWER to game code defines 2023-02-06 11:09:47 +01:00
Tryibion 4b9bbfb663 Change GetGameWindowSize to return game viewport size. 2023-02-05 20:22:54 -06:00
Tryibion d5d5fb698f Small name changes 2023-02-05 20:17:21 -06:00
mafiesto4 e09ad39161 Fix exception on editor closing, cleanup code style
#920
2023-02-05 23:58:14 +01:00
mafiesto4 b4087452d1 Merge branch 'Tryibion-change-auto-save' 2023-02-05 23:52:44 +01:00
mafiesto4 c6ad0fc337 Merge branch 'change-auto-save' of https://github.com/Tryibion/FlaxEngine into Tryibion-change-auto-save 2023-02-05 23:52:39 +01:00
mafiesto4 c878c613c7 Update consoles building 2023-02-05 23:48:11 +01:00
Tryibion 5c78e0d466 Possible fix for values reverting to previous values in ValueBoxes when changing the value right after sliding. 2023-02-05 15:23:09 -06:00
Tryibion 0f38fdda30 Remove unused include. 2023-02-05 15:12:04 -06:00
Tryibion e4afc49ac6 Added saving the users choice in the properties window and adding link and unlink to the scale context menu. 2023-02-05 15:07:12 -06:00
mafiesto4 ac45bbe53e Wait for asset load in MeshDataCache 2023-02-05 13:02:27 +01:00
mafiesto4 ea153d4cf6 Minor adjustment to inline function in more places for CPU particles perf 2023-02-05 12:49:43 +01:00
mafiesto4 f085e8e199 Merge branch 'PrecisionRender-fix-audio-settings' 2023-02-05 12:49:22 +01:00
mafiesto4 c09afe55a3 Merge branch 'fix-audio-settings' of https://github.com/PrecisionRender/FlaxEngine into PrecisionRender-fix-audio-settings 2023-02-05 12:49:15 +01:00
GoaLitiuM c51a923160 Only pass --copy-dt-needed-entries with GNU linker 2023-02-05 13:42:01 +02:00
GoaLitiuM 591b45d2e8 Fix linking errors with other linkers 2023-02-05 13:41:35 +02:00
GoaLitiuM 19eaec336d Use better linkers to improve linking times on Linux 2023-02-05 13:41:34 +02:00
Tryibion b113bdb774 Changed to use enum for simplification 2023-02-04 22:28:34 -06:00
Tryibion 03f299bc3b Added apply across actors. 2023-02-04 22:20:18 -06:00
Tryibion 9c591b3c08 Add scale lock button 2023-02-04 21:56:18 -06:00
Tryibion a061347f5a Centers the "Set Type" Button context menu for UI Controls in the editor. 2023-02-03 19:22:25 -06:00
GoaLitiuM ffbd34c95a Improve Rider detection on Linux 2023-02-03 22:37:33 +02:00
GoaLitiuM 847a28d133 Fix running VC++-project build commands with Rider on Linux 2023-02-03 22:37:31 +02:00
GoaLitiuM 0ac5db45d1 Improve Linux file dialog support
Adds support for multi selection, filtering and initial folder for both zenity and kdialog. kdialog is also preferred over zenity when KDE is detected.
2023-02-03 22:27:27 +02:00
GoaLitiuM 2703401f08 Fix process creation on Linux
Forked child process did not exit properly, sometimes causing scripting compilation to get stuck and never finish.
2023-02-03 22:21:38 +02:00
Tryibion f4da984399 Added function to get viewport size of the game window when in editor. This allows for certain functions to behave correctly. 2023-02-03 13:27:53 -06:00
mafiesto4 d8a9b699ad Merge branch 'Tryibion-tag-editor-size-fix' 2023-02-03 16:03:54 +01:00
mafiesto4 873749b130 Merge branch 'tag-editor-size-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-tag-editor-size-fix 2023-02-03 16:02:39 +01:00
mafiesto4 58e99ca469 Fix crash in renderer due to the same object being registered twice 2023-02-03 16:01:42 +01:00
mafiesto4 b84cb8428b Merge branch 'RuanLucasGD-Inputs' 2023-02-03 15:48:20 +01:00
mafiesto4 d9f1e4253f Merge branch 'Inputs' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-Inputs 2023-02-03 15:47:45 +01:00
mafiesto4 cb867e7657 Merge branch 'Tryibion-text-box-ibeam' 2023-02-03 15:40:33 +01:00
mafiesto4 b959ecd671 Merge branch 'text-box-ibeam' of https://github.com/Tryibion/FlaxEngine into Tryibion-text-box-ibeam 2023-02-03 15:38:38 +01:00
mafiesto4 9c8f0c571d Merge branch 'pacyfist-master' 2023-02-03 15:35:12 +01:00
Filip Franik 7c176f4b69 Merge branch 'FlaxEngine:master' into master 2023-02-03 14:19:27 +01:00
mafiesto4 73ec370989 Update engine materials 2023-02-03 13:31:00 +01:00
mafiesto4 aa8d6f7c79 Fix ribbon particles triangle indices ordering to prevent artifacts 2023-02-03 13:30:48 +01:00
GoaLitiuM d7595f1ecc Fix compiler warnings with Clang 15 or later 2023-02-02 18:52:41 +02:00
mafiesto4 50faa49c0f Add spacebar for play/pause in animated model and particles previews 2023-02-02 15:53:55 +01:00
mafiesto4 b64475bcfa Fix particle module initialization if it reuses graph from other module 2023-02-02 15:53:16 +01:00
mafiesto4 36ba1d9953 Add play/pause widget and keybind for particles preview in asset Editor 2023-02-02 13:05:54 +01:00
Tryibion 2592841793 Code style cleanup 2023-02-01 18:28:00 -06:00
Tryibion b862126209 Changed to only show ibeam when editing 2023-02-01 18:25:40 -06:00
Tryibion ade0450c0e Add cursor to change to Ibeam in text boxes. 2023-02-01 09:32:58 -06:00
mafiesto4 baabc5d16f Add AfterForwardPass for custom postfx render location 2023-02-01 11:38:22 +01:00
mafiesto4 ee19c8e856 Update engine assets 2023-02-01 11:12:29 +01:00
mafiesto4 45a30990ba Add GPUContext::SetBlendFactor 2023-02-01 11:07:48 +01:00
mafiesto4 ab51ecddb4 Add RenderBuffers::LinkedCustomBuffers to reuse main game viewport rendered state (eg. GI) in sub-rendered view 2023-02-01 11:05:29 +01:00
Filip Franik 836f72481b Fix to DownloadMeshData calling the Finished event before the _meshDatasInProgress was set to false. 2023-01-31 23:44:33 +01:00
mafiesto4 831af77eff Fix rendering with custom feature-set 2023-01-31 16:18:04 +01:00
mafiesto4 b071cdb843 Expose various engine features to scripting 2023-01-31 16:01:56 +01:00
mafiesto4 a0c6add732 Add ViewFlags::Sky for conditional sky/skybox rendering 2023-01-31 15:58:02 +01:00
mafiesto4 b93e97dd76 Add EnumHasNoneFlags 2023-01-31 15:19:34 +01:00
mafiesto4 8c5d421c45 Update build number 2023-01-31 15:18:19 +01:00
mafiesto4 0709288eac Revert Depth Offset (wrong impl, can be done later) 2023-01-31 14:22:37 +01:00
mafiesto4 c46ea56af2 Rename DepthTestEnable to DepthEnable in Graphics PSO to match actual logic 2023-01-31 14:04:00 +01:00
mafiesto4 c39d1283f8 Add sort order for custom model drawing 2023-01-31 09:29:04 +01:00
mafiesto4 c9fce7e4aa Add GBuffer textures to the C# scripting 2023-01-31 09:28:48 +01:00
mafiesto4 5a30883082 Add AfterGBufferPass for custom PostFx location 2023-01-31 09:28:19 +01:00
mafiesto4 9b3d15aa46 Add Renderer::DrawActors for quick actors rendering in custom render passes 2023-01-30 00:52:32 +01:00
Tryibion 56c16c7078 Delete auto save popup and utilize regular status bar text and button. 2023-01-29 16:32:06 -06:00
mafiesto4 238095b862 Add DefaultValue support for scripting parameters 2023-01-29 22:10:22 +01:00
mafiesto4 a219a3d2eb Add **Depth Offset to materials** 2023-01-29 22:09:51 +01:00
GoaLitiuM b0bc1fa310 Fix error when joining exited threads
The internal thread handles were cleared prematurely when attempting to join them. The handles should be also cleared when trying to kill already exited threads.
2023-01-29 21:30:01 +02:00
GoaLitiuM 6f8aee0c1c Use alternative method to query DPI on Linux 2023-01-29 19:13:54 +02:00
GoaLitiuM 4d9ffdb025 Fix centered window and message box locations on Linux 2023-01-28 20:33:02 +02:00
mafiesto4 a214c14a4d Add Sort Order to animated models too 2023-01-28 17:03:18 +01:00
mafiesto4 87549a3e6c Fix sort order usage in multi-pass drawing of the Mesh 2023-01-28 01:31:07 +01:00
Tryibion db46d50eff Fixed sized for tag header drop panel and add tag button to match with other sizing. 2023-01-27 08:28:47 -06:00
mafiesto4 adfe3ad165 Add SortOrder to drawable object types for transparency sorting override 2023-01-26 18:37:40 +01:00
Ruan Lucas 82e9923be3 change IsAnyKeyDown to IsAnyButtonDown and add Float2.Normalized 2023-01-26 08:54:15 -04:00
PrecisionRender 0461a78cdb Fix audio settings not applying doppler factor 2023-01-24 22:14:45 -06:00
mafiesto4 997baa3b77 Merge branch 'Tryibion-add-arrow-to-groups' 2023-01-24 23:18:18 +01:00
mafiesto4 e57481de7d Adjustments to the new group panels #903 2023-01-24 23:18:12 +01:00
mafiesto4 6931161dce Merge branch 'add-arrow-to-groups' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-arrow-to-groups 2023-01-24 19:41:37 +01:00
mafiesto4 9fe4de811b Merge branch 'Tryibion-change-filter-length' 2023-01-24 19:40:22 +01:00
mafiesto4 bde3b98582 Merge branch 'change-filter-length' of https://github.com/Tryibion/FlaxEngine into Tryibion-change-filter-length 2023-01-24 19:34:54 +01:00
mafiesto4 617752ac34 Merge branch 'Tryibion-actor-org' 2023-01-24 19:20:30 +01:00
mafiesto4 29815e0dd6 Merge branch 'actor-org' of https://github.com/Tryibion/FlaxEngine into Tryibion-actor-org 2023-01-24 19:20:23 +01:00
mafiesto4 03813259cf Update assets 2023-01-24 19:19:56 +01:00
mafiesto4 8e87ce6436 Merge branch 'Tryibion-fix-rename-popup' 2023-01-24 19:19:46 +01:00
mafiesto4 1a8f3d0e97 Merge branch 'fix-rename-popup' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-rename-popup 2023-01-24 19:16:45 +01:00
mafiesto4 c1e0d70646 Fix name overlap 2023-01-24 19:14:18 +01:00
Tryibion bc7f9f7534 changed min length to 1 to start filtering after first character is entered. 2023-01-23 20:05:34 -06:00
mafiesto4 9e90cb260a Add support for custom icons for actors in ViewportIconsRenderer 2023-01-23 23:43:59 +01:00
mafiesto4 c854b657c1 Add actor virtual functions OnDebugDraw/OnDebugDrawSelected/OnEnable/OnDisable to override in scripting 2023-01-23 23:43:16 +01:00
mafiesto4 a72fbc00bb Ignore generated vs code file 2023-01-23 20:36:25 +01:00
mafiesto4 1a0b38bbfe Merge branch 'GoaLitiuM-vscode_fixes' into 1.5 2023-01-23 20:34:41 +01:00
mafiesto4 a853850116 Merge branch 'vscode_fixes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-vscode_fixes 2023-01-23 20:34:35 +01:00
Tryibion ff3277edc7 Change CM attributes to not check inhereted class. 2023-01-22 21:33:08 -06:00
Tryibion e21c8e5fe9 Organize physics actors a little better in CM, added wheeled vehicle to list. minor change in CM to not add actors that have a parent with the attribute (more selective). 2023-01-22 18:52:28 -06:00
Tryibion 66fd5e716c various fixes and improvements. size changes for headers, deactivate containement for collections. 2023-01-21 13:35:51 -06:00
Tryibion 634eb0973b fix header text position 2023-01-21 11:37:31 -06:00
Tryibion a91990138b Added arrow as default to groups 2023-01-21 10:32:37 -06:00
mafiesto4 d752fcb127 Merge branch 'Tryibion-better-tag-picker' into 1.5 2023-01-20 12:03:35 +01:00
mafiesto4 66d5850a76 Asset update 2023-01-20 12:02:40 +01:00
mafiesto4 df2d151063 Merge branch 'better-tag-picker' of https://github.com/Tryibion/FlaxEngine into Tryibion-better-tag-picker 2023-01-20 11:51:50 +01:00
mafiesto4 31e27e84a9 Minor fix 2023-01-20 11:48:53 +01:00
mafiesto4 a7bccae5d3 Merge branch 'Tryibion-add-tag-fix' into 1.5 2023-01-20 11:47:41 +01:00
mafiesto4 286de25c15 Merge branch 'add-tag-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-tag-fix 2023-01-20 11:47:18 +01:00
Tryibion 5d601621cf small fix 2023-01-20 02:14:05 -06:00
Tryibion 56c9be6f8c fixes 2023-01-20 01:55:09 -06:00
Tryibion 64dcfa21b8 small fixes 2023-01-20 01:22:36 -06:00
Tryibion 6c1ce82e5c Small cleanup 2023-01-20 00:56:46 -06:00
Tryibion efe11d0105 Added selecting text box when tag add drop panel open 2023-01-20 00:55:54 -06:00
Tryibion 85df496657 Better tag picker 2023-01-20 00:51:46 -06:00
Ruan Lucas d20bce9967 Add Vector2.Normalized 2023-01-19 20:52:20 -04:00
Tryibion f110926288 Moved into function in Asset Window. 2023-01-19 16:10:17 -06:00
Tryibion fb12e63bb1 Fixed editor not saving added tags #885 2023-01-19 15:57:51 -06:00
Ruan Lucas 8669a291fb Add methods IsAnyKeyDown on Mouse/Gamepad class 2023-01-19 15:21:50 -04:00
mafiesto4 c1c1f5d60e Fix sending client RPC to all clients (including the owner) 2023-01-19 14:47:29 +01:00
Tryibion 720dbabae1 Fix rename popup from not focusing and selecting text. 2023-01-18 18:42:21 -06:00
mafiesto4 eaa63e679e Fix selected UI control outline when using custom Game viewport aspect
#897
2023-01-18 15:36:42 +01:00
mafiesto4 689a042e88 Fix sending client RPC from host that is both server and client 2023-01-18 13:39:51 +01:00
mafiesto4 04727cf2bc Add error log if the RPC is invoked on non-networked object 2023-01-18 13:38:18 +01:00
mafiesto4 ec2bdb7437 Fix crash when copying empty span of data into DataContainer 2023-01-18 13:20:24 +01:00
mafiesto4 df997c8e3c Fix invalid RPC properties gather when using attribute constructor arguments 2023-01-18 13:04:38 +01:00
mafiesto4 15fd2e884e Add printing exact source code location on networking bindings generation for C# types 2023-01-18 13:04:10 +01:00
mafiesto4 e2e7facad0 Fix using dependency module from nested referenced build in C# 2023-01-18 11:53:30 +01:00
mafiesto4 0abac8c5c4 Merge branch 'GoaLitiuM-author_update' into 1.5 2023-01-17 21:34:12 +01:00
GoaLitiuM ee5a7cf1ef Update authors 2023-01-16 18:14:17 +02:00
mafiesto4 fc65e5a7a6 Fix leftover UI control state when it gets disabled/hidden/reparented 2023-01-16 15:08:57 +01:00
mafiesto4 99ce5cd4d4 Fix for Visual Studio projects when using vs2022 2023-01-16 13:33:36 +01:00
mafiesto4 4395bfd661 Improve Tags editor to display short tag names in tree for better readability of nested tags
#885
2023-01-16 13:33:21 +01:00
mafiesto4 5babe8df3f Add refreshing actively opened Layers And Tags asset editor when adding tags from popup
#885
2023-01-16 12:11:04 +01:00
mafiesto4 5dd91d0cdc Adjustments for high-level networking usage #878 2023-01-16 12:04:00 +01:00
mafiesto4 831fc80971 Fix game build 2023-01-16 11:14:13 +01:00
mafiesto4 eff24ed836 Add support for editing path to the asset within AssetRefEditor 2023-01-15 23:05:58 +01:00
mafiesto4 07e653468f Update assets 2023-01-15 20:20:41 +01:00
mafiesto4 a2af46845d Merge branch 'master' into 1.5
# Conflicts:
#	Source/Engine/Renderer/AmbientOcclusionPass.cpp
2023-01-15 18:27:49 +01:00
mafiesto4 1e98fe2920 Merge branch 'Tryibion-custom-game-sizing' 2023-01-15 14:10:31 +01:00
mafiesto4 675aa92b53 Fix crash in SSAO when using very low render resolution 2023-01-15 14:08:24 +01:00
mafiesto4 e40cdc8a7f Codestyle cleanup and minor tweaks #879 2023-01-15 14:08:00 +01:00
mafiesto4 50100a74bb Merge branch 'custom-game-sizing' of https://github.com/Tryibion/FlaxEngine into Tryibion-custom-game-sizing 2023-01-15 13:48:50 +01:00
mafiesto4 b89f2e39c9 Expose RandomUtil to Visual Scripting and cleanup codestyle
#843
2023-01-15 13:47:06 +01:00
mafiesto4 0aec1340b2 Merge branch 'Withaust-master' 2023-01-15 13:38:19 +01:00
mafiesto4 3622b77034 Merge branch 'master' of https://github.com/Withaust/FlaxEngine into Withaust-master 2023-01-15 13:38:10 +01:00
mafiesto4 7e62765a09 Merge branch 'Tryibion-auto-size-popup-position-change' 2023-01-15 13:34:13 +01:00
mafiesto4 ed3dd93a17 Merge branch 'auto-size-popup-position-change' of https://github.com/Tryibion/FlaxEngine into Tryibion-auto-size-popup-position-change 2023-01-15 13:34:07 +01:00
mafiesto4 1d244f6689 Merge branch 'Tryibion-failed-status' 2023-01-15 13:33:13 +01:00
mafiesto4 1421e63aa8 Minor cleanup #891 2023-01-15 13:33:07 +01:00
mafiesto4 50fb39d238 Merge remote-tracking branch 'origin/master' into 1.5 2023-01-15 12:44:45 +01:00
mafiesto4 f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
GoaLitiuM 20d8c9f4ee Generate omnisharp.json file for VS Code solutions 2023-01-14 19:25:36 +02:00
Tryibion 87e69ca564 Changed interface for script compliation error 2023-01-13 18:02:10 -06:00
Tryibion 5c1d89b145 Added fail progress bar to building game failure. 2023-01-13 10:37:06 -06:00
Tryibion 595d2235d3 Hide progress bar on click 2023-01-13 10:28:58 -06:00
Tryibion 38fc43cada Moved where the position movement is called for more snappy movement and increase movement amount to account for longer progress bar label text. 2023-01-13 10:09:49 -06:00
Tryibion e8c8021fd5 Added failed status bar to indicate if a progress has failed. 2023-01-13 09:54:16 -06:00
mafiesto4 da63e843d8 Merge branch 'Tryibion-first-capital-letter-fix' 2023-01-13 12:21:33 +01:00
mafiesto4 a450990ee2 Merge branch 'first-capital-letter-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-first-capital-letter-fix 2023-01-13 12:20:57 +01:00
mafiesto4 bfae240209 Merge branch 'Tryibion-fix-missing-scene-animation' 2023-01-13 12:03:50 +01:00
mafiesto4 0fa58531e8 Merge branch 'fix-missing-scene-animation' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-missing-scene-animation 2023-01-13 12:03:41 +01:00
mafiesto4 45c363685d Merge branch 'Tryibion-visject-cm-search-fix' 2023-01-13 12:01:25 +01:00
mafiesto4 8e354cc36e Merge branch 'visject-cm-search-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-visject-cm-search-fix 2023-01-13 12:01:20 +01:00
mafiesto4 9eb0562844 Merge branch 'Tryibion-auto-save-popup' 2023-01-13 11:39:17 +01:00
mafiesto4 26c7d3dadc Merge branch 'auto-save-popup' of https://github.com/Tryibion/FlaxEngine into Tryibion-auto-save-popup 2023-01-13 11:39:07 +01:00
mafiesto4 986fa13585 Reuse texture sampling code for procedural sampling node #872 2023-01-13 11:37:53 +01:00
mafiesto4 aa8ab65ae0 Merge branch 'Swiggies-stochastic-sampling-node' 2023-01-13 10:40:39 +01:00
mafiesto4 2d44ae3a4d Merge branch 'stochastic-sampling-node' of https://github.com/Swiggies/FlaxEngine into Swiggies-stochastic-sampling-node 2023-01-13 10:40:16 +01:00
mafiesto4 810f7fb803 Fix xcopy path on Windows in Flax.Build 2023-01-12 22:05:35 +01:00
mafiesto4 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
mafiesto4 9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
mafiesto4 e7f40a4c0e Fix unit test if running under .net 4.6.2 unit test agent 2023-01-10 14:33:51 +01:00
mafiesto4 6b076e4fd4 Update NUnit to 3.16.1 2023-01-10 14:26:26 +01:00
mafiesto4 79864ffd5f Change missing VulkanSDK error to be logged once per session 2023-01-10 13:51:29 +01:00
mafiesto4 4d6f758994 Update NUnit to 3.16.1 2023-01-10 13:41:58 +01:00
mafiesto4 442641eeab Add running Tests on Windows in Github Actions CI 2023-01-10 13:41:23 +01:00
mafiesto4 ca2e2e1f41 Fix native scripting interface method override in managed scripts on Clang-platforms 2023-01-10 11:45:23 +01:00
mafiesto4 a74b847e65 Fix ScriptingObject::FromInterface to return object if the pointer is already valid object 2023-01-10 11:45:23 +01:00
mafiesto4 17f9219cd0 Add TargetCompiler to Flax.Build toolchains 2023-01-10 11:45:23 +01:00
mafiesto4 0595f38fe4 Fix threading issues with GPU buffers mapping 2023-01-09 22:41:06 +01:00
mafiesto4 e2aa6b8970 Fix default value in viewport options 2023-01-09 22:40:54 +01:00
mafiesto4 67c63f1410 Optimize GPU Resource name to prevent memory allocs when changing name frequently 2023-01-09 22:40:26 +01:00
mafiesto4 70cce0e1ee Fix regression crash when using DoF, optimize DoF usage of GPU memory 2023-01-09 16:06:47 +01:00
mafiesto4 8c9a3055e1 Fix foliage paint brush transparency 2023-01-09 11:55:39 +01:00
Tryibion 0cd562c528 Fix in visject cm sometimes not populating all options once search box is cleared. 2023-01-08 16:04:55 -06:00
mafiesto4 4c671012bf Fix name upper-case 2023-01-08 13:52:45 +01:00
mafiesto4 8db75ffa36 Fix name upper-case 2023-01-08 13:52:33 +01:00
mafiesto4 58844622a0 Simplify managed method invoke generation for AOT vs JIT platforms 2023-01-08 13:50:45 +01:00
mafiesto4 cfcf29a62e Fixes for passing new unit tests with edge cases of scripting bindigns usage 2023-01-08 00:34:33 +01:00
mafiesto4 064994eb1a Add more test cases for various scripting bindings features 2023-01-08 00:34:32 +01:00
mafiesto4 c011e8af62 Add support for CanRender in postFx to depend on specific render setup 2023-01-06 13:45:36 +01:00
mafiesto4 b753b18682 Add profiler events for plugins init/deinit 2023-01-06 13:36:12 +01:00
mafiesto4 4012434102 Fix test 2023-01-03 23:04:09 +01:00
mafiesto4 b4faa128b7 Fix case when Variant wrappers overlap with the name 2023-01-02 22:04:14 +01:00
mafiesto4 9ffeb8031b Fix tests regression 2023-01-02 21:45:51 +01:00
mafiesto4 59568fb5c8 Minor editor tweaks 2023-01-01 23:17:23 +01:00
mafiesto4 bc7bf72660 Fix case when child context menu is already hidden and changed to other from code 2023-01-01 21:42:35 +01:00
mafiesto4 4afa59a783 Fix missing scripting and serialization extensions for SceneReference usage in scripts 2023-01-01 19:15:59 +01:00
mafiesto4 084fe6f063 Add UseAssetImportPathRelative to Editor options and use it by default to store imported asset path relative to the project folder 2023-01-01 18:55:09 +01:00
mafiesto4 9554636971 Add bigger input value boxes to Visject Surface 2023-01-01 18:30:15 +01:00
mafiesto4 f246fc018d Fixes for 2df3574cfa 2023-01-01 16:54:01 +01:00
mafiesto4 2df3574cfa Refactor new tags system to use uint for tag index (0 is invalid tag) 2023-01-01 16:39:34 +01:00
mafiesto4 c976d190a5 Add Tag to PhysicalMaterial for physical surfaces tagging 2023-01-01 16:38:50 +01:00
mafiesto4 18baab0c64 Update DefaultLensDirt and DefaultLensStarburst texturs to reduce GPU memory usage 2023-01-01 15:20:26 +01:00
mafiesto4 b73bd519be Add navmesh update on terrain sculpt undo/redo and deffer navmesh update when sculpting action ends to prevent stalls 2022-12-31 14:43:50 +01:00
mafiesto4 081305fab7 Fix regression from 0ca8fe2f45 for value types 2022-12-31 13:23:36 +01:00
mafiesto4 a10fb703fc Add unit test for scripting interface to ensure generated bindings code works fine 2022-12-31 13:10:19 +01:00
Tryibion 6a46efcf45 Fixed missing the scene animation proxy from the content context menu. 2022-12-30 18:40:11 -06:00
mafiesto4 0ca8fe2f45 Fix passing reference types back to the native code from scripting event 2022-12-31 00:22:04 +01:00
mafiesto4 a253e01dbd Add unit test for scripting event to ensure generated bindings code works fine 2022-12-31 00:21:28 +01:00
Tryibion 80baa13814 Fix tests to match captial first letter 2022-12-29 21:14:51 -06:00
Tryibion 71aae620ea Merge branch 'first-capital-letter-fix' of https://github.com/Tryibion/FlaxEngine into first-capital-letter-fix 2022-12-29 21:12:25 -06:00
Tryibion 7c3d5d739a small fix 2022-12-29 21:11:40 -06:00
Tryibion cf908fcfeb changed to change it in property UI 2022-12-29 21:11:39 -06:00
Tryibion f52e76fe30 Always capitalize the first letter of a property name label 2022-12-29 21:11:39 -06:00
mafiesto4 e2e66e0eec Fix crash when unboxing integer value type from managed callback via generated bindings 2022-12-30 00:08:32 +01:00
mafiesto4 a5e7ff6fc0 Add unit test for scripting features 2022-12-30 00:08:04 +01:00
mafiesto4 0e1da59f0c Fix loading materials when using Null renderer
Regression from dbcb333ba9
2022-12-29 23:35:47 +01:00
mafiesto4 1d47374758 Cache managed serializers for networking replication to prevent from being collected by GC 2022-12-29 23:06:06 +01:00
mafiesto4 c6bbfdc7f0 Fixes for networking change in 762f460e23 2022-12-29 23:05:52 +01:00
mafiesto4 7184566b4b Merge branch 'master' into 1.5 2022-12-29 23:04:18 +01:00
mafiesto4 418aeb281c Add warning to UWP build tool 2022-12-29 23:03:37 +01:00
mafiesto4 5a1192df16 Update shaders 2022-12-29 23:03:28 +01:00
mafiesto4 4b79bcb8d2 Add VS2022 support for building for UWP platform 2022-12-29 23:02:54 +01:00
Tryibion 5f83918c06 small fix 2022-12-29 15:25:12 -06:00
mafiesto4 da08b18ec5 Fix VisualStudioInstance.GetInstances() to be sorted from newest to oldest
(cherry picked from commit 6eaecc8793)
2022-12-29 22:23:37 +01:00
Tryibion 9d3b8eeeaf changed to change it in property UI 2022-12-29 15:21:48 -06:00
Tryibion 607505a316 Always capitalize the first letter of a property name label 2022-12-29 15:11:07 -06:00
mafiesto4 e7cf10aea8 Minor tweaks 2022-12-29 21:51:57 +01:00
Tryibion 79562dc502 Renamed some variables to more match what they do/are. 2022-12-29 12:14:26 -06:00
mafiesto4 6ef49349ff Fix assertion on thread double-free from registry (not harmful) 2022-12-29 18:30:51 +01:00
Tryibion 0633ed6819 Small cleanup 2022-12-29 00:47:30 -06:00
Tryibion 6c3864983f small cleanup 2022-12-29 00:45:58 -06:00
Tryibion dc6f6e2b93 Clean up 2022-12-29 00:32:57 -06:00
Tryibion 63343d4224 2nd pass on viewport sizing CM. Added add menu and apply and delete. 2022-12-29 00:31:19 -06:00
Tryibion ca07c18b93 Fist pass on game viewport resizing menu 2022-12-28 15:53:17 -06:00
Tryibion b225b5a6e6 Simplified setting bounds 2022-12-28 15:53:17 -06:00
Tryibion 45564c940f Moved function 2022-12-28 15:53:17 -06:00
Tryibion 69d391d985 changed default 2022-12-28 15:53:16 -06:00
Tryibion c38da8cabf Added resizing to the game viewport. 2022-12-28 15:53:16 -06:00
mafiesto4 f8e3f2fdc0 Merge branch 'Tryibion-CM-close-Fix' 2022-12-28 22:27:26 +01:00
mafiesto4 ae7352831b Merge branch 'CM-close-Fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-CM-close-Fix 2022-12-28 22:27:15 +01:00
mafiesto4 72bef6bc86 Merge branch 'Tryibion-skylight-icon-fix' 2022-12-28 21:54:27 +01:00
Tryibion 4eb2ac854e Fixed more CMs that shouldnt close 2022-12-28 13:00:58 -06:00
mafiesto4 7539504a8c Fix typo 2022-12-28 19:54:27 +01:00
Tryibion 0220c8ced1 fixed skylight to use skylight icon 2022-12-28 12:53:08 -06:00
mafiesto4 ae700cfbb8 Add new editor icons for actors from #866 2022-12-28 19:34:25 +01:00
mafiesto4 5a5a16c983 Merge branch 'Tryibion-CM-closing-fix' 2022-12-28 19:22:56 +01:00
mafiesto4 c35a267cd3 Merge branch 'CM-closing-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-CM-closing-fix 2022-12-28 19:22:50 +01:00
mafiesto4 46b65bc546 Format code 2022-12-28 18:51:13 +01:00
mafiesto4 6f545beffe Merge branch 'Withaust-patch-1' into 1.5 2022-12-28 17:27:39 +01:00
mafiesto4 6e403abf75 Merge branch 'patch-1' of https://github.com/Withaust/FlaxEngine into Withaust-patch-1 2022-12-28 17:27:32 +01:00
mafiesto4 f297b4b391 Merge branch 'GoaLitiuM-includes_cache_lastwrite' into 1.5 2022-12-28 17:25:39 +01:00
mafiesto4 16e7c429fc Minor code cleanup #873 2022-12-28 17:25:30 +01:00
mafiesto4 7fcd66588c Merge branch 'includes_cache_lastwrite' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-includes_cache_lastwrite 2022-12-28 17:18:23 +01:00
mafiesto4 8762e8ad15 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/Utilities/Utils.cs
2022-12-28 16:59:11 +01:00
mafiesto4 3a393b6825 Fix crash on Clang-platforms when calling base method from overriden scripting method (C# or Visual Script) 2022-12-28 16:56:52 +01:00
mafiesto4 7859e64db1 Fix crash on Clang-platforms when calling base method from overriden scripting method (C# or Visual Script) 2022-12-28 16:28:50 +01:00
Wiktor Kocielski 163abb107c GPUResource Name property glu e generation fix
This fixes the issue when compiling the editor in the `Release`
2022-12-28 16:23:54 +03:00
GoaLitiuM 5c9a27a6d6 Serialize C++ includes cache results
Almost half the build tool runtime is spent scanning includes in C++-files, now the results are cached and invalidated when files last write timestamp changes.
2022-12-28 14:25:11 +02:00
Tryibion bdbf931046 Added CM button in ParticleEmitterPreview 2022-12-27 23:08:16 -06:00
mafiesto4 320c8481e6 Merge branch 'Tryibion-center-script-cm' 2022-12-27 22:35:40 +01:00
mafiesto4 cdf50b2560 Merge branch 'center-script-cm' of https://github.com/Tryibion/FlaxEngine into Tryibion-center-script-cm 2022-12-27 22:34:19 +01:00
mafiesto4 d930e2418f Merge branch 'Tryibion-cancel-search-button' 2022-12-27 21:54:30 +01:00
mafiesto4 85f7d81ce4 Merge branch 'cancel-search-button' of https://github.com/Tryibion/FlaxEngine into Tryibion-cancel-search-button 2022-12-27 21:53:47 +01:00
mafiesto4 6b0ead59d2 Fix code style 2022-12-27 20:24:01 +01:00
mafiesto4 155b463f3f Merge branch 'Tryibion-add-button-hover-events' 2022-12-27 20:23:10 +01:00
mafiesto4 1d359d9ed2 Merge branch 'add-button-hover-events' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-button-hover-events 2022-12-27 20:23:04 +01:00
mafiesto4 3fdbfab98b Merge branch 'add-author' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-author 2022-12-27 20:00:15 +01:00
mafiesto4 c2df2acb2c Merge branch 'Tryibion-add-child-abstract-change' 2022-12-27 19:47:25 +01:00
mafiesto4 025345d99a Merge branch 'add-child-abstract-change' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-child-abstract-change 2022-12-27 19:47:18 +01:00
mafiesto4 601dea6d29 Merge branch 'Tryibion-anchor-drop-fix' 2022-12-27 19:43:59 +01:00
mafiesto4 c9f4b6e55c Merge branch 'anchor-drop-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-anchor-drop-fix 2022-12-27 19:42:07 +01:00
mafiesto4 1d676314e2 Merge branch 'Tryibion-editor-layout-cache' 2022-12-27 19:22:33 +01:00
mafiesto4 5bccd010cb Code style fix 2022-12-27 19:22:17 +01:00
mafiesto4 8735e0d99c Merge branch 'editor-layout-cache' of https://github.com/Tryibion/FlaxEngine into Tryibion-editor-layout-cache 2022-12-27 19:19:46 +01:00
mafiesto4 f007fb494a Merge branch 'Tryibion-remove-sorting-content-tree' 2022-12-27 19:14:10 +01:00
mafiesto4 df2e15fe8a Merge branch 'remove-sorting-content-tree' of https://github.com/Tryibion/FlaxEngine into Tryibion-remove-sorting-content-tree 2022-12-27 19:09:44 +01:00
mafiesto4 31ecc8a49f Merge branch 'Tryibion-UI-actornode-rename-change' 2022-12-27 19:07:35 +01:00
mafiesto4 25028e1d67 Improve renaming ContentTreeNode as in #849 2022-12-27 19:07:24 +01:00
mafiesto4 d8f092b60b Merge branch 'UI-actornode-rename-change' of https://github.com/Tryibion/FlaxEngine into Tryibion-UI-actornode-rename-change 2022-12-27 19:04:25 +01:00
mafiesto4 9050377526 Fix imported shader source last char value to prevent strange diffs in Version Control Systems 2022-12-27 19:04:09 +01:00
mafiesto4 cb6590e7ef Format code 2022-12-27 18:50:08 +01:00
mafiesto4 2c7a83f8b9 Merge branch 'GoaLitiuM-fix_stringview_dict' 2022-12-27 18:45:05 +01:00
mafiesto4 489c7b46ee Merge branch 'fix_stringview_dict' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_stringview_dict 2022-12-27 18:43:52 +01:00
mafiesto4 762f460e23 Fix missing NetworkManager::ClientDisconnected call for local host client
#845
2022-12-27 18:41:36 +01:00
Tryibion 8c78493a51 Simplified auto save poprup and moved it to be on the status bar for better UX. 2022-12-27 10:08:08 -06:00
Olly Rybak 9099197a88 Added ability to change sample method 2022-12-27 22:26:01 +11:00
Olly Rybak a2f52edd47 Updated description & comments 2022-12-26 20:44:53 +11:00
Olly Rybak bba136c9fe Added comment to denote which node it is 2022-12-26 20:35:22 +11:00
Tryibion fc0befd773 Fixed some CM buttons that shouldnt close when clicked. 2022-12-23 11:08:14 -06:00
Olly Rybak 5022e05c25 Added Stochastic Sampling material node 2022-12-23 21:04:13 +11:00
Tryibion d7d7c1e98f Center the context menu that is spawned from clicking the add scripts button on an actor 2022-12-22 12:44:34 -06:00
mafiesto4 8918c71312 Update old header usage 2022-12-22 19:31:01 +01:00
mafiesto4 01612f1b47 Add tag native serialization 2022-12-22 19:23:30 +01:00
Tryibion c5e558172d Added auto save reminder popup with an option to change the reminder time. 2022-12-22 11:40:10 -06:00
Tryibion 96ec28c9a8 Cleaned up and used cross sprite. 2022-12-21 15:07:27 -06:00
Tryibion 1a11238808 Added name as author 2022-12-21 13:47:38 -06:00
mafiesto4 dc81147681 Convert C# tags checks utilities into extension methods for better usability 2022-12-21 18:18:17 +01:00
mafiesto4 cbef100a17 Add FindActor/FindActors with Tag to Level 2022-12-20 23:01:53 +01:00
mafiesto4 e6900d9a17 Minor adjustments to tags 2022-12-20 22:39:20 +01:00
mafiesto4 2f6e793df4 Add utility api for Tags usage 2022-12-20 22:39:11 +01:00
mafiesto4 0dd79fe10a Fix sub-context menu child popup still being open when parent context menu gets focused again by the user 2022-12-20 21:11:41 +01:00
mafiesto4 84f2e652e4 Fix comparison operator on Array and BitArray 2022-12-20 21:11:40 +01:00
mafiesto4 757728c96c Add option to override Custom Editor for array of type 2022-12-20 21:11:39 +01:00
mafiesto4 a570d6d178 Refactor **Actor tags into hierarchical reusable Tags** system for better gameplay scripting 2022-12-20 21:11:38 +01:00
Tryibion e725533ba7 Changed all search boxes to new class. 2022-12-15 21:18:49 -06:00
Tryibion a468053f46 Added hover begin and end event to button 2022-12-15 21:09:34 -06:00
Tryibion 1c85b30e9f Change color of button on hover. 2022-12-15 20:53:47 -06:00
Tryibion 1b919b9fae Created new SearchBox class with button to clear the search. 2022-12-15 20:45:51 -06:00
mafiesto4 1cf6c5233e Refactor DDGI probes to use variable ray count depending on the probe location relative to the view frustum 2022-12-15 17:33:44 +01:00
mafiesto4 3fcbcacd43 Fix empty draw call submitting 2022-12-15 17:33:14 +01:00
Tryibion 6677177534 Removed variable MClass 2022-12-15 08:52:37 -06:00
Tryibion c3f23d1390 Added abstract check to spawning actor 2022-12-15 08:49:52 -06:00
Tryibion af5f3cbd95 Return null if type is abstract but trying to be added as an actor or script 2022-12-15 08:18:09 -06:00
Tryibion 86be1acd7a Cached sate of anchor drop down closed. 2022-12-15 07:45:08 -06:00
mafiesto4 b9244df8f7 Fix temporal anti-aliasing to provide better quality output 2022-12-15 12:40:21 +01:00
mafiesto4 63e7fb85ec Fix GetNativePtr on Vulkan 2022-12-14 16:16:43 +01:00
mafiesto4 79f4dfcaab Add GetNativePtr to GPUAdapter 2022-12-14 16:16:25 +01:00
mafiesto4 713aa3e0f9 Add SetResourceState and ForceRebindDescriptors to GPUContext for integration with external rendering libraries 2022-12-14 16:16:02 +01:00
Tryibion de79e43fb1 Code Style Fix 2022-12-14 08:30:44 -06:00
mafiesto4 c38eda5799 Fixes for compilation 2022-12-14 14:04:14 +01:00
mafiesto4 188428a7a9 Add RenderSetup and allow customizing it by gameplay and postfx 2022-12-14 14:03:59 +01:00
mafiesto4 c17477abff Add RenderingUpscaleLocation for customizing upscaler location in render pipeline 2022-12-13 11:52:52 +01:00
mafiesto4 ee019510ca Remove old RT1_FloatRGB and RT2_FloatRGB in favor pooled render targets 2022-12-13 11:52:51 +01:00
Tryibion 7eab3fe5b3 Added back sorting sub project directories. 2022-12-12 18:18:48 -06:00
Tryibion 8d9e3ded74 Remove sorting children in convtent view treeand make it so the game is on top, plugins in the middle, and engine at the bottom of the tree. This is for better UX. 2022-12-12 16:55:12 -06:00
mafiesto4 48b88af88a Fix deadlock in GPUDevice caused by f2c594569d 2022-12-12 20:16:11 +01:00
mafiesto4 516e3fbc65 Fix Visject surface input box color for missing connection type but with type hint 2022-12-12 12:17:30 +01:00
mafiesto4 359e7d68d4 Add simplified collider for in-built primitive meshes 2022-12-12 11:22:15 +01:00
mafiesto4 d4601ecb44 Add memory usage query for various asset types 2022-12-09 15:48:43 +01:00
mafiesto4 ed700cb070 Add **Assets profiler** to Editor 2022-12-09 15:46:01 +01:00
mafiesto4 e5742772ae Add more features to GPU Memory profiler tab 2022-12-09 11:28:53 +01:00
mafiesto4 a809a69ca0 Fixes for GPU resources C# object types 2022-12-09 11:28:39 +01:00
mafiesto4 202de3499f Rename property GetElementsCount to ElementsCount in C# GPUBufferDescription 2022-12-09 11:28:17 +01:00
mafiesto4 7f0c73606c Improve naming various GPU resources 2022-12-09 11:27:41 +01:00
mafiesto4 b33ce8d264 Add pooled render targets naming for easier GPU memory usage debugging 2022-12-09 11:26:35 +01:00
Tryibion a45f7a86f2 Added Tooltips 2022-12-08 21:21:03 -06:00
Tryibion ffc5a4d24f Style fix 2022-12-08 20:42:39 -06:00
Tryibion 2e055d1909 Changed saved window layouts to be accessable from any project. added apply and delete buttons as well. 2022-12-08 20:40:21 -06:00
Tryibion 1a3bcc5d27 Changed default to true. 2022-12-08 16:21:10 -06:00
Tryibion ad0aadbf29 Changed location of renaming box for ActorTreeNodes to start at the label for better UX. 2022-12-08 16:06:39 -06:00
mafiesto4 d544c43744 Style fix 2022-12-08 16:30:58 +01:00
mafiesto4 9c2104391b Add profile events to editor profiler window 2022-12-08 16:30:51 +01:00
mafiesto4 df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
Tryibion 95db33e614 Added string text box to end on click 2022-12-08 09:00:37 -06:00
Tryibion f81740f28c Merge branch 'click-to-submit-text' of https://github.com/Tryibion/FlaxEngine into click-to-submit-text 2022-12-08 08:33:09 -06:00
Tryibion eab775b9a2 Added RstoreTextFromStart function and changed the calls. Renamed bool. 2022-12-08 08:02:57 -06:00
Tryibion 9b82860154 Allows user to left click to end editing text and right click to change text back to its original and end editing. 2022-12-08 08:02:57 -06:00
mafiesto4 f2c594569d Remove GPUResourcesCollection and use GPUDevice instead to simplify code 2022-12-07 15:32:23 +01:00
mafiesto4 3017010ef4 Minor adjustments to the profiling tools code 2022-12-07 15:27:40 +01:00
mafiesto4 f426c75696 Fix recursive binary modules usage in scripting 2022-12-06 11:43:19 +01:00
mafiesto4 f918fa2a32 Merge remote-tracking branch 'origin/master' into 1.5 2022-12-05 09:24:15 +01:00
mafiesto4 5a50656249 Fix 2022-12-04 18:23:40 +01:00
mafiesto4 d5fa2d48db Merge branch 'GoaLitiuM-createprocess_attrib_alloc_fix' 2022-12-04 18:22:59 +01:00
mafiesto4 125ce06e4c Merge branch 'createprocess_attrib_alloc_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-createprocess_attrib_alloc_fix 2022-12-04 18:22:53 +01:00
mafiesto4 f8734db1e1 Revert "Fix Development build issue with Flax.Build running in Development mode"
This reverts commit 7e434932ae.
2022-12-04 18:22:38 +01:00
mafiesto4 7e434932ae Fix Development build issue with Flax.Build running in Development mode 2022-12-04 18:21:18 +01:00
GoaLitiuM 7eae439624 Fix RunProcess not working in development builds
Works around a possible compiler bug caused by db6aab1cf6
2022-12-04 18:09:07 +02:00
GoaLitiuM 5e5d88ed8e Fix input actions/axis lookups to not use StringView
The stored strings might point to temporary strings, causing garbage data
to be present in the dictionary at times.
2022-12-03 15:43:52 +02:00
mafiesto4 a0a087fc91 Mark UWP platform as deprecated 2022-12-03 13:21:06 +01:00
mafiesto4 b85d58db85 Mark UWP platform as deprecated 2022-12-03 13:17:24 +01:00
mafiesto4 2b6e3cf993 Fix lod preview typo in df45ac46b1 2022-12-03 13:10:47 +01:00
mafiesto4 df45ac46b1 Optimize various debug views performance 2022-12-03 12:23:39 +01:00
mafiesto4 950289db9f Fix crash when drawing scene in async and content streaming updates model residency 2022-12-03 11:23:26 +01:00
mafiesto4 98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
mafiesto4 6458d7e0db Add support for sending replicated object data in parts 2022-12-02 12:18:08 +01:00
mafiesto4 f61100deca Cleanup for networking impl 2022-12-02 10:55:12 +01:00
mafiesto4 adcffab78a Match C# string serialization in network stream to C++ impl 2022-12-02 10:36:52 +01:00
mafiesto4 eae8fd7ef9 Add AdditionalScenes to BuildSettings 2022-12-02 10:05:32 +01:00
mafiesto4 0f19fc64fd Add SceneReference to C++ scripting API 2022-12-02 10:05:07 +01:00
mafiesto4 cfffc76aa6 Fix potential crash 2022-12-02 10:04:46 +01:00
Wiktor Kocielski 2968399f2d Core classes Random & RandomStream port to C# 2022-12-01 19:54:57 +03:00
mafiesto4 66d01d8d7f Merge remote-tracking branch 'origin/master' into 1.5 2022-12-01 12:10:41 +01:00
mafiesto4 7486bc640f Add network profiler tab with network driver data sent/received 2022-11-30 22:05:58 +01:00
mafiesto4 7d6926e19f Merge branch 'plemsoft-PE-1.4-10' 2022-11-30 18:10:25 +01:00
mafiesto4 ce228c9003 Merge branch 'PE-1.4-10' of https://github.com/plemsoft/FlaxEngine into plemsoft-PE-1.4-10 2022-11-30 18:10:20 +01:00
mafiesto4 12f8a15b8b Remove unused include 2022-11-30 18:07:27 +01:00
mafiesto4 8694d9f9b4 Fix helper mouse button up event on drag drop end on Windows
Regression from 4efd411045
2022-11-30 18:06:39 +01:00
mafiesto4 a3a001633b Fix Custom Editors groups regression 2022-11-30 17:47:56 +01:00
mafiesto4 e4840d35d6 Adjust network transform precision 2022-11-30 16:19:46 +01:00
mafiesto4 e5b4ce06b9 Add support for C# properties automatic replication codegen 2022-11-30 16:19:32 +01:00
mafiesto4 a819d657db Refactor network object spawnign to batch all subobjects with a single spawn message to reduce invalid objects linkage on different clients 2022-11-30 12:30:49 +01:00
mafiesto4 96742404fd Various improvements for network objects despawning 2022-11-30 12:30:48 +01:00
Tryibion 93a0facd93 Allows user to left click to end editing text and right click to change text back to its original and end editing. 2022-11-29 21:30:17 -06:00
mafiesto4 f5ed9292e7 Merge branch 'master' into 1.5 2022-11-29 23:19:01 +01:00
Preben Eriksen ee84d53cdc PE: Support normal generation when using assimp importer. 2022-11-29 11:09:34 +01:00
mafiesto4 9e1692e3e0 Code style cleanup
#837
2022-11-29 08:41:52 +01:00
mafiesto4 3f3697fbfa Code style cleanup
#837
2022-11-28 23:35:27 +01:00
mafiesto4 853fa482f6 Merge branch 'plemsoft-PE-1.4-5' 2022-11-28 23:22:56 +01:00
mafiesto4 8bf128dc0a Merge branch 'PE-1.4-5' of https://github.com/plemsoft/FlaxEngine into plemsoft-PE-1.4-5 2022-11-28 23:22:49 +01:00
mafiesto4 69ad8bc672 Fix tests hanging if scripting compilation fails (eg. build tool issue) 2022-11-28 20:34:50 +01:00
mafiesto4 db6aab1cf6 Fix regression in memory allocators 2022-11-28 20:34:26 +01:00
Preben Eriksen cfb25840f9 Merge branch 'PE-1.4-3' into PE-1.4-5
* PE-1.4-3:
  PE: DDS - Improve import time if source already has mipmaps and are compressed.
2022-11-28 12:58:47 +01:00
Preben Eriksen 64debe08a8 Merge commit 'c73eb548c0e8967624d4cb85c8f80d230e583ef8' into PE-1.4-5
* commit 'c73eb548c0e8967624d4cb85c8f80d230e583ef8':
  PE: FBX Import - Improved normal map detection using diffuse name, if normap map was not setup inside object.
2022-11-28 12:58:18 +01:00
Preben Eriksen 460d0780a1 Merge commit '54ccf9edc7ffcda8490687ac9a4dbb4a652d4f63' into PE-1.4-5
* commit '54ccf9edc7ffcda8490687ac9a4dbb4a652d4f63':
  PE: Fixed - Custom animation import, frame index start and end was not the actual index but depended on frames per second. Made it impossible to use, now use the real frame index.
2022-11-28 12:57:53 +01:00
Preben Eriksen d03363b376 Merge commit '29900a3cc005f7f5ac74254d2b7a58920341d73c' into PE-1.4-5
* commit '29900a3cc005f7f5ac74254d2b7a58920341d73c':
  PE: Support importing WAV files that contain "extra format bytes" in "fmt" header.
2022-11-28 12:57:21 +01:00
Preben Eriksen de2374ad40 Merge commit 'b02020f8017bb4f3f22440bc39b60857ab364179' into PE-1.4-5
* commit 'b02020f8017bb4f3f22440bc39b60857ab364179':
  PE: AudioSource - Stop() folowed by Play() now act like a restart.
2022-11-28 12:56:30 +01:00
mafiesto4 681b873ba6 Merge branch 'Tryibion-drag-max-panels' 2022-11-27 21:48:32 +01:00
mafiesto4 86431d3d9a Merge branch 'drag-max-panels' of https://github.com/Tryibion/FlaxEngine into Tryibion-drag-max-panels 2022-11-27 21:47:52 +01:00
Tryibion 4a9a01a89e Moved check and ops to also fix issue #683 2022-11-27 14:23:01 -06:00
mafiesto4 7cfde78198 Code style fix 2022-11-27 21:05:20 +01:00
mafiesto4 3c963330e0 Merge branch 'RuanLucasGD-master' 2022-11-27 21:04:52 +01:00
mafiesto4 cd23f88d36 Merge branch 'master' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-master 2022-11-27 21:04:44 +01:00
mafiesto4 5bff437640 Merge branch 'Tryibion-drag-max-panels' 2022-11-27 21:03:06 +01:00
mafiesto4 08c035e7d8 Update engine materials 2022-11-27 20:33:45 +01:00
mafiesto4 3da7e8d7ba Additional improvement for RenderListBuffer 2022-11-27 20:33:39 +01:00
mafiesto4 8e52e2fb10 Merge branch 'master' into 1.5 2022-11-27 12:11:50 +01:00
mafiesto4 373350df1e Improve stability of RenderListBuffer resizing when multiple threads add and resize at the same time 2022-11-27 12:07:10 +01:00
mafiesto4 835a230323 Refactor material shaders to use separate constant buffer (slot 1) for shared per-view constants 2022-11-27 12:06:31 +01:00
mafiesto4 189575efec Add GPUDevice::CreateConstantBuffer for custom constants buffers usage 2022-11-26 21:17:05 +01:00
mafiesto4 39dc439cd8 Revert "Remove unused LodProxyView feature from RenderContext (shadow projections are using the same draw batch as main view now)"
This reverts commit c33fe04645.
2022-11-26 20:37:04 +01:00
mafiesto4 bdb27fef1b Minor optimizations 2022-11-26 12:08:53 +01:00
mafiesto4 c33fe04645 Remove unused LodProxyView feature from RenderContext (shadow projections are using the same draw batch as main view now) 2022-11-25 23:04:17 +01:00
Tryibion 8707d658f1 Added ability to drag maximized panels. 2022-11-25 15:14:04 -06:00
mafiesto4 b1618a88be Fix invalid rounding up to power of two in allocators
#833
2022-11-25 22:07:13 +01:00
mafiesto4 b4fdb0cc26 Improvements and fixes for multiplayer networking 2022-11-25 16:50:44 +01:00
Ruan Lucas 66ce8abe01 Adds side mouse button shortcuts to the Content window 2022-11-24 23:58:24 -04:00
mafiesto4 e6251ea4b0 Merge branch 'Tryibion-rename-on-click' 2022-11-24 21:55:29 +01:00
mafiesto4 f9cb2ece6e Merge branch 'rename-on-click' of https://github.com/Tryibion/FlaxEngine into Tryibion-rename-on-click 2022-11-24 21:55:21 +01:00
mafiesto4 e713273942 Fix textbox defocus on edit end
#789
2022-11-24 21:54:54 +01:00
mafiesto4 18c4e34af8 Fix invalid Math::RoundUpToPowerOf2
#833
2022-11-24 20:21:34 +01:00
mafiesto4 63c4eb17e4 Fix invalid Math::RoundUpToPowerOf2
#833
2022-11-24 20:20:36 +01:00
mafiesto4 5cc66d60dc Tweaks 2022-11-24 20:14:47 +01:00
mafiesto4 9076d3b82b Add Tracy profile zone to in-build profiling tools CPU update 2022-11-24 20:01:46 +01:00
mafiesto4 6f95f162d0 Move MotionVectors pass draw calls sorting to be together with the rest of the sortings 2022-11-24 20:01:28 +01:00
mafiesto4 33910eb310 Fix transform deltas check to prevent player teleporing against server will 2022-11-24 12:27:02 +01:00
mafiesto4 dbcb333ba9 Fix crash when using material in PostFx global graphics settings (asset loaded before GPU init) 2022-11-24 09:58:46 +01:00
mafiesto4 76c1045444 Code cleanup after #823 2022-11-23 19:18:30 +01:00
mafiesto4 90bf466495 Merge branch 'Tryibion-Better-Actor-Toolbox' 2022-11-23 19:02:34 +01:00
mafiesto4 b581bf7bac Merge branch 'Better-Actor-Toolbox' of https://github.com/Tryibion/FlaxEngine into Tryibion-Better-Actor-Toolbox 2022-11-23 19:02:26 +01:00
mafiesto4 caeb999d6a Fix warning 2022-11-23 17:28:00 +01:00
mafiesto4 45e2de86a0 Add ReplicationModes to NetworkTransform with interpolation and prediction modes 2022-11-23 17:26:31 +01:00
mafiesto4 2644b4d75a Various improvements to the networking 2022-11-23 17:26:30 +01:00
mafiesto4 8e41711e82 Add check for valid RPC impl define usage 2022-11-23 17:26:30 +01:00
mafiesto4 073bd74b3c Fix replicating client object references on a server 2022-11-23 17:26:29 +01:00
mafiesto4 62cf8bebd0 Bump up materials version after merge of two upgrades 2022-11-22 20:09:59 +01:00
mafiesto4 2ad6eb0c72 Merge branch 'master' into 1.5 2022-11-22 19:58:53 +01:00
mafiesto4 2e46ebea7a Update engine assets 2022-11-21 23:46:27 +01:00
mafiesto4 c55d38534d Add WorldPosition to postfx material scene textures for world-space position sampling at uv 2022-11-21 23:45:13 +01:00
mafiesto4 99c296ff3a Merge source files 2022-11-21 23:35:03 +01:00
mafiesto4 cae7f34ab2 Merge branch 'Tryibion-mouse-pos-fix-for-value-box' 2022-11-21 19:31:24 +01:00
mafiesto4 258b0c777f Merge branch 'mouse-pos-fix-for-value-box' of https://github.com/Tryibion/FlaxEngine into Tryibion-mouse-pos-fix-for-value-box 2022-11-21 19:31:19 +01:00
mafiesto4 d1d48ec31d Merge branch 'GoaLitiuM-fix_empty_shadercache_crash' 2022-11-21 19:30:18 +01:00
mafiesto4 ae56abc929 Merge branch 'fix_empty_shadercache_crash' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_empty_shadercache_crash 2022-11-21 19:30:07 +01:00
mafiesto4 b3cc973ade Merge branch 'GoaLitiuM-msbuild_vspreview' 2022-11-21 19:29:06 +01:00
mafiesto4 cbb4b11660 Merge branch 'msbuild_vspreview' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-msbuild_vspreview 2022-11-21 19:29:01 +01:00
mafiesto4 71764eba03 Merge branch 'Tryibion-particle-effect-actor-fix' 2022-11-21 19:26:50 +01:00
mafiesto4 17b7fcde27 Merge branch 'particle-effect-actor-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-particle-effect-actor-fix 2022-11-21 19:26:43 +01:00
mafiesto4 bcb890eab1 Merge branch 'Tryibion-organized-content-new-cm' 2022-11-21 18:56:43 +01:00
mafiesto4 5a6f6d97a7 Minor code adjustments
#810
2022-11-21 18:55:33 +01:00
mafiesto4 af244718be Merge branch 'organized-content-new-cm' of https://github.com/Tryibion/FlaxEngine into Tryibion-organized-content-new-cm 2022-11-21 16:15:04 +01:00
mafiesto4 6397381950 Merge branch 'Tryibion-better-material-source-window' 2022-11-21 16:11:41 +01:00
mafiesto4 c514aad9a3 Code style fix
#818
2022-11-21 16:11:35 +01:00
mafiesto4 c5d1897acf Rename CanScrollMultilineText to IsMultilineScrollable to match the other properties naming
#818
2022-11-21 16:10:53 +01:00
mafiesto4 c21c57605a Merge branch 'better-material-source-window' of https://github.com/Tryibion/FlaxEngine into Tryibion-better-material-source-window 2022-11-21 16:07:52 +01:00
mafiesto4 43d70c7fab Merge branch 'Tryibion-editor-view-tab-close-fix' 2022-11-21 16:05:55 +01:00
mafiesto4 864d4981ed Merge branch 'editor-view-tab-close-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-editor-view-tab-close-fix 2022-11-21 16:04:11 +01:00
mafiesto4 eeff5ea3ae Fix crash in Text Render drawing 2022-11-21 15:52:36 +01:00
mafiesto4 93c0dd704e Merge branch 'master' into 1.5
# Conflicts:
#	Source/Engine/Serialization/Stream.cpp
2022-11-21 15:51:57 +01:00
mafiesto4 b139ebfe88 Fix crash when reading Transform from native data stream 2022-11-21 15:37:17 +01:00
mafiesto4 bed880248c Update Github Actions scripts components to the latest version 2022-11-21 14:59:55 +01:00
mafiesto4 1dfea17bce Fix client rpc 2022-11-21 14:32:48 +01:00
mafiesto4 33e2fa7f9e Fix game build 2022-11-21 14:23:59 +01:00
Tryibion 4f38a87eed Changed using screen coords to using window points. 2022-11-19 16:33:09 -06:00
GoaLitiuM 54e30c35e9 Fix crash when shader cache file is empty 2022-11-17 21:22:32 +02:00
GoaLitiuM 911ca7f995 Support MSBuild in preview version Visual Studio in build scripts 2022-11-17 21:17:39 +02:00
mafiesto4 bdea0930da Add info about .Net Framework SDK for engine devs
#821
2022-11-16 23:33:14 +01:00
mafiesto4 ff8e002d33 Fix missing output clear when reading text array in OpenFBX
https://github.com/nem0/OpenFBX/pull/80
2022-11-16 18:37:12 +01:00
mafiesto4 26ff8e62eb Additional change to vscode project 2022-11-16 17:55:20 +01:00
mafiesto4 84bd7da620 Revert part of 5b212bb8bc #743 2022-11-16 17:54:18 +01:00
mafiesto4 1b7a7dc15c Add network RPCs to C# codegen 2022-11-16 17:31:28 +01:00
mafiesto4 efb48697fa Add network RPCs 2022-11-16 17:31:28 +01:00
mafiesto4 91ff0f76f8 Add network stats API for transport layer 2022-11-16 17:31:27 +01:00
mafiesto4 e113d5c549 Add NetworkLagDriver for lag simulation over low-level network transport layer 2022-11-16 17:31:26 +01:00
mafiesto4 c0f596a00e Add ScriptingObjectReference for Read/WriteStream and scripting interop as an array 2022-11-16 17:31:26 +01:00
mafiesto4 c41d67c4ac Update engine materials 2022-11-16 09:57:23 +01:00
mafiesto4 16ebc72099 Fix rendering of custom actors lists in Editor viewports 2022-11-16 09:57:17 +01:00
mafiesto4 20661fc902 Fix custom interpolators register index 2022-11-16 09:56:36 +01:00
mafiesto4 3b4d91924f Add draw call sorting keys generation during draw calls collection (async) 2022-11-16 09:20:56 +01:00
mafiesto4 eb281a7574 Additional improvements to scene rendering 2022-11-15 22:39:03 +01:00
mafiesto4 a2670dc3b5 Refactor ConcurrentArray into RenderListBuffer for specialized usage in renderer 2022-11-15 17:43:30 +01:00
Tryibion ade5166977 fix editor updating base values 2022-11-14 20:00:54 -06:00
Tryibion 68a5073b29 fixed issue when asset picker has no value on particle effect 2022-11-14 18:45:44 -06:00
Tryibion 6c26cbe9ba Removed adding inherited types 2022-11-11 17:11:25 -06:00
Tryibion de6cd88870 Changed names of a couple base types to match before change 2022-11-11 17:08:07 -06:00
Tryibion 6b4da88ef0 Added the ability to specify the name of the actor in the toolbox, works in searching as well. 2022-11-11 17:03:04 -06:00
Tryibion 62cd59549d removed some old code 2022-11-11 16:38:34 -06:00
Tryibion 4515844219 changed how the actor toolbox is created. Allows fo user to enter their own tabs and actors with an attribute 2022-11-11 16:37:45 -06:00
Tryibion 6c18ca3f45 changed to MouseButtonDown 2022-11-11 12:45:10 -06:00
Tryibion eab45f0c48 renames item when clicking off of the popup and name is changed 2022-11-11 12:42:12 -06:00
mafiesto4 b47d95205f Add optional async scene drawing and improve stability 2022-11-11 15:47:33 +01:00
mafiesto4 881880fc34 Fixes for ConcurrentArray usage 2022-11-10 23:46:59 +01:00
mafiesto4 72244be201 Add separate async job for each foliage type drawing 2022-11-10 23:46:43 +01:00
mafiesto4 aa978ce0e4 Minor improvements 2022-11-10 23:45:58 +01:00
mafiesto4 4ba1531cda Add async scene drawing for Foliage and Terrain 2022-11-10 23:43:36 +01:00
Preben Eriksen c26e0f5923 PE: DDS - Improve import time if source already has mipmaps and are compressed. 2022-11-10 13:41:40 +01:00
Preben Eriksen c73eb548c0 PE: FBX Import - Improved normal map detection using diffuse name, if normap map was not setup inside object. 2022-11-10 13:14:19 +01:00
Preben Eriksen 54ccf9edc7 PE: Fixed - Custom animation import, frame index start and end was not the actual index but depended on frames per second. Made it impossible to use, now use the real frame index. 2022-11-10 11:35:29 +01:00
Preben Eriksen 29900a3cc0 PE: Support importing WAV files that contain "extra format bytes" in "fmt" header. 2022-11-10 11:19:29 +01:00
Preben Eriksen b02020f801 PE: AudioSource - Stop() folowed by Play() now act like a restart. 2022-11-10 10:51:20 +01:00
mafiesto4 ea5e38fdd1 Fixes for overriden draw calls material in debug views 2022-11-10 00:22:23 +01:00
mafiesto4 e53623e854 Fix crash with custom SelectionOutline postfx object in Editor viewport 2022-11-08 19:52:47 +01:00
mafiesto4 81c13825c5 Merge branch 'Tryibion-actor-CM' 2022-11-06 23:05:59 +01:00
mafiesto4 e98621b887 Code style fix
#814
2022-11-06 23:05:36 +01:00
mafiesto4 735b07f0d7 Merge branch 'actor-CM' of https://github.com/Tryibion/FlaxEngine into Tryibion-actor-CM 2022-11-06 22:22:45 +01:00
mafiesto4 81f7f91d73 Merge branch 'plemsoft-PE-1.4-2' 2022-11-06 22:19:06 +01:00
mafiesto4 08f71f4469 Merge branch 'PE-1.4-2' of https://github.com/plemsoft/FlaxEngine into plemsoft-PE-1.4-2 2022-11-06 22:17:58 +01:00
mafiesto4 299f5e8732 Merge branch 'Tryibion-prefab-tree-fix' 2022-11-06 22:05:44 +01:00
mafiesto4 ac89b395af Merge branch 'prefab-tree-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-prefab-tree-fix 2022-11-06 22:05:22 +01:00
Tryibion 3ac77121f5 made readonly text and fixed sizing 2022-11-06 13:45:06 -06:00
mafiesto4 f2170a09cd Optimize GlobalSDF actors drawing CPU perf 2022-11-06 20:44:44 +01:00
mafiesto4 9c7da16c1a Add multi-threaded scene rendering with Job System 2022-11-06 20:44:43 +01:00
mafiesto4 183636289a Optimize shadow projections rendering contexts to collect draw call indices only (draw calls from main render list) 2022-11-06 20:44:42 +01:00
Tryibion 14f64b5b20 dont close when clicking on view editor CM buttons that are not buttons. 2022-11-04 12:58:42 -05:00
Tryibion 6ace0961b3 added to resize the x and y on text changed 2022-11-04 10:57:47 -05:00
Tryibion c817b63927 made it easier to scroll and resize the material source window. and added the ability to change if the text can be scrolled in the text box 2022-11-04 10:53:29 -05:00
Tryibion de4d3d97f2 removed not needed variable 2022-11-04 07:10:24 -05:00
mafiesto4 996d38b61d Add scripts dragging support to scene tree for reparenting 2022-11-04 12:49:46 +01:00
mafiesto4 e38ab163c4 Add support for hierarchical objects ownership 2022-11-03 14:34:35 +01:00
mafiesto4 007a5cb5ca Add Float2/Float3/Float4 replication in C# 2022-11-03 14:33:39 +01:00
Tryibion 2dca30305f added shader source and removed unused variables/includes 2022-11-03 08:12:40 -05:00
mafiesto4 0c9001e3d1 Fixes 2022-11-03 08:53:09 +01:00
mafiesto4 b816e2b3a9 Add INetworkObject and implement various networking features 2022-11-03 08:53:09 +01:00
mafiesto4 957a34866b Fix null String serialization over network via C# API 2022-11-03 08:53:08 +01:00
mafiesto4 70cfbada04 Add support for spawning network object on custom set of clients 2022-11-03 08:53:07 +01:00
mafiesto4 043beb03a9 Add support for DataContainer in scripting api bindings 2022-11-03 08:53:07 +01:00
Tryibion 7487b468d3 added extra checks 2022-11-02 18:37:11 -05:00
mafiesto4 0f619c2cb6 Simplify code 2022-11-03 00:19:21 +01:00
mafiesto4 b2a9ee495a Optimize PrevWorld updating during scene rendering 2022-11-03 00:08:30 +01:00
Tryibion a1e4400994 changed to use attribute to add items to the content context menu, this also allows users to add their own items to the CM 2022-11-02 17:57:40 -05:00
mafiesto4 949f16fba8 Fix returning bool value in overriden scripting method 2022-11-02 20:30:40 +01:00
mafiesto4 5bd56cae81 Fix GlobalSDF rasterization of heightfield 2022-11-02 20:30:13 +01:00
mafiesto4 6a61b692aa Refactor PostProcessEffect to support C++ scripting 2022-11-02 20:29:59 +01:00
mafiesto4 86b6b20200 Fix incorrect skybox cubemap caching dirty interval 2022-11-01 23:15:43 +01:00
mafiesto4 f37ed16270 Optimize GPUBuffer on D3D11 to not stall CPU on reading staging readback buffer 2022-11-01 21:31:42 +01:00
mafiesto4 a0a3457733 Add more profiling data for Tracy 2022-11-01 15:46:21 +01:00
mafiesto4 8a98f466c5 Use named events for GPU passes for CPU profiling usability 2022-11-01 12:50:17 +01:00
Tryibion 1af0188a3c changed how actor context menus are created. 2022-10-31 19:18:43 -05:00
mafiesto4 a945e2c2a5 Fix GlobalSDF and GlobalSurfaceAtlas drawing if disabled by user 2022-11-01 01:01:22 +01:00
mafiesto4 a66c72a0c2 Optimize GlobalSDF performance on CPU when scene is mostly static 2022-11-01 01:00:58 +01:00
mafiesto4 ec62763e87 Optimize Global SDF cascades updates intervals (max 1 cascade per frame) 2022-11-01 00:37:01 +01:00
mafiesto4 5f4aa39263 Global SDF improvements 2022-10-31 23:43:37 +01:00
mafiesto4 0898723a45 Fix Global SDF rasterization when loading scene 2022-10-31 22:18:45 +01:00
mafiesto4 01a7ae8bd4 Add NetworkTransform component 2022-10-31 16:31:06 +01:00
Preben Eriksen 1d9f5e8cfe PE: Fixed - flax storage crash , happened quit often on my system. 2022-10-31 16:07:43 +01:00
mafiesto4 5e81d83648 Fix 2022-10-31 13:36:13 +01:00
mafiesto4 2475b46375 Fix INetworkSerializable if class has vtable offset 2022-10-31 13:25:29 +01:00
mafiesto4 a90de82e45 Add network objects dirtying api 2022-10-31 12:21:04 +01:00
mafiesto4 ecfcc88dda Add network serializer callback for type without it but with valid base type serializer 2022-10-31 12:21:03 +01:00
mafiesto4 77b98f7081 Add Layer and StaticFlags from parent actor after spawnign actor in Prefab Window 2022-10-31 12:21:02 +01:00
mafiesto4 00c5f7d5d4 Add prefabs spawning over network 2022-10-31 12:21:02 +01:00
Tryibion 050635b2cd changed way that the the new menu is generated. Added category name to proxies 2022-10-30 14:30:32 -05:00
mafiesto4 f1b67935b3 Optimize BoundingFrustum::Intersects(BoundingSphere) 2022-10-29 21:13:21 +02:00
mafiesto4 00be6ffb89 Merge branch 'master' into 1.5 2022-10-29 20:45:51 +02:00
mafiesto4 38d65d38d1 Merge branch 'Tryibion-better-tool-tip-hide-on-drag' 2022-10-29 19:36:29 +02:00
mafiesto4 ccd830a270 Merge branch 'better-tool-tip-hide-on-drag' of https://github.com/Tryibion/FlaxEngine into Tryibion-better-tool-tip-hide-on-drag 2022-10-29 19:34:02 +02:00
mafiesto4 e1836a222c Fix bug with Screen.CursorVisible set in script OnStart
#799
2022-10-29 19:33:34 +02:00
mafiesto4 7ddc1a1553 Code style fix 2022-10-29 19:05:35 +02:00
mafiesto4 5fe1d3f12f Merge branch 'Tryibion-event-for-keydown-textbox' 2022-10-29 19:05:14 +02:00
mafiesto4 76bc412fdd Merge branch 'event-for-keydown-textbox' of https://github.com/Tryibion/FlaxEngine into Tryibion-event-for-keydown-textbox 2022-10-29 19:05:07 +02:00
mafiesto4 57e812d336 Fix audio clips streaming to be thread-safe when audio sources play
#786
2022-10-29 18:57:57 +02:00
mafiesto4 6379171fa6 Fix crash due to bdb69d57dd (Mono typenames are invalid after dll unloaded) 2022-10-29 18:56:21 +02:00
Tryibion 50414d7fed added deselecting nodes when left clicking in blank area in the scene and prefab tree views 2022-10-29 09:22:39 -05:00
Tryibion 40a04bc5d6 Various fixes to prefab tree view. Scrolling like scene view, disable scrolling on renaming, can open CM anywhere in tree panel. 2022-10-29 09:14:08 -05:00
mafiesto4 7535f22b10 Merge branch 'plemsoft-PE-1.4' 2022-10-29 12:04:55 +02:00
mafiesto4 4ba93d9d86 Code cleanup #765 2022-10-29 12:04:42 +02:00
mafiesto4 f67d1412de Add undo/redo and navmesh dirtying when using selection rotate shortcut (R key)
#765
2022-10-29 11:50:16 +02:00
mafiesto4 c41248f402 Optimize asset registry paths check to use StringUtils::CompareIgnoreCase instead of String::ToLowerToLower
#765
2022-10-29 11:42:06 +02:00
mafiesto4 5cfe3b88c7 Add unit test for ModelTool::DetectLodIndex and improve LOD index detection further
#765
2022-10-29 11:38:20 +02:00
mafiesto4 bd562a374a Merge branch 'PE-1.4' of https://github.com/plemsoft/FlaxEngine into plemsoft-PE-1.4 2022-10-29 11:15:36 +02:00
mafiesto4 284917796a Merge branch 'PrecisionRender-triplanar-uv' 2022-10-28 17:54:05 +02:00
mafiesto4 27ad3c38b7 Rename RenderListAllocation into RendererAllocation 2022-10-28 17:53:22 +02:00
mafiesto4 eb52d333ae Refactor scene rendering to use batched culling for main view and shadow projections 2022-10-28 17:53:21 +02:00
mafiesto4 e217d5e79b Refactor scene rendering to separate drawable actors 2022-10-28 17:53:21 +02:00
Tryibion 3c689a4697 removed not needed variables and fixed variable names 2022-10-28 08:32:52 -05:00
mafiesto4 4123e4cf69 Improve network replication debug log usage 2022-10-28 13:19:26 +02:00
mafiesto4 2c2071285a Add proper networked objects destruction upon despawn or shutdown 2022-10-28 11:12:39 +02:00
Tryibion 3f135c832e organized the "new" child context menu into categories. 2022-10-27 23:05:51 -05:00
mafiesto4 e8d39e706f Add C++ properties replication support 2022-10-27 16:21:53 +02:00
mafiesto4 52e0e70908 Add support for different access level for scripting property functions 2022-10-27 15:14:34 +02:00
mafiesto4 28dda32f0e Fix when spawning already spawned object 2022-10-27 14:41:03 +02:00
mafiesto4 bff93de116 Various improvements for networking 2022-10-27 14:18:53 +02:00
mafiesto4 c89929a940 Fix crash when low-level network driver fails to start 2022-10-27 14:18:39 +02:00
mafiesto4 312d1735ef Attempt to fix clang compilation 2022-10-27 13:39:35 +02:00
mafiesto4 5e60085371 Add automatic parenting for scene objects spawned over the network 2022-10-27 13:30:22 +02:00
mafiesto4 3ede538fcb Add support for non-const ref parameters with conversion (eg. string or array) in scripting api function parameters 2022-10-26 15:59:34 +02:00
mafiesto4 5c270810d0 Refactor GetNonTerminatedText into GetText in StringView 2022-10-26 15:59:03 +02:00
mafiesto4 0dec70847f Add support for StringAnsi in scripting api 2022-10-26 15:00:39 +02:00
mafiesto4 19f1c4251c Fix scripting api bindings for types with changed scripting name (other than native type name) 2022-10-26 15:00:29 +02:00
mafiesto4 d90245bf32 Add Tag parsing in scripting type (for custom extensions) 2022-10-26 14:59:50 +02:00
mafiesto4 2c7d2893c8 Add Color.FromRGBA 2022-10-26 14:58:55 +02:00
mafiesto4 b3eb38009d Improve various types usage in scripting api 2022-10-26 14:58:46 +02:00
mafiesto4 3f1dba86a3 Fix parsing scripting function parameters with function parameter within default parameter value 2022-10-26 14:58:05 +02:00
Preben Eriksen 6a5efdeb29 PE: Fix - Ansi is max 7 bit, assimp/openfbx only support ansi paths. ( https://github.com/FlaxEngine/FlaxEngine/issues/806 ) 2022-10-26 10:00:16 +02:00
Preben Eriksen 8a46aec294 Merge branch 'PE-1.4' of https://github.com/plemsoft/FlaxEngine into PE-1.4 2022-10-26 09:58:42 +02:00
Preben Eriksen fd831f569c PE: Fix - Streaming audio could not loop. ( https://github.com/FlaxEngine/FlaxEngine/issues/786 ) 2022-10-26 09:54:10 +02:00
Tryibion 2297ba3c86 moved where hiding the tooltip is called when starting to drag for better response 2022-10-25 16:38:23 -05:00
mafiesto4 cd4d15e0e2 Minor improvements 2022-10-25 15:07:04 +02:00
mafiesto4 044e141848 Add Render2D.DrawTexturedTriangles with index buffer 2022-10-25 15:06:52 +02:00
mafiesto4 d73822046f Bump up version number 2022-10-25 15:06:31 +02:00
Preben Eriksen 148b15d473 Merge branch 'master' into PE-1.4 2022-10-25 09:19:01 +02:00
PrecisionRender 748c58d52e Initial commit 2022-10-24 19:36:16 -05:00
Tryibion a79b642613 Added KeyUp event in TextBoxBase 2022-10-24 14:11:34 -05:00
Tryibion 616379c54b Added an event to subscribe to in TextBoxBase that gets fired when a key is down. 2022-10-24 14:00:56 -05:00
mafiesto4 91663f0202 Merge branch 'Tryibion-smoother-content-view' 2022-10-24 16:44:20 +02:00
mafiesto4 f078499dfb Another adjustment to have position aligned too #796 2022-10-24 16:44:11 +02:00
Tryibion 87a0c671f6 Adjusted only the bounds for content items to be floored. 2022-10-24 09:01:40 -05:00
mafiesto4 8a76d32ded Various improvements 2022-10-24 15:29:30 +02:00
mafiesto4 30fdde614d Add network objects ownership changing with network sync 2022-10-24 15:02:11 +02:00
mafiesto4 494de7a9f4 Rename 2022-10-24 14:35:43 +02:00
mafiesto4 b8697e7204 Rename 2022-10-24 14:30:08 +02:00
mafiesto4 479a83fdef Add objects despawning in networking 2022-10-24 13:25:57 +02:00
mafiesto4 437ed07368 Merge remote-tracking branch 'origin/master' into 1.5 2022-10-24 12:07:39 +02:00
mafiesto4 771f8ad02b Add objects spawning to networking 2022-10-24 12:07:16 +02:00
Preben Eriksen 56c9ed3197 PE: Fix - Linux error "implicitly convert type 'double' to 'float'." 2022-10-24 09:10:15 +02:00
mafiesto4 1ef16fde92 Merge branch 'Tryibion-CM-fix-open-left' 2022-10-23 23:49:58 +02:00
mafiesto4 b7b31aad8e Code style fix
#793
2022-10-23 23:49:46 +02:00
mafiesto4 2b514cc10e Merge branch 'CM-fix-open-left' of https://github.com/Tryibion/FlaxEngine into Tryibion-CM-fix-open-left 2022-10-23 23:48:49 +02:00
mafiesto4 5cff11ce4a Merge branch 'Tryibion-value-box-cursor-change' 2022-10-23 23:46:32 +02:00
mafiesto4 6f380a6f12 Code style fix
#783
2022-10-23 23:46:11 +02:00
mafiesto4 0ec76d678d Merge branch 'value-box-cursor-change' of https://github.com/Tryibion/FlaxEngine into Tryibion-value-box-cursor-change 2022-10-23 23:45:13 +02:00
mafiesto4 f29d779425 Merge branch 'Tryibion-better-content-item-layout' 2022-10-23 22:38:48 +02:00
mafiesto4 1fb19ee023 Adjust content view items to whole pixels to reduce text aliasing
#794
2022-10-23 22:38:38 +02:00
mafiesto4 124c287537 Merge branch 'better-content-item-layout' of https://github.com/Tryibion/FlaxEngine into Tryibion-better-content-item-layout 2022-10-23 22:02:11 +02:00
mafiesto4 c43de26d83 Merge branch 'Tryibion-change-script-order-default' 2022-10-23 21:59:28 +02:00
mafiesto4 3cb37bf7b0 Merge branch 'change-script-order-default' of https://github.com/Tryibion/FlaxEngine into Tryibion-change-script-order-default 2022-10-23 21:56:28 +02:00
mafiesto4 0b461f05ca Merge branch 'Tryibion-dont-close-childCM-onclick' 2022-10-23 20:36:57 +02:00
mafiesto4 13be6b75f2 Merge branch 'dont-close-childCM-onclick' of https://github.com/Tryibion/FlaxEngine into Tryibion-dont-close-childCM-onclick 2022-10-23 20:35:17 +02:00
mafiesto4 7636108844 Merge branch 'RuanLucasGD-master' 2022-10-23 20:34:02 +02:00
mafiesto4 1914fa519d Merge branch 'master' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-master 2022-10-23 20:32:26 +02:00
mafiesto4 bfe51d6555 Merge branch 'Tryibion-move-updatecamerapreview' 2022-10-23 20:15:03 +02:00
mafiesto4 5341e355ce Code style fix
#782
2022-10-23 20:14:58 +02:00
mafiesto4 de012a23ee Merge branch 'move-updatecamerapreview' of https://github.com/Tryibion/FlaxEngine into Tryibion-move-updatecamerapreview 2022-10-23 19:15:46 +02:00
mafiesto4 108b13fd0d Merge branch 'Tryibion-cursor-change-for-property-splitter' 2022-10-23 19:14:40 +02:00
mafiesto4 1c0f2f2b81 Merge branch 'cursor-change-for-property-splitter' of https://github.com/Tryibion/FlaxEngine into Tryibion-cursor-change-for-property-splitter 2022-10-23 19:11:28 +02:00
mafiesto4 0a17ff3b3a Merge branch 'Tryibion-cache-transform-snapping-state' 2022-10-23 14:26:15 +02:00
mafiesto4 d89e31d155 Code style fix
#777
2022-10-23 14:26:06 +02:00
mafiesto4 5e5abcdc3f Merge branch 'cache-transform-snapping-state' of https://github.com/Tryibion/FlaxEngine into Tryibion-cache-transform-snapping-state 2022-10-23 14:20:49 +02:00
mafiesto4 0422efcf03 Merge branch 'Tryibion-scroll-fix' 2022-10-23 14:19:30 +02:00
mafiesto4 70c53a4f67 Fix error if nothing is selected 2022-10-23 14:19:17 +02:00
mafiesto4 c6523ed9cd Fix crash when presenting task which swap chain is not ready 2022-10-23 14:18:55 +02:00
Preben Eriksen 2a7e59ae5d PE: Fix issue with using "shift" to duplicate object, this only worked every second time if using a large grid. 2022-10-23 12:20:01 +02:00
Preben Eriksen edf339a942 PE: Added - Bounding Box Snapping, it dont matter what size objects are they will always snap perfectly. 2022-10-23 09:48:18 +02:00
Preben Eriksen b3bb860195 PE: Added - Use "R" key to rotate selections by 45 degrees. 2022-10-23 09:45:27 +02:00
Tryibion 9bd13c8ed5 This adds more spacing between the content items in the content view and allows for resizing better than before. 2022-10-21 20:31:19 -05:00
Tryibion 1c44c42b52 fixed position of child CMs when having to open left 2022-10-21 14:14:13 -05:00
mafiesto4 ef77cdfe3f Fix Clang compilation 2022-10-21 19:49:28 +02:00
mafiesto4 727d29ee07 Fix Clang compilation 2022-10-21 19:32:10 +02:00
mafiesto4 52b1b19b02 Fix Clang compilation 2022-10-21 19:06:05 +02:00
mafiesto4 8b446edc06 Fix Clang compilation 2022-10-21 18:42:33 +02:00
mafiesto4 42d1f40b9c Optimize some code by manual inlining 2022-10-21 18:36:29 +02:00
mafiesto4 b7b4391cff Fix some editor panels to have focus on change 2022-10-21 18:36:28 +02:00
Tryibion 0765b82a39 changed the default for script memebers order. 2022-10-21 09:54:16 -05:00
mafiesto4 8dec405f4f Add iterator copy operator in collections 2022-10-21 15:40:47 +02:00
Ruan Lucas 4d73638a8b Merge branch 'FlaxEngine:master' into master 2022-10-20 20:50:32 -04:00
Ruan Lucas ca49454615 remove unused include 2022-10-20 20:49:37 -04:00
Tryibion b20967559b added to not close the child context menu on click 2022-10-20 19:49:36 -05:00
Ruan Lucas e1dc5a2e81 remove incorrect method 2022-10-20 20:47:02 -04:00
Ruan Lucas a4333dfcb6 add flag to work for desktop and linux only 2022-10-20 20:26:08 -04:00
Ruan Lucas a65e812b45 Add method that returns a list of standard monitor resolutions 2022-10-20 19:57:23 -04:00
mafiesto4 32e052a87b Refactor native Stream serialization to new API 2022-10-20 17:28:12 +02:00
mafiesto4 e5866a3ff4 Fix generated replication C# code reference to NetworkStream type 2022-10-20 15:18:21 +02:00
Tryibion 78bd7713a9 value boxes now hide your slide and return your mouse to the original position. 2022-10-19 21:41:58 -05:00
Tryibion 5d8403be5b moved UpdateCameraPreview call to on selection changed and on state change 2022-10-19 20:59:55 -05:00
Tryibion dd20da89d7 added cursor change for changing of the property splitter 2022-10-19 19:45:07 -05:00
mafiesto4 191a75fd22 Add unique client ids assigning 2022-10-20 00:03:57 +02:00
Tryibion dbcaf28f39 added if check on enum parse 2022-10-19 15:28:59 -05:00
Tryibion 13150ea553 changed snap enable to still use default values if cache data doesnt exist 2022-10-19 15:25:42 -05:00
Tryibion 14a9c99496 fixed small bug of scene window not resizing when something is deleted but window isnt focused 2022-10-19 14:50:39 -05:00
mafiesto4 3fd8c7f928 Add replication messages dropping for old messages (due to unordered channel usage via UDP) 2022-10-19 21:04:20 +02:00
Tryibion 9f9cc0e1ec cleaned up comments 2022-10-19 07:22:09 -05:00
mafiesto4 e115aa2c4e Merge remote-tracking branch 'origin/master' into 1.5
# Conflicts:
#	Source/Engine/Content/JsonAsset.cpp
2022-10-19 13:36:46 +02:00
mafiesto4 ff49401f3a Use objects id mapping for networking to have proper replication of networked object references 2022-10-19 13:14:16 +02:00
mafiesto4 a5a39ac3d6 Fix crash in object id reference replication 2022-10-19 11:35:50 +02:00
mafiesto4 7621252f46 Add automatic replication for C# types with fields marked with NetworkReplicated attribute 2022-10-19 09:26:40 +02:00
mafiesto4 0c120494b4 Improve Mono.Cecil type search if typed reference doesn't exist 2022-10-18 15:26:14 +02:00
mafiesto4 76b14af7ec Add various improvements 2022-10-18 15:03:56 +02:00
mafiesto4 dda4f26102 Add support for custom Action Command in TaskGraph 2022-10-18 15:03:09 +02:00
mafiesto4 3a3a94b610 Add Mono.Cecil to Flax.Build 2022-10-18 15:02:49 +02:00
Tryibion 6c470c1247 added caching of transform space and loading 2022-10-17 21:29:58 -05:00
Tryibion 456934c737 Added caching and loading snapping values 2022-10-17 21:18:46 -05:00
Tryibion 212fc0838a remove not needed include 2022-10-17 19:57:40 -05:00
Tryibion 2c3007eb2b cache viewport snapping enabled 2022-10-17 19:55:30 -05:00
Tryibion ef34ad7600 Renamed scrollPosition to scrollControl for more accurate description 2022-10-16 19:05:41 -05:00
Tryibion 546501a553 Added performing layout when deleting actors and scrolling to duplicated/ pasted actors when action is performed. 2022-10-16 18:50:00 -05:00
Ruan Lucas 37c8aacd8b Fix math node size 2022-10-14 15:20:57 -04:00
mafiesto4 f6857f66ba Merge branch 'cristhofermarques-mouse_fix' 2022-10-13 23:12:28 +02:00
Cristhofer Marques 527ba719f4 update to the new variable names 2022-10-13 09:15:04 -03:00
Cristhofer Marques 2c12fffdf6 reset value when start/stop mouse tracking 2022-10-13 09:14:05 -03:00
Cristhofer Marques 84009baeb0 change vars name and add code doc 2022-10-13 09:10:35 -03:00
mafiesto4 c12ea8428e Add FlaxEngine.Object.FromUnmanagedPtr for native object raw pointer conversion to managed object 2022-10-13 13:35:59 +02:00
mafiesto4 5c24f8c365 Add ScriptingTypeHandle support for scripting bindings as System.Type 2022-10-13 13:35:15 +02:00
Cristhofer Marques 0e45f16b19 update timeline edge to use the mouse flipping info 2022-10-13 01:14:47 -03:00
Cristhofer Marques f22a71509b fix value box sliding 2022-10-13 01:12:38 -03:00
Cristhofer Marques ae04253ba4 added is flipping mouse on windows platform 2022-10-13 01:11:33 -03:00
Cristhofer Marques 7656c6981e added is flipping variables 2022-10-13 01:09:31 -03:00
mafiesto4 d1add033b1 Merge branch 'cristhofermarques-small_editor_fix' 2022-10-12 20:40:39 +02:00
mafiesto4 3c9d9cd8d6 Add support for deserialization of deprecated properties in scripting types 2022-10-12 20:39:40 +02:00
mafiesto4 607afeee50 Add proper deserialization of old values pre-renaming
#767
2022-10-12 20:38:59 +02:00
mafiesto4 e970b6fd04 Merge branch 'small_editor_fix' of https://github.com/cristhofermarques/FlaxEngine into cristhofermarques-small_editor_fix 2022-10-12 19:10:05 +02:00
mafiesto4 f4a96e2715 Merge branch 'RuanLucasGD-master' 2022-10-12 19:07:57 +02:00
mafiesto4 7a969b5d7b Code style fix
#760
2022-10-12 19:07:48 +02:00
mafiesto4 faf7f8ad03 Merge branch 'master' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-master 2022-10-12 19:05:23 +02:00
mafiesto4 2d8eaa0e8c Merge branch 'cristhofermarques-skeleton_mask_editor' 2022-10-12 19:04:35 +02:00
mafiesto4 f528ba59ec Code style fix
#766
2022-10-12 19:04:22 +02:00
mafiesto4 6985bd6375 Merge branch 'skeleton_mask_editor' of https://github.com/cristhofermarques/FlaxEngine into cristhofermarques-skeleton_mask_editor 2022-10-12 19:00:59 +02:00
mafiesto4 cbf7caafb3 Merge branch 'Tryibion-scene-tree-fix' 2022-10-12 18:55:32 +02:00
mafiesto4 b0f4f8d636 Code style fix 2022-10-12 18:55:24 +02:00
mafiesto4 77f8df02e5 Add ModuleInitializer attribute for C# scripting initialization code running on load 2022-10-12 17:00:40 +02:00
mafiesto4 09b35266f7 Add automatic network serializers generation for NetworkReplicated fields in C++ types 2022-10-12 11:22:53 +02:00
mafiesto4 ff34c7cc9b Refactor raw data ReadSttream and WriteStream to have easier to use API with more features 2022-10-12 11:22:20 +02:00
Cristhofer Marques 0b8a176ff8 Revert "Update SkeletonMaskWindow.cs"
This reverts commit b626d3047d.
2022-10-11 14:05:30 -03:00
Cristhofer Marques 187e56c6ba typo fix in graphics settings 2022-10-11 13:34:46 -03:00
Cristhofer Marques 77c6daf240 fix the wrong additional layer in the matrix 2022-10-11 13:30:49 -03:00
Cristhofer Marques b626d3047d Update SkeletonMaskWindow.cs 2022-10-11 13:08:52 -03:00
Cristhofer Marques 2af285e972 feature added 2022-10-11 11:49:32 -03:00
mafiesto4 09e50bb0e1 Simplify code in bindings generator 2022-10-11 11:38:35 +02:00
mafiesto4 3d574f4169 Fix generated project reference in test project 2022-10-11 11:38:22 +02:00
Preben Eriksen 2efc97b64f Added: ScriptingObject* TryFindObject(MClass* mclass), Allow you from c++ to use MAssembly GetBinaryModuleGame, and get a monoobject from a class, monoobject is needed later to Invoke a method from the class. 2022-10-11 10:45:28 +02:00
Ruan Lucas 93dc57c08f remove unused include 2022-10-10 23:10:25 -04:00
Ruan Lucas 67c963f60d Optimization Method 2022-10-10 22:43:00 -04:00
Tryibion 95e60ea68e Added scene panel to seperate the tree from the search bar and made the tree not able to scroll when renaming 2022-10-10 15:38:30 -05:00
mafiesto4 52904cbe3e Merge branch 'Tryibion-cursor-changes' 2022-10-10 18:47:52 +02:00
mafiesto4 ebd88a407d Fix mouse leave event handling to restore cursor
#759
2022-10-10 18:47:38 +02:00
mafiesto4 0ed41f97fc Merge branch 'cursor-changes' of https://github.com/Tryibion/FlaxEngine into Tryibion-cursor-changes 2022-10-10 18:33:29 +02:00
Tryibion 133d13ff3c Fixed continually setting cursour back to default in value box 2022-10-10 11:06:10 -05:00
mafiesto4 7112c8e791 Merge branch 'Tryibion-content-window-change' 2022-10-10 17:56:26 +02:00
mafiesto4 d44606d205 Merge branch 'content-window-change' of https://github.com/Tryibion/FlaxEngine into Tryibion-content-window-change 2022-10-10 17:56:15 +02:00
mafiesto4 8564c86236 Merge branch 'Tryibion-master' 2022-10-10 17:39:03 +02:00
mafiesto4 77acdecb1b Merge branch 'master' of https://github.com/Tryibion/FlaxEngine into Tryibion-master 2022-10-10 17:38:57 +02:00
mafiesto4 fb5d693b54 Merge branch 'cristhofermarques-timeline_edge' 2022-10-10 16:22:35 +02:00
mafiesto4 1cba68401d Merge branch 'timeline_edge' of https://github.com/cristhofermarques/FlaxEngine into cristhofermarques-timeline_edge 2022-10-10 16:20:48 +02:00
mafiesto4 aabe905f63 Merge branch 'Crawcik-generate-project' 2022-10-10 16:16:02 +02:00
mafiesto4 8ac67536de Merge branch 'generate-project' of https://github.com/Crawcik/FlaxEngine into Crawcik-generate-project 2022-10-10 16:15:02 +02:00
mafiesto4 f4c4738617 Merge branch 'Tryibion-toolti-fix-while-dragging' 2022-10-10 16:09:49 +02:00
mafiesto4 4c71f40bc2 Add Module tags feature for build config in custom plugins 2022-10-10 15:02:52 +02:00
mafiesto4 4d08dc77b2 Add custom Tags for scripting api types to be used by plugins 2022-10-10 14:40:59 +02:00
mafiesto4 7924a62db6 Add support for custom types/members attributes parsing in scripting bindings 2022-10-10 14:38:54 +02:00
mafiesto4 5faa11e0a2 Fix reading type inheritance in bindings generation with comment at the end 2022-10-10 13:27:37 +02:00
mafiesto4 72b1178011 Add network protocol version validation 2022-10-10 12:46:44 +02:00
Tryibion 6d6961d961 removed mouse button down as it caused issues with focus 2022-10-06 19:59:51 -05:00
Tryibion 091fe0a40a Simplified tool tip hide 2022-10-06 19:12:46 -05:00
Tryibion 2d42ca522d Fixed spacing and comment 2022-10-06 16:51:25 -05:00
Tryibion 79ccda3883 Moved code to on drag enter to minimize calls. 2022-10-06 16:49:35 -05:00
Tryibion 020351e56b Simplified enabling and disabling scrolling and implimented the stop scrolling functionality when renaming in the content tree panel as well 2022-10-06 00:03:38 -05:00
Tryibion 40f7980c18 hide tooltip while dragging 2022-10-05 22:05:27 -05:00
Tryibion aca5522245 Fixed small bug when moving a tab when close to the split panel splitter 2022-10-05 21:16:54 -05:00
Ruan Lucas cc168db81b Merge pull request #1 from RuanLucasGD/implement-method-to-check-if-world-position-is-within-camera-view
Implement method to check if world position is within camera view
2022-10-03 19:35:20 -04:00
Ruan Lucas 0a91b8b360 fix: isPointOnView doesn't work for long distance positions 2022-10-03 18:51:27 -04:00
Ruan Lucas 61747bef85 change method name 2022-10-02 00:16:25 -04:00
Ruan Lucas 6af6649f70 implement method to check if world position is within camera view 2022-10-02 00:02:56 -04:00
Tryibion 3867cb5e97 Changed how cursor is set back to default, so it doesnt keep setting itself 2022-09-30 20:52:04 -05:00
Tryibion e18002dd03 Fixed regression of cursor being stuck in default when trying to change it in viewport 2022-09-30 20:01:35 -05:00
Tryibion c19ff9b2ef Added a change in cursor type to assist in UX for resizing editor panels and changing the values in value boxes 2022-09-30 19:25:50 -05:00
Tryibion 656fcf9847 Changed the content window do the search bars do not scroll with the content. 2022-09-30 09:22:36 -05:00
Tryibion 4a301bd09e Merge branch 'master' of https://github.com/Tryibion/FlaxEngine 2022-09-28 22:36:33 -05:00
Tryibion 789ec55dbe Removed double click to rename content item 2022-09-28 22:33:01 -05:00
Tryibion 5303da4b90 Removed double click to rename content item 2022-09-28 22:03:26 -05:00
Cristhofer Marques 8f19fde27a Update TimelineEdge.cs 2022-09-28 19:06:20 -03:00
Preben Eriksen f237d424fa Fixed - Gizmo draw order ( https://github.com/FlaxEngine/FlaxEngine/issues/680 ) 2022-09-26 09:19:15 +02:00
Preben Eriksen ea9695ac16 Added - Support for LOD meshes using _ , like LOD_0... 2022-09-25 10:31:25 +02:00
Preben Eriksen e98d2c8a27 Added - aiProcess_SortByPType to importer, i seen many object that have a small mesh with point faces that are not part of the object, so just ignoring these make the objects import. 2022-09-25 09:33:23 +02:00
Crawcik 5b212bb8bc Fixing mac/linux csharp binaries referencing 2022-09-24 17:52:59 +02:00
Preben Eriksen 7cae9b4ce5 Fixed - Windows, launcher use a uppercase D:\ , if you try to start your project from VS/Shortcut and use a lowercase d:\ it would ruin your project as it assign new asset IDs without remapping. 2022-09-24 13:46:55 +02:00
mafiesto4 76a66cf400 Merge branch 'Tryibion-master' 2022-09-19 19:47:14 +02:00
Tryibion 21db53e232 Added scaling towards mouse position in Visject surfaces 2022-09-17 11:43:51 -05:00
mafiesto4 ca4e017e02 Finish simple object replication over network 2022-09-16 18:58:53 +02:00
mafiesto4 75221baa19 Improvements 2022-09-15 13:13:16 +02:00
mafiesto4 e6996ff22f Fix missing virtual C++ function override in C# if the thunk points to vtable index at offset=0 2022-09-14 22:14:25 +02:00
mafiesto4 0e523204d5 Fix custom json asset usage for game settings if loaded before game scripting module is loaded 2022-09-14 21:13:58 +02:00
mafiesto4 f1adedd689 Fix compilation on Clang 2022-09-14 20:15:50 +02:00
mafiesto4 031b640343 Fix compilation on Clang 2022-09-14 18:58:17 +02:00
mafiesto4 66b452e90c Fix crash on shutdown due to custom JsonAsset C++ instance 2022-09-14 17:58:57 +02:00
mafiesto4 c553859c3b Fix invalid NetworkMessage usage in C++ 2022-09-14 17:58:50 +02:00
mafiesto4 3347887432 Network objects replication impl progress 2022-09-14 14:54:32 +02:00
mafiesto4 9a19717556 Use separate network messages handling table 2022-09-13 16:25:48 +02:00
mafiesto4 de1437102e Fix crash on shutdown due to custom JsonAsset C++ instance 2022-09-13 12:55:14 +02:00
mafiesto4 a006fcec40 Fix overlapping VC++ and CSharp projects in Visual Studio solution 2022-09-12 20:17:52 +02:00
mafiesto4 10d66fb871 Fix displaying Game and Editor plugins to be batched in Editor 2022-09-12 14:48:52 +02:00
mafiesto4 439f74c540 Fix comparison operators on object reference types 2022-09-12 14:48:48 +02:00
mafiesto4 8694bd6af9 Fix crash on root motion extraction if source animation has no valid root node animated
#746
2022-09-12 14:48:43 +02:00
mafiesto4 c62efdc44a Fix crash on root motion extraction if source animation has no valid root node animated
#746
2022-09-12 14:48:08 +02:00
mafiesto4 74ce1028ae Fix displaying Game and Editor plugins to be batched in Editor 2022-09-09 15:29:55 +02:00
mafiesto4 4fa9b4a741 Fix comparison operators on object reference types 2022-09-09 15:29:17 +02:00
mafiesto4 2c4d578f7c Add deprecation info for users to upgrade the code 2022-09-08 18:49:25 +02:00
mafiesto4 07ace480ed Add network client ToString 2022-09-08 11:33:08 +02:00
mafiesto4 d4e7cf75ce Merge remote-tracking branch 'origin/master' into 1.5 2022-09-08 09:51:46 +02:00
Crawcik f154bfcfc1 Flax.Build compress toogle option 2022-09-07 18:15:14 +02:00
Crawcik 8b0d1b4a8c Editor compression fix on unix 2022-09-07 17:43:11 +02:00
Crawcik dd8f923bf5 VSC dotnet gen & omnisharp flags 2022-09-07 16:54:42 +02:00
Crawcik 19d9cd282d Linux include paths fix 2022-09-07 16:53:30 +02:00
mafiesto4 3132998c5e Initial network manager with clients 2022-09-07 14:59:06 +02:00
mafiesto4 0b78d2711c Add WriteStructure/ReadStructure utilities for NetworkMessage 2022-09-07 14:38:00 +02:00
mafiesto4 c3c3586628 Fix invalid NetworkMessage usage in C++ 2022-09-07 13:44:29 +02:00
mafiesto4 05064402b1 Various improvements 2022-09-07 11:53:03 +02:00
mafiesto4 7559cb4d99 Add support for editing JsonAsset data at runtime (eg. modify game settings on the fly) 2022-09-07 11:52:46 +02:00
mafiesto4 9a77517cb4 Add Cook&Run and Run cooked game utilities to Game menu list for multilayer games testing 2022-09-07 11:52:11 +02:00
mafiesto4 3abbafa530 Fixes for Vulkan 2022-09-06 22:54:00 +02:00
mafiesto4 2cd7967ec4 Fix crash on Linux with empty log message 2022-09-06 21:53:14 +02:00
mafiesto4 73d0fc4973 Fix UWP build 2022-09-06 19:35:11 +02:00
mafiesto4 94cacc8abc Add game settings assets loading (not only objects) 2022-09-06 13:33:17 +02:00
mafiesto4 74fe176d2d Improvements for const class usage 2022-09-05 14:34:16 +02:00
mafiesto4 2736363d93 Fix OnSceneUnloaded event to contain valid scene object 2022-09-05 14:33:20 +02:00
mafiesto4 450eedda02 Merge branch 'GoaLitiuM-linux_window_crash_fix' 2022-09-04 21:53:57 +02:00
mafiesto4 b715220e5b Merge branch 'linux_window_crash_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_window_crash_fix 2022-09-04 21:53:49 +02:00
mafiesto4 8e6405bc7c Merge branch 'GoaLitiuM-linux_rider_detection' 2022-09-04 21:51:38 +02:00
GoaLitiuM a66be45e72 Detect Flatpak installations of Rider and Visual Studio Code 2022-09-04 18:37:18 +03:00
GoaLitiuM 45dfa52512 Detect Rider installations on Linux 2022-09-04 18:36:58 +03:00
GoaLitiuM 784605f974 Fix crash when opening tooltip windows on Linux 2022-09-04 18:35:24 +03:00
mafiesto4 7d09e67a5c Fix newline for copyright in new C++ files 2022-09-03 12:57:23 +02:00
mafiesto4 ab4f5d9a84 Merge remote-tracking branch 'origin/master' into 1.5 2022-09-03 12:54:45 +02:00
mafiesto4 9ad4665270 Add Network Settings 2022-09-03 12:54:37 +02:00
mafiesto4 4e541dc0ba Revert tested disabled bokeh shapes 2022-09-02 15:33:30 +02:00
mafiesto4 569808af6d Add TypeNameEditor for editing typename reference as soft string value 2022-09-02 14:10:53 +02:00
mafiesto4 c9726ab05b Compact graphics settings 2022-09-02 14:10:04 +02:00
mafiesto4 fba60f05a0 Refactor EditorPlugins to properly initialize and deinitialize 2022-09-02 09:52:41 +02:00
mafiesto4 1d7ba2210a Fix crash on API event in C# after Editor hot-reload 2022-09-01 22:55:29 +02:00
mafiesto4 8885412350 Fix SSR shader on D3D10 2022-08-31 23:16:29 +02:00
mafiesto4 d712a83c69 Fix invisible static model if model is loaded but not yet streamed 2022-08-31 19:40:13 +02:00
mafiesto4 6f756acb33 Merge branch 'PrecisionRender-master' 2022-08-31 17:39:11 +02:00
mafiesto4 a1dea6a756 Adjust triplanar texture sample node #735 2022-08-31 17:39:01 +02:00
mafiesto4 2b400a7f50 Merge branch 'master' of https://github.com/PrecisionRender/FlaxEngine into PrecisionRender-master 2022-08-31 17:16:20 +02:00
mafiesto4 3499127b91 Add new screenshot 2022-08-31 15:34:09 +02:00
mafiesto4 2cfd6c20e7 Bump up build number 2022-08-31 15:33:52 +02:00
mafiesto4 69a2d10c57 Add additive scene opening in Editor via drag&drop into Scene Tree window 2022-08-25 20:58:30 +02:00
mafiesto4 cbd2561e22 Update asset 2022-08-25 20:54:44 +02:00
mafiesto4 88b46d1720 Fix crash when changing actor scene 2022-08-25 20:54:25 +02:00
mafiesto4 98616f443b Reduce actor orientation threshold 2022-08-25 19:42:06 +02:00
mafiesto4 2fb6ab4f44 Fix borders sampling in Depth Of Field to reduce leaking artifacts on screen edges 2022-08-25 19:42:04 +02:00
mafiesto4 57cb15486e Fix the Depth Of Field to be consistent no matter the resolution 2022-08-25 19:42:03 +02:00
mafiesto4 d50908e10b Cleanup DOF shader to use shader permutations for vertical/horizontal passes 2022-08-25 19:42:02 +02:00
mafiesto4 0b71549834 Add another editor viewport cam speed step 2022-08-25 19:42:01 +02:00
mafiesto4 20ebe3ac85 Fix game ticking in editor during cut-scene rendering at edit time 2022-08-25 19:42:00 +02:00
mafiesto4 a545520d6b Add playback speed option for Scene Animation rendering 2022-08-25 19:41:59 +02:00
mafiesto4 f4516718a0 Fix Ctrl+S in timeline view to not split the camera shot media 2022-08-25 19:41:58 +02:00
PrecisionRender 7c557d627a Merge branch 'master' of https://github.com/PrecisionRender/FlaxEngine 2022-08-25 11:28:26 -05:00
PrecisionRender 8f8df34342 Add World Triplanar Texture node to shader editor 2022-08-25 11:27:40 -05:00
PrecisionRender 04d44d8a15 Add World Triplanar Texture node to shader editor 2022-08-24 09:37:56 -05:00
mafiesto4 b2f22b2d87 Add EditorPlugin.DeinitializeEditor to properly cleanup Editor extensions on exit 2022-08-23 09:39:43 +02:00
mafiesto4 a19c17cfb9 Fix ivalid include 2022-08-19 14:36:38 +02:00
mafiesto4 a3a44f0cef Add StringUtils tests and Paths test and fix detected problem with rooted path starting with ./ 2022-08-19 11:54:09 +02:00
mafiesto4 01eb42dd10 Enable assertions in native tests 2022-08-19 11:19:07 +02:00
mafiesto4 bf30d7cd29 Add Array/BitArray tests and fix some detected problems 2022-08-19 11:18:48 +02:00
mafiesto4 ed7cc96889 Add Guid tests 2022-08-19 11:17:36 +02:00
mafiesto4 b17070adf5 Fix picking to properly select closest triangle for meshes 2022-08-18 15:54:02 +02:00
mafiesto4 698545006f Add auto-selecting new item created in Content window 2022-08-18 15:21:32 +02:00
mafiesto4 c7a3fb4341 Fix crash due to GPU Particles define not used in some headers 2022-08-18 15:15:10 +02:00
mafiesto4 db6cd541c2 Add separate GBuffer view modes in Editor viewport widget 2022-08-17 20:37:12 +02:00
mafiesto4 0b15c369d6 Fix FlaxStorage refs counting to be atomic 2022-08-16 12:36:44 +02:00
mafiesto4 31fb4f6a15 Fix editor error when selecting foliage type 2022-08-14 00:47:30 +02:00
mafiesto4 c43f724189 Add reloading materials and particle emitters after shader compilation fail 2022-08-12 22:55:20 +02:00
mafiesto4 ff87cdfebb Update SDFs 2022-08-12 16:00:48 +02:00
mafiesto4 b8922ee846 Fix 1px offset in Model SDFs 2022-08-12 16:00:38 +02:00
mafiesto4 1e8e5c0f7c Fix Global SDF inside geometry to be negative 2022-08-12 16:00:27 +02:00
mafiesto4 9b816a321c Reduce DDGI probes distance limit to improve performance 2022-08-12 09:53:57 +02:00
mafiesto4 d8c224112b Add Global Surface Atlas rendering for Foliage 2022-08-11 11:33:41 +02:00
mafiesto4 6c9b1f6be0 Add Global SDF rendering for Foliage 2022-08-10 14:27:08 +02:00
mafiesto4 6a1378ebdb Fix Global Surface Atlas drawing of objects that are hidden in GBuffer pass but should be visible for GI 2022-08-09 14:37:29 +02:00
mafiesto4 210342d337 Fix enum operators to be constexpr 2022-08-09 14:36:56 +02:00
mafiesto4 49df15c021 Fix Surface parameter attributes editor popup location 2022-08-09 12:37:27 +02:00
mafiesto4 07b02e6cf3 Add option to disable selecting text in text box
5dadaf70f9
2022-08-08 13:51:55 +02:00
mafiesto4 183e87d147 Fix rich text box images from name in cooked build 2022-08-08 11:48:36 +02:00
mafiesto4 0eba11f1eb Add Content.GetEditorAssetPath 2022-08-08 11:48:16 +02:00
mafiesto4 a4cdca80fc Increase level of assertions in SimulationEventCallbackPhysX 2022-08-08 11:18:32 +02:00
mafiesto4 5dadaf70f9 Add option to disable selecting text in text box 2022-08-08 11:18:16 +02:00
mafiesto4 bb7d4f7812 Fix console builds 2022-08-07 21:06:17 +02:00
mafiesto4 7af0dc1b43 Add support for setting C++ version for build module compilation 2022-08-07 16:46:17 +02:00
mafiesto4 ad7a8e528a Fix tab navigation 2022-08-06 12:10:14 +02:00
mafiesto4 ed9f3f3d55 Add helper code example 2022-08-06 10:21:42 +02:00
mafiesto4 f781fd8ab6 Add horizontal alignment tags for rich text box 2022-08-05 15:29:37 +02:00
mafiesto4 9caf80bdc9 Add option to disable text clipping in text boxes 2022-08-05 14:38:18 +02:00
mafiesto4 b23cf5f1d8 Fix displaying multiple structure parameters in Visject Surface parameters panel 2022-08-05 13:27:32 +02:00
mafiesto4 ce1465ae98 Fix crash when reloading game scripts in Editor with Anim Graph that contains game structs as params 2022-08-05 11:27:37 +02:00
mafiesto4 9d8f75d957 Fix rare issues with Task Graph not waiting for system due to recent job system changes #721 2022-08-05 11:05:11 +02:00
mafiesto4 982e8df9b6 Fix TextureBrush to return valid size if texture is not yet loaded 2022-08-05 08:51:33 +02:00
mafiesto4 4c280ef015 Fix drawing single character text format 2022-08-04 14:42:52 +02:00
mafiesto4 142d81065a Add text block alignment options for rich text box (and valign tag) 2022-08-04 13:52:25 +02:00
mafiesto4 3089cc3b59 Add img tag to rich text box 2022-08-04 12:43:16 +02:00
mafiesto4 8d990018b5 Fix preserving Alpha channel when changing color with Value slider 2022-08-03 18:15:42 +02:00
mafiesto4 cc59a2b5fe Fix Android build with NDK 25 2022-08-03 18:09:52 +02:00
mafiesto4 4923d63a94 Add size tag 2022-08-03 15:41:25 +02:00
mafiesto4 6f18a8a3ff Add font tag 2022-08-03 14:39:00 +02:00
mafiesto4 8f895e54cd Improve rich text layout for lines with different fonts in line to match baseline 2022-08-03 12:58:23 +02:00
mafiesto4 ad37b8361b Add more tags to Rich Text Box 2022-08-03 12:57:22 +02:00
mafiesto4 64609f823c Add **HTML tags processing in Rich Text Box** 2022-08-03 10:16:13 +02:00
mafiesto4 dbd48ac5b4 Fix parsing html tags with starting with slash 2022-08-03 10:15:42 +02:00
mafiesto4 e59de73948 Fix small issues 2022-08-02 16:53:31 +02:00
mafiesto4 f16372efad Add utility for parsing Color from text (hex or named color) 2022-08-02 16:53:06 +02:00
mafiesto4 94060e16b9 Add more utilities for text processing with font and text subrange 2022-08-02 16:52:25 +02:00
mafiesto4 095f20ab6a Add HtmlParser to engine utilities (with unit tests for it) 2022-08-02 16:05:21 +02:00
mafiesto4 9e9233fd76 Ignore cert signing local scripts 2022-08-01 23:00:25 +02:00
mafiesto4 ba901d4453 Update engine assets 2022-08-01 22:59:33 +02:00
mafiesto4 a6e9abfceb Add UseAlpha to RenderBuffers for pass-though renderer with alpha channel 2022-08-01 22:58:22 +02:00
mafiesto4 fe1cab6a7f Add Default auto-generated member to scripting structures and improve deserialization 2022-08-01 18:49:54 +02:00
mafiesto4 4915e9fea0 Fix hex color parsing 2022-08-01 17:13:29 +02:00
mafiesto4 3601d36955 Fix macOS build 2022-08-01 17:05:59 +02:00
mafiesto4 7953f6cb83 Add Engine.FocusGameViewport to implement game menu with camera focus gather 2022-08-01 16:17:34 +02:00
mafiesto4 1d7e88635f Allow content finder in game window during edit time 2022-08-01 11:38:41 +02:00
mafiesto4 20572c53af Add Noise sampling nodes to graphs 2022-07-31 23:43:35 +02:00
mafiesto4 2104dbc682 Add new **Noise** library for C++/C#/VisualScript/HLSL utilities 2022-07-31 22:20:38 +02:00
mafiesto4 1fdc43699c Fix rare exception in Visject after recent Surface context menu groups display refactor 2022-07-31 19:06:15 +02:00
mafiesto4 17b3434342 Add Mod for vectors 2022-07-31 19:05:36 +02:00
mafiesto4 3b52914416 Add **Nested Animations** for compositing animation clips 2022-07-31 15:53:09 +02:00
mafiesto4 3a39dad30f Fix invoking anim events for multi blend animations 2022-07-29 20:25:13 +02:00
mafiesto4 db24ea950e Fix build 2022-07-29 17:03:21 +02:00
mafiesto4 d47b452808 Fix check if unsetting material slot 2022-07-29 16:58:35 +02:00
mafiesto4 03ecb23bae Update engine materials 2022-07-29 16:58:34 +02:00
mafiesto4 6cf91b1da4 Add support for main view information in Surface materials during subpass rendering (eg. shadow depth) 2022-07-29 16:58:33 +02:00
mafiesto4 22209108c9 Fix Global Surface Atlas on Vulkan 2022-07-29 16:14:07 +02:00
mafiesto4 0ac91fa34d Fix CSM split point when using 3 cascades 2022-07-29 15:55:26 +02:00
mafiesto4 4b6e75c0af Expose IsDuringPlay property for actors and scripts to use in scripting 2022-07-29 14:52:41 +02:00
mafiesto4 e16cbdbfd0 Add showing model screen size in the Model Preview 2022-07-29 13:29:02 +02:00
mafiesto4 bdb69d57dd Refactor Plugins system to support plugins in C++ scripts 2022-07-28 21:05:03 +02:00
mafiesto4 6f35b27c29 Fix fullscreen game window F22 regression 2022-07-27 22:13:23 +02:00
mafiesto4 ceeefd1796 Optimize 1ef8bb723c 2022-07-27 22:09:12 +02:00
mafiesto4 bfec5d6a8d Improve displaying tris/vert count in GPU profiler if value is large 2022-07-27 16:24:49 +02:00
mafiesto4 4197e7b21e Fix test binary path 2022-07-27 10:10:00 +02:00
mafiesto4 e1e32ecbfd Fix from https://github.com/nem0/OpenFBX/commit/6a788af3b19dd6921a64eb7e133a3fa131dfbbd5 2022-07-27 10:05:32 +02:00
mafiesto4 41aefb1bda Attempt to fix test build 2022-07-27 09:38:30 +02:00
mafiesto4 1ef8bb723c Fix reparenting inside the nested prefabs when using multiple instanced of the nested prefab in PrefabManager
#690
2022-07-27 09:33:01 +02:00
mafiesto4 163704085a Remove hack 2022-07-26 23:40:31 +02:00
mafiesto4 8c310b7c5c Fix path 2022-07-26 23:40:24 +02:00
mafiesto4 99d1c1903f Add test for Prefab issue #718 2022-07-26 23:10:04 +02:00
mafiesto4 cced83ca96 Add support for virtual Prefab assets created from code 2022-07-26 23:10:04 +02:00
mafiesto4 adaaaa3e3f Fix crash when spawning prefab without scenes loaded 2022-07-26 23:10:03 +02:00
mafiesto4 bbb5b68e91 Refactor FlaxTests to run as Editor with all engine services initialized 2022-07-26 23:10:02 +02:00
mafiesto4 ff1fba403d Various fixes to allow compiling negine with custom build configurations 2022-07-26 23:10:01 +02:00
mafiesto4 8beb732cb9 Fix duplicated actors after reparenting actor in Prefab
#718
2022-07-26 23:10:00 +02:00
mafiesto4 9d26004864 Fix looping streamable audio clips with multiple chunks 2022-07-26 14:36:50 +02:00
mafiesto4 cfb98a39b0 Reduce DDGI flickering in certain lighting scenarios 2022-07-26 13:18:09 +02:00
mafiesto4 da616fc578 Change spotlight cone limits 2022-07-26 11:41:56 +02:00
mafiesto4 22367498da Fix editing LinearCurve<Color> in properties window (color picker window closed keyframe editing popup) 2022-07-25 17:18:05 +02:00
mafiesto4 51c49cfac9 Add UseCSharp to engine config and fix parsing cmd line options list 2022-07-25 13:18:53 +02:00
mafiesto4 1f495205af Add GamepadDPadX/GamepadDPadY input axes for gamepad DPad 2022-07-25 10:32:48 +02:00
mafiesto4 a4478b9497 Add editor camera speed up for gamepad right trigger 2022-07-25 09:52:42 +02:00
mafiesto4 5fea0cd693 Fix mouse hovering controls under expanded dropdown list panel 2022-07-24 13:37:23 +02:00
mafiesto4 c25305e695 Fix physics trigger layer mask matching trigger events (filter body types) 2022-07-24 13:12:18 +02:00
mafiesto4 928d318f24 Reorganize Physics Settings 2022-07-24 13:10:21 +02:00
mafiesto4 2dfd676c5e Fix errors in Editor when editing particle emitter if effect that uses it is selected 2022-07-24 11:55:00 +02:00
mafiesto4 74e3d1ad8f Fix removing Gameplay Globals 2022-07-23 16:58:16 +02:00
mafiesto4 47b255ed3e Remove warning on missing initial entry state for Anim Graph state machine 2022-07-23 16:49:40 +02:00
mafiesto4 32fe383c10 Fix [AssetReference(typeof(typeName)] not working for arrays of assets (fix for collection types) 2022-07-23 16:36:21 +02:00
mafiesto4 a590336118 Fix ParticleEmitter.Spawn() with default duration 2022-07-23 16:22:00 +02:00
mafiesto4 1ae80da888 Fix missing Properties window focus after adding script to the actor 2022-07-23 16:14:02 +02:00
mafiesto4 8d6fa34108 Add waiting for model to be loaded in SetMaterial 2022-07-23 15:33:04 +02:00
mafiesto4 0a1d8f6b3b Fix crash when setting up recursive Material Instances inheritance 2022-07-23 15:28:49 +02:00
mafiesto4 37fbc7600e Add don't auto-closing View -> View Flags menu to improve debug testing workflow in Editor viewport 2022-07-23 10:51:38 +02:00
mafiesto4 1633d8ebb6 Minor fixes 2022-07-23 01:27:40 +02:00
mafiesto4 b9cd6974fb Add confirmation dialog for Scenes Data building in Editor toolbar (prevent misclicks) 2022-07-23 00:58:45 +02:00
mafiesto4 2a3316ac5e Marge Visual Script groups for structures (eg. double ActionConfig group) 2022-07-23 00:53:57 +02:00
mafiesto4 d33cf5f6d9 Fix crash when cooking mesh collision with a custom subset of material slots 2022-07-22 11:22:58 +02:00
mafiesto4 3d43586e0f Fix editor viewport input bug regression 2022-07-22 11:12:45 +02:00
mafiesto4 e4079f011d Improve initial name for static model collision data asset 2022-07-22 10:20:13 +02:00
mafiesto4 00f2548f1a Fix default value for RigidBody center of mass 2022-07-22 10:09:20 +02:00
mafiesto4 3c94814e9f Fix missing AO in Light Buffer debug view mode 2022-07-21 15:43:46 +02:00
mafiesto4 033c5eb188 Update assets 2022-07-21 09:43:18 +02:00
mafiesto4 726937dad7 Fix shader asset creation 2022-07-21 09:42:17 +02:00
mafiesto4 2a53143bc4 Add new mode to Screen Space Reflections for DDGI Scene tracing 2022-07-21 09:41:38 +02:00
mafiesto4 f90808749e Add batching undo actions for Surface editing to prevent undo actions spam during a single edit 2022-07-19 23:07:18 +02:00
mafiesto4 fd4af3964d Fix Reroute node in Visual Script impulse flow 2022-07-19 23:06:37 +02:00
mafiesto4 d77a7921b0 Refactor Visject reroute node to support reconnecting and have more usability 2022-07-19 23:06:24 +02:00
mafiesto4 543c7efc0f Improve reroute node layout and add tooltip 2022-07-19 16:39:34 +02:00
mafiesto4 2de20b93c7 Fix text box not consuming key down event causing editor shortcuts activate when typing 2022-07-19 15:37:36 +02:00
mafiesto4 1019550d4a Change search boxes in Editor to stick to the top of the panel 2022-07-19 15:37:10 +02:00
mafiesto4 ea54505c6d Fix Directional Light color alpha in Sky atmosphere color 2022-07-19 13:15:54 +02:00
mafiesto4 7de42c1681 Fix sampling Curves with keyframes that have negative time value 2022-07-19 12:47:31 +02:00
mafiesto4 0af86d8cb8 Add HDR env probes support 2022-07-19 10:33:52 +02:00
mafiesto4 b184650835 Fix error when using multi-dimensional array property (not supported)
#422
2022-07-18 23:11:11 +02:00
mafiesto4 9f7f764359 Format code 2022-07-18 22:38:01 +02:00
mafiesto4 9ff0ad4734 Fix order of Large Worlds Real using 2022-07-18 20:20:12 +02:00
mafiesto4 63c9cdfc31 Fix snapping object to the group in Editor to skip trigger volumes
#522
2022-07-18 20:14:40 +02:00
mafiesto4 e346fa1dca Fix material editor preview error
#704
2022-07-18 19:40:37 +02:00
mafiesto4 66d1015399 Simplify build options merging 2022-07-18 18:09:11 +02:00
mafiesto4 b67649dfbd Add ExternalModules to game modules for custom scripting binaries linking 2022-07-18 18:09:10 +02:00
mafiesto4 5c6b5ad948 Optimize ProbesFilter shader 2022-07-18 16:33:11 +02:00
mafiesto4 6061a0a344 Add support for baking env probes in cooked game 2022-07-18 16:32:50 +02:00
mafiesto4 fb3601dac6 Update resources 2022-07-18 14:50:53 +02:00
mafiesto4 60f868a08b Add real-time environment probes support 2022-07-18 14:50:41 +02:00
mafiesto4 3dbff3cab7 Fix crash when closing handles to asset file while any asset streaming task is active for asset from that file 2022-07-18 13:02:34 +02:00
mafiesto4 b6652a61c6 Merge branch 'GoaLitiuM-rider_detection_fix' 2022-07-18 09:29:33 +02:00
mafiesto4 5010903c78 Merge branch 'rider_detection_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-rider_detection_fix 2022-07-18 09:29:24 +02:00
mafiesto4 25790bd0c9 Fix selecting Debug Log window entries with left-mouse button 2022-07-17 17:06:26 +02:00
mafiesto4 3239150a61 Refactor scene objects initialization to call OnAwake before all OnStart
#520
2022-07-17 17:05:59 +02:00
mafiesto4 9aff782907 Fix mouse centering regression from 7f3a32a69b 2022-07-17 16:25:36 +02:00
mafiesto4 7f3a32a69b Improve cursor clipping logic (fix after alt+tab and confine to game window in Editor)
#691
2022-07-17 00:09:59 +02:00
mafiesto4 fe0e24357a Merge branch 'ScottLongley-feature-clip-cursor' 2022-07-16 09:03:54 +02:00
mafiesto4 1f1c3adaf1 Merge branch 'feature-clip-cursor' of https://github.com/ScottLongley/FlaxEngine into ScottLongley-feature-clip-cursor 2022-07-16 09:03:47 +02:00
mafiesto4 2c12ea2fba Update DirectXShaderCompiler to version 1.7 (July 2022)
#700
2022-07-15 23:32:56 +02:00
mafiesto4 5c5824bbb7 Add support for the latest Windows 11 SDK (22H2)
#700
2022-07-15 23:32:19 +02:00
mafiesto4 d586269eec Merge branch 'GoaLitiuM-fix_dxcompiler_linkage' 2022-07-15 20:37:06 +02:00
mafiesto4 528a009b6b Merge branch 'fix_dxcompiler_linkage' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_dxcompiler_linkage 2022-07-15 20:36:56 +02:00
mafiesto4 ee0f54434e Merge branch 'GoaLitiuM-fix_richtextbox_dblclick' 2022-07-15 20:35:30 +02:00
mafiesto4 74f4f8e4da Merge branch 'fix_richtextbox_dblclick' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_richtextbox_dblclick 2022-07-15 20:35:23 +02:00
mafiesto4 5f6d2b175d Minor adjustments to smoothstep and step nodes #729 2022-07-15 20:33:52 +02:00
mafiesto4 8440c596ac Merge branch 'whocares77-MaterialNodes' 2022-07-15 20:25:17 +02:00
mafiesto4 12558567ec Merge branch 'MaterialNodes' of https://github.com/whocares77/FlaxEngine into whocares77-MaterialNodes 2022-07-15 20:25:05 +02:00
mafiesto4 a2677a25a9 Improve env probes rendering if DDGI is enabled 2022-07-15 16:13:36 +02:00
mafiesto4 a8579cadcc Move DefaultProbeResolution from Graphics to GraphicsSettings only (not runtime option)
#728
2022-07-14 15:37:54 +02:00
mafiesto4 53baccaf96 Merge branch 'whocares77-master' 2022-07-14 14:49:17 +02:00
mafiesto4 e210e58644 Merge branch 'master' of https://github.com/whocares77/FlaxEngine into whocares77-master 2022-07-14 14:49:04 +02:00
mafiesto4 0d8ebd332e Add Global Illumination sampling option to transparent materials (eg. particles) 2022-07-14 14:28:42 +02:00
mafiesto4 4cc7bb96f5 Fix missing Transparent Lighting mode init 2022-07-14 12:48:00 +02:00
mafiesto4 2b76c369ac Update engine assets 2022-07-14 09:22:33 +02:00
mafiesto4 85f351663b Add Transparent Lighting Modes for material with option to use non-directional shading 2022-07-14 09:22:32 +02:00
mafiesto4 047821f7d2 Fix missing strip tool for Android build 2022-07-14 00:13:05 +02:00
mafiesto4 dda8912332 Use custom version of android_native_app_glue 2022-07-13 23:41:00 +02:00
mafiesto4 57279b14eb Revert "Attempt to fix Android build"
This reverts commit b80f2118bd.
2022-07-13 23:31:55 +02:00
mafiesto4 b80f2118bd Attempt to fix Android build 2022-07-13 23:08:00 +02:00
mafiesto4 89688f93e1 Add GPU Dispatch calls in GPU profiler draw calls collumn 2022-07-13 21:45:43 +02:00
mafiesto4 c27a1ddb41 Add Android to CI 2022-07-13 21:45:22 +02:00
mafiesto4 7a15ed3e43 Fix version issue 2022-07-13 21:20:00 +02:00
mafiesto4 93fe79c0ac Update to .Net Framework 4.5.2 2022-07-13 21:19:47 +02:00
mafiesto4 92eb19291d Fix crash when using ogg audio bit depth higher than 16 2022-07-13 10:04:55 +02:00
mafiesto4 7b041bbaa5 Hide editor control from Visual Scripts api 2022-07-08 16:54:49 +02:00
mafiesto4 f89ba20d9c Minor fix if saved editor viewport camera location gets corrupted 2022-07-08 16:43:43 +02:00
mafiesto4 0ba1c124f7 Add Global Surface Atlas missing surface data debug visualization 2022-07-08 16:43:25 +02:00
mafiesto4 df48d71045 Skip SDF generation for transparent materials inside models 2022-07-08 15:28:22 +02:00
mafiesto4 5437f7cc1a Fix editor viewport capturing mouse if window is not foreground 2022-07-08 09:30:35 +02:00
mafiesto4 f221bc6361 Minor improvements 2022-07-07 15:34:15 +02:00
mafiesto4 02dbd07506 Add utility buttons to check/uncheck all Material Instance parameters overrides in Editor window 2022-07-06 09:29:25 +02:00
mafiesto4 bd90280da7 Missing improvement from 9192375ddb into Material Instance parameters editor 2022-07-05 16:00:39 +02:00
mafiesto4 9192375ddb Improve properties display (group all parameters from the same group together) 2022-07-05 10:36:36 +02:00
mafiesto4 4560b98336 Merge remote-tracking branch 'origin/master' 2022-07-05 09:01:22 +02:00
mafiesto4 ec7aece135 Improve Job System changes to prevent dynamic memory allocation and ref counting (#721) 2022-07-05 08:52:53 +02:00
mafiesto4 511682db87 Change Text Render text to allow multi line editing 2022-07-04 21:36:46 +02:00
mafiesto4 2e947ab85a Fixes for large worlds 2022-07-04 20:35:29 +02:00
mafiesto4 8da4e546da Fix env probes far from origin 2022-07-04 20:22:26 +02:00
mafiesto4 3070493729 Add support for Physics Scene origin shifting 2022-07-04 20:04:11 +02:00
mafiesto4 e4a4e7926e Merge branch 'GoaLitiuM-jobsystem_changes' 2022-07-04 15:46:16 +02:00
mafiesto4 64b2b23201 Merge branch 'jobsystem_changes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-jobsystem_changes 2022-07-04 15:45:49 +02:00
mafiesto4 5a366bc1a0 Optimize DDGI probe classify if using non-iterative relocation 2022-07-04 15:45:30 +02:00
mafiesto4 e34e4caf08 Improve precision for BoundingBox.Transform with Transform 2022-07-03 18:12:13 +02:00
mafiesto4 cb92e3c54c Add Particles support for Large Worlds 2022-07-03 18:09:04 +02:00
mafiesto4 039bf8253a Add UI Canvas support for Large Worlds 2022-07-03 17:12:35 +02:00
mafiesto4 a8a34b391b Fix compilation 2022-07-03 16:18:43 +02:00
mafiesto4 5708f2ae0b Fix vertex paint with Large Worlds 2022-07-03 16:14:27 +02:00
mafiesto4 d9dc23afc1 Fixes for Foliage with Large Worlds usage 2022-07-03 16:08:22 +02:00
mafiesto4 62ff305fad Fixes for Terrain with Large Worlds usage 2022-07-03 15:38:39 +02:00
mafiesto4 98d8543334 Fix compilation 2022-07-03 15:33:15 +02:00
mafiesto4 400c4bb570 Fix Editor play mode exit bug after closing maximized Game window 2022-07-02 20:59:55 +02:00
mafiesto4 d0955a5ac0 Fix editor selection with Large Worlds origin usage 2022-07-02 20:35:25 +02:00
mafiesto4 33513834df Add support for Large Worlds in more engine systems 2022-07-02 20:07:04 +02:00
mafiesto4 85fe22d7a7 Fix typos 2022-07-01 17:05:17 +02:00
mafiesto4 de2d041e47 Fix warning 2022-07-01 14:10:54 +02:00
mafiesto4 07c6c5a841 Fix issues with Vulkan backend when using DDGI 2022-07-01 14:10:01 +02:00
mafiesto4 427c3a9099 Fix crash when using more than 2 constant buffers with D3D12 2022-07-01 14:10:00 +02:00
mafiesto4 e2319ceca3 Improve DDGI probes relocation to search 64 nearby locations around the probe 2022-07-01 14:09:59 +02:00
mafiesto4 b40a890d31 More work for large worlds 2022-06-30 22:07:11 +02:00
mafiesto4 4007c5e29c Add BounceIntensity to Global Illumination settings 2022-06-30 15:27:31 +02:00
mafiesto4 27515585db Improve Global Surface Atlas objects surfaces sampling 2022-06-30 15:14:43 +02:00
mafiesto4 db284c58a3 Fix crash when opening old project with Global Custom Code node in material 2022-06-30 09:16:19 +02:00
mafiesto4 7ebdce5e42 More work for large worlds 2022-06-29 23:28:03 +02:00
mafiesto4 2cd244fbd3 Reduce DDGI irradiance blending artifacts due to texture format precision issues 2022-06-29 15:19:54 +02:00
mafiesto4 9fa2a5ff93 Fix compilation 2022-06-29 09:14:16 +02:00
mafiesto4 090225bef2 Fix strange crash 2022-06-28 20:26:10 +02:00
mafiesto4 27d266546e Various fixes and improvements for large worlds rendering 2022-06-28 20:26:01 +02:00
mafiesto4 b1640515c4 Merge remote-tracking branch 'origin/gi'
# Conflicts:
#	Source/Engine/Renderer/GlobalSignDistanceFieldPass.cpp
2022-06-28 18:16:28 +02:00
mafiesto4 fe6226b276 Minor tweaks 2022-06-28 16:07:34 +02:00
mafiesto4 ea34207d07 Fix play mode in Editor error 2022-06-28 16:07:22 +02:00
mafiesto4 56322005e2 Reformat shaders source code 2022-06-28 14:41:29 +02:00
mafiesto4 df691e62f8 Various improvements to Global Surface Atlas sampling 2022-06-28 14:10:01 +02:00
mafiesto4 5ee8785ede Fix missing IsZero and IsOne for int32 2022-06-28 10:39:12 +02:00
mafiesto4 443ce106e2 Optimize Global Surface Atlas objects lighting to be less frequent with caching for static lights and objects 2022-06-28 10:38:51 +02:00
mafiesto4 d861518d2e Add origin updating for LargeWorlds 2022-06-27 23:33:51 +02:00
mafiesto4 d5a529e00a Optimize Global Surface Atlas objects culling to cache up to 32 objects locally per-thread 2022-06-27 16:31:39 +02:00
mafiesto4 d8e79101e7 Refactor Global Surface Atlas to not rewrite objects data and use indirection for faster culling 2022-06-27 16:07:54 +02:00
mafiesto4 a7463872a8 Add Camera Cut on rendering view origin change (for large worlds) 2022-06-26 19:23:28 +02:00
mafiesto4 5fdd8a4b72 Add NavCrowd initialization with specific NavAgentProperties to pick a proper navmesh automatically 2022-06-26 15:53:51 +02:00
mafiesto4 982accde6d Add NavCrowd for navigation steering behaviors system for a group of agents 2022-06-26 15:23:36 +02:00
mafiesto4 282b9066b8 Improve DDGI quality 2022-06-24 16:17:32 +02:00
mafiesto4 787d788055 Fix Camera preview model draw regression 2022-06-23 23:14:33 +02:00
mafiesto4 00498106fa Fix model mouse selection regression 2022-06-23 22:28:12 +02:00
mafiesto4 5633d1bcb9 Fix editor viewport mouse selection regression 2022-06-23 18:56:02 +02:00
mafiesto4 a7b31fbf9b Update DDGI 1st cascade every 2nd frame to limit for a single cascade update per-frame 2022-06-23 16:59:13 +02:00
mafiesto4 b69e42b79c Fix initializing activated and scrolled DDGI probes 2022-06-23 14:51:36 +02:00
mafiesto4 1dab45f407 Add support for renaming GPU resources (development builds only) 2022-06-22 23:08:39 +02:00
mafiesto4 4afb74c7b3 Optimize DDGI probes updating with active-only probes 2022-06-22 14:09:31 +02:00
mafiesto4 5d34575a91 Fix default value in Dot and Distance graph nodes 2022-06-21 20:03:36 +02:00
mafiesto4 134c8b99aa Add relative-to-camera rendering for large worlds 2022-06-21 20:03:13 +02:00
mafiesto4 4637017707 Optimize thread group size for DDGI trace rays compute shader 2022-06-21 10:32:25 +02:00
mafiesto4 f3bd0e469c Fixes 2022-06-20 18:14:38 +02:00
mafiesto4 10adf1eba1 Fix Constant Buffer binding on D3D12 when using Graphics after Compute pass with the same constants 2022-06-20 12:43:05 +02:00
mafiesto4 da85c1f55c Fix debug name for DirectX resources 2022-06-20 12:25:57 +02:00
mafiesto4 f31ba5cad8 Fix 2022-06-20 12:14:09 +02:00
mafiesto4 9cbaeb21f5 Add GI probes spacing setting 2022-06-20 10:09:09 +02:00
mafiesto4 3238861f64 Fix opening material or particle emitter in editor if shader compilation fails 2022-06-20 09:51:34 +02:00
mafiesto4 5239a2b410 Optimize DDGI probes state data from R16G16B16A16_Float to R8G8B8A8_SNorm 2022-06-20 09:49:40 +02:00
mafiesto4 41a58f3f2c Merge remote-tracking branch 'origin/master' into gi 2022-06-20 08:26:06 +02:00
mafiesto4 1fbdabdcd0 Fixes 2022-06-19 13:07:19 +02:00
mafiesto4 2e2404dc5f Fix regression from 2522d84a21 2022-06-19 13:07:07 +02:00
mafiesto4 1db65ac882 Add GlobalIllumination to debug GI probes 2022-06-17 15:07:58 +02:00
mafiesto4 9f99d74e53 Adjust DDGI quality and optimize 2022-06-17 14:32:07 +02:00
artkez 3c0e42ea78 added Smoothstep and Step material nodes 2022-06-17 12:38:14 +03:00
mafiesto4 b8ff4ae2e0 Fixes for Vulkan descriptors binding 2022-06-17 10:41:23 +02:00
mafiesto4 2e06d1ce2a Refactor Global SDF to use a single texture for all cascades 2022-06-17 10:41:04 +02:00
artkez 0872d10f43 Revert "Added Smoothstep and Step Material Nodes"
This reverts commit 1b4dded11e.
2022-06-17 11:20:26 +03:00
artkez 1b4dded11e Added Smoothstep and Step Material Nodes 2022-06-17 11:14:27 +03:00
mafiesto4 2bd3c0f74f Add support for constexpr fields in Scripting API 2022-06-16 21:56:48 +02:00
mafiesto4 02cb0f938b Add old API with Vector3 for CollisionData 2022-06-16 10:57:15 +02:00
mafiesto4 9ba117cde3 Refactor OrientedBoundingBox to use Transform for transformation instead of Matrix (for large worlds) 2022-06-16 10:51:59 +02:00
mafiesto4 995e5bc6ff Add more utility methods to Transform and Matrix3x3 2022-06-16 10:50:53 +02:00
artkez e548dbfb19 EnvironmentProbe selectable resolution 2022-06-16 10:28:57 +03:00
mafiesto4 bc8cc75ad8 Fix issue from 3294624849 2022-06-15 20:39:55 +02:00
mafiesto4 0d3ecd6dd2 Fix cross error in Material if input is not Float3 2022-06-15 19:04:21 +02:00
mafiesto4 cf1f8487e7 Merge remote-tracking branch 'origin/master' into gi 2022-06-15 10:37:24 +02:00
mafiesto4 62a39911dd Improve DDGI irradiance sampling by skipping cascades with not enough active probes at the sample location 2022-06-15 10:37:03 +02:00
mafiesto4 84ddba5814 Add DDGI injection into Volumetric Fog 2022-06-15 09:51:40 +02:00
mafiesto4 4386dc8774 Add Actor::GetOrAddChild to C++ 2022-06-15 09:23:06 +02:00
mafiesto4 37295e1ec7 Update engine assets 2022-06-14 23:23:04 +02:00
mafiesto4 7167a6d15a Revert NDA platforms folders 2022-06-14 23:16:41 +02:00
mafiesto4 020e6f671c Fix build 2022-06-14 23:10:21 +02:00
mafiesto4 8158052ec7 Fix Spline::GetSplineLength freeze
#726
2022-06-14 23:07:35 +02:00
mafiesto4 857691983f Merge branch 'GoaLitiuM-fix_csharp_profiler_events' 2022-06-14 22:42:29 +02:00
mafiesto4 6ec34a2dec Merge branch 'fix_csharp_profiler_events' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_csharp_profiler_events 2022-06-14 22:42:08 +02:00
mafiesto4 69b69f9ea9 Format more engine code 2022-06-14 22:41:51 +02:00
mafiesto4 3925c6221c Fix Multi Blend 2D node if all blend points are on the same line
#719
2022-06-14 20:46:55 +02:00
mafiesto4 2bf6fac77d Format more engine code 2022-06-14 20:26:33 +02:00
mafiesto4 b49e5e9984 Format more engine code 2022-06-14 20:17:00 +02:00
mafiesto4 7c923198e0 Minor tweaks to #716 2022-06-14 19:56:58 +02:00
mafiesto4 8eb59703bd Merge branch 'GoaLitiuM-view_size_node' 2022-06-14 19:53:42 +02:00
mafiesto4 47a3ac36cd Merge branch 'view_size_node' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-view_size_node 2022-06-14 19:53:17 +02:00
mafiesto4 98473487bc Fix Editor Analytics tracking option file SetupStyle
#727
2022-06-14 19:51:38 +02:00
mafiesto4 5dcde83f22 Fix build 2022-06-14 19:51:11 +02:00
mafiesto4 d4d27b88f0 Format engine codebase with ReSharper 2022-06-14 19:05:04 +02:00
mafiesto4 3294624849 Add Double, Vector2/3/4 nodes to Visject graphs 2022-06-14 18:56:00 +02:00
mafiesto4 fc96620045 Remove disabling temporal reprojection from Volumetric Fog 2022-06-14 16:56:53 +02:00
mafiesto4 0729ffdafe Improve PostFx settings setup 2022-06-14 15:31:51 +02:00
mafiesto4 4cabf9de53 Merge remote-tracking branch 'origin/master' into gi 2022-06-14 12:03:28 +02:00
mafiesto4 2522d84a21 Add default Post Process options to Graphics Settings 2022-06-14 12:01:16 +02:00
mafiesto4 c6e909c867 Refactor API_INJECT_CPP_CODE into API_INJECT_CODE to support code injection in other languages 2022-06-14 11:53:31 +02:00
mafiesto4 18cd7b657e Fix compilation error 2022-06-13 23:57:19 +02:00
mafiesto4 b815ba51a5 Fix build issues 2022-06-13 23:37:11 +02:00
GoaLitiuM b89e3bb0ff Add "View Size" node for GUI materials 2022-06-13 22:25:55 +03:00
mafiesto4 4967b27ff7 Add test build with UseLargeWorlds=true for Github Actions 2022-06-13 19:13:28 +02:00
mafiesto4 ffce2005da Add UseLargeWorlds to engine configuration 2022-06-13 18:54:15 +02:00
mafiesto4 37511c0e6b Various DDGI improvements 2022-06-13 16:02:41 +02:00
mafiesto4 eb1e39b3c4 Disable Global SDF in Editor's asset viewports 2022-06-13 16:02:22 +02:00
mafiesto4 6c45fff205 Add Global SDF mip sampling in DDGI probes classification to prevent flickering on large maps 2022-06-13 15:28:46 +02:00
mafiesto4 e96e6bea86 Fix initial irradiance update for scrolled probes 2022-06-13 13:59:01 +02:00
mafiesto4 ca0c3eb7d6 Optimize BoundingFrustum contains/intersects test 2022-06-13 12:38:18 +02:00
mafiesto4 78afe60343 Add Global Surface Atlas resolution setting 2022-06-13 12:38:01 +02:00
mafiesto4 1fc26a63a7 Update gi branch changes to large worlds 2022-06-13 00:50:34 +02:00
mafiesto4 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
mafiesto4 bc65057eb7 Add property type tooltip to Visject properties 2022-06-13 00:41:06 +02:00
mafiesto4 a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
GoaLitiuM 1978949b22 Allocate job context dynamically to prevent deadlocks 2022-06-12 13:56:13 +03:00
mafiesto4 d4839b9c78 Add Global Illumination options to PostFx Settings 2022-06-10 18:48:17 +02:00
mafiesto4 aa58665740 Move Global SDF towards the view direction 2022-06-10 14:31:01 +02:00
mafiesto4 f685c67275 Add Global SDF quality setting and support for variable cascades count and resolution 2022-06-10 14:30:40 +02:00
mafiesto4 3b27ae5fa9 Optimize ProbesTrace texture in DDGI to use batched probes update 2022-06-10 10:39:46 +02:00
mafiesto4 3a8e5e0bbe Various DDGI quality improvements 2022-06-09 11:31:20 +02:00
mafiesto4 211491f3d2 Add missing AO for DDGI irradiance 2022-06-09 10:55:26 +02:00
mafiesto4 6a74ebd62e Add support for cascades to DDGI 2022-06-09 08:55:45 +02:00
GoaLitiuM dc2a9c0702 Support dispatching jobs within jobs in JobSystem 2022-06-06 17:17:15 +03:00
mafiesto4 73d762cf0c Fix regression from 5ee62be166 2022-06-06 15:47:56 +02:00
mafiesto4 5ee62be166 Various DDGI improvements to the quality of the final effect 2022-06-06 15:04:58 +02:00
mafiesto4 c147e3bff4 Minor DDGI optimization 2022-06-06 13:13:36 +02:00
mafiesto4 1f1ed2bf60 Fix terrain draw modes to collect only current draw pass 2022-06-06 10:28:58 +02:00
mafiesto4 31d9802cf4 Add IndirectLightingIntensity support for lights in Global Surface Atlas 2022-06-06 10:28:39 +02:00
GoaLitiuM bbbfa4d5fe Fix wrong timestamps in C# profiler events 2022-06-05 18:38:36 +03:00
mafiesto4 79220556df Improve DDGI probes relocation algorithm 2022-06-03 17:43:12 +02:00
mafiesto4 befaf65ab1 Optimize DDGI probes position calculation when sampling irradiance 2022-06-03 16:11:46 +02:00
mafiesto4 54c322da7c Fix missing specular regression 2022-06-03 12:14:03 +02:00
mafiesto4 d05c09a33d Improve GI quality 2022-06-02 18:13:15 +02:00
mafiesto4 641d04a50e Improve GI quality 2022-05-31 15:52:19 +02:00
GoaLitiuM 81f62f58d7 Improve JetBrains Rider installation detection 2022-05-29 15:47:08 +03:00
mafiesto4 bdc7b3b754 Add updating ModelInstanceActor render state on material change 2022-05-27 12:07:27 +02:00
mafiesto4 d0a6f82cc2 Fix updating Global Surface Atlas for the static object that rendering state was modified 2022-05-27 12:07:02 +02:00
mafiesto4 eb6050cf27 Improve probes relocation algorithm to reduce visual artifacts due to probes flickering 2022-05-27 11:44:39 +02:00
mafiesto4 48b3a34182 Fix potential issue with SR/RT slots 2022-05-26 15:43:55 +02:00
mafiesto4 3377229966 Add color grading and postfx for Glboal Surface Atlas lighting debug view to increase readability 2022-05-26 15:10:26 +02:00
mafiesto4 c2082925c7 Improve multi-bounce irradiance lighting by limiting the diffuse color intensity 2022-05-26 15:09:37 +02:00
GoaLitiuM ec443b811b Fix error when double-clicking empty RichTextBox 2022-05-25 23:39:11 +03:00
mafiesto4 f82e370392 Refactor Vector types to support 64-bit precision via define switch 2022-05-25 20:04:33 +02:00
mafiesto4 1303740611 Add proper template types inflating with typedef searching for new scripting api features usage 2022-05-25 19:55:22 +02:00
mafiesto4 edbf0761d2 Minor code simplification 2022-05-25 19:54:50 +02:00
mafiesto4 e6a06832bf Fix invalid border corner pixel copy in probe image 2022-05-25 10:39:24 +02:00
mafiesto4 a116a1fb8d Add FLAX_BUILD_BINDINGS define for Scripting API parser to be used if needed 2022-05-23 19:57:38 +02:00
mafiesto4 c87f2f5b56 Optimize empty comments parsing in Scripting API 2022-05-23 19:57:07 +02:00
mafiesto4 e4e5745101 Fix parsing comments for Scripting API types that are templates 2022-05-23 19:56:43 +02:00
mafiesto4 e9c8584656 Format code in Flax.Build 2022-05-23 19:56:13 +02:00
mafiesto4 b30d22fa45 Missing change 2022-05-23 19:55:18 +02:00
mafiesto4 85fd540b97 Add new API_TYPEDEF metadata for Scriptign API types instantiation (with Alias option) 2022-05-23 19:50:37 +02:00
mafiesto4 b70bce1746 Add support for generic types in Scripting API with Template flag 2022-05-23 19:43:34 +02:00
mafiesto4 d39b6d7120 Fix processing else and elif preprocessor blocks in Flax.Build bindings parser 2022-05-23 17:46:26 +02:00
mafiesto4 c0412cc4f4 Fix using preprocessor define values in Flax.Build bindings parsing 2022-05-23 17:45:18 +02:00
mafiesto4 89ac470733 Add indirect lighting to Global Surface Atlas to achieve infinite GI bounces 2022-05-23 14:10:45 +02:00
mafiesto4 72c0474397 Add realtime sky/skybox capturing for GI 2022-05-23 12:53:39 +02:00
mafiesto4 375222a089 Initial DDGI implementation 2022-05-23 10:15:02 +02:00
mafiesto4 2eb51f9a83 Reformat code in Math libary 2022-05-21 20:04:12 +02:00
mafiesto4 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
mafiesto4 f53a5ff536 Reorganize scene pointer in actor data 2022-05-21 19:41:24 +02:00
mafiesto4 5e6c518c39 Minor adjustments 2022-05-21 11:48:54 +02:00
mafiesto4 b7459c7311 Inline various operators in math types for better performance in Debug builds and better inlining 2022-05-21 11:36:27 +02:00
mafiesto4 e43ef605c2 Minor improvements 2022-05-20 18:12:29 +02:00
mafiesto4 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
mafiesto4 2369b6a34a Add support for double serializtion in C++ 2022-05-20 15:53:50 +02:00
mafiesto4 1a64df9116 Add more math utilities 2022-05-19 16:03:54 +02:00
mafiesto4 c3b2c55d51 Fix normal map when importing materials for model files 2022-05-19 12:00:12 +02:00
mafiesto4 04c0f19584 Add Double2, Double3, Double4 to C# scripting API 2022-05-18 23:23:50 +02:00
mafiesto4 523d961f28 Add various improvements for C# math library 2022-05-18 22:30:50 +02:00
mafiesto4 8c971cd11e Add custom floats formatting to prevent scientific notation 2022-05-18 22:29:31 +02:00
mafiesto4 f9d5c74507 Disable GI in editor asset viewports by default 2022-05-17 14:08:48 +02:00
mafiesto4 4a2e8d0a69 Cleanup and adjustments for vector types 2022-05-16 23:52:38 +02:00
mafiesto4 8125e406bb Add new math utilities to shaders library 2022-05-16 10:06:12 +02:00
mafiesto4 c74b66f728 Add Quaternion::RotationMatrix from Matrix3x3 rotation 2022-05-16 10:05:15 +02:00
mafiesto4 778e4e0ea7 Fix crash on NetworkPeer disposing 2022-05-15 11:51:20 +02:00
mafiesto4 e72b2b385f Minor adjustment 2022-05-15 11:37:14 +02:00
mafiesto4 afbbe6cf3f Merge branch 'GoaLitiuM-timer_resolution_fix' 2022-05-15 11:35:14 +02:00
mafiesto4 bdbced0bbc Merge branch 'timer_resolution_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-timer_resolution_fix 2022-05-15 11:35:05 +02:00
mafiesto4 3d7d52e779 Fix Vulkan crash when using Blur Panel in Screen Space canvas 2022-05-13 20:17:06 +02:00
mafiesto4 94f54abb62 Merge branch 'GoaLitiuM-fix_physx_addactor' 2022-05-13 19:17:21 +02:00
mafiesto4 05a7fd45c3 Merge branch 'fix_physx_addactor' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_physx_addactor 2022-05-13 19:17:16 +02:00
mafiesto4 389dfb44de Fix crash on macOS due to Vulkan timestamp queries error 2022-05-12 18:57:32 +02:00
mafiesto4 f7e48d9b23 Add shader getter to IMaterial interface 2022-05-12 13:47:19 +02:00
mafiesto4 69b9c1b9ee Add editorconfig for shader files 2022-05-12 13:46:17 +02:00
mafiesto4 abcc319168 Minor rename fixes 2022-05-12 13:46:05 +02:00
mafiesto4 f7955a5c4e Add support for custom location of Custom Global Code in generated material source code 2022-05-12 13:44:57 +02:00
mafiesto4 70de677266 Fix InstanceOrigin, PerInstanceRandom and LODDitherFactor to not use interpolation between shader stages 2022-05-12 13:30:59 +02:00
mafiesto4 5525527ecd Add No Results node to Content Search if nothing found 2022-05-11 19:08:01 +02:00
mafiesto4 650d15a665 Add Ctrl+C shortcut for content search result copy 2022-05-11 19:03:36 +02:00
mafiesto4 a5bcff5231 Skip assets from temporary folder in Content Search 2022-05-11 19:03:19 +02:00
mafiesto4 782c3a0e3e Add Find references utility for graph parameters and methods 2022-05-09 18:10:47 +02:00
mafiesto4 8b1e0df222 Add **Content Search** window to searching Visual Scripts and other assets 2022-05-08 19:42:34 +02:00
mafiesto4 1d228d28bf Fix pasting/duplicating nodes in Visject to call spawn event 2022-05-08 19:11:42 +02:00
GoaLitiuM 3523b1a85f Add PhysX actors to the scene immediately 2022-05-07 18:04:23 +03:00
mafiesto4 1acac3845e Add support for loading Visject surfaces without Surface UI 2022-05-06 18:45:12 +02:00
mafiesto4 78d6fe6b50 Fix error when loading surface from not yet loaded asset 2022-05-06 18:30:49 +02:00
mafiesto4 4cedd0f30c Fix scripting type search regression from 26d4ebd3d5 2022-05-06 17:37:07 +02:00
mafiesto4 2d27e0997f Silence old warning 2022-05-06 17:17:54 +02:00
mafiesto4 21e6c2603c Silence old warning 2022-05-06 17:16:01 +02:00
mafiesto4 90906baae2 Various improvements for Editor 2022-05-06 17:14:25 +02:00
mafiesto4 3766488114 Fix crash when loading empty json for Variant structure data 2022-05-05 18:35:05 +02:00
mafiesto4 7bb5ffc2a4 Fix copy pasting multi-line text into a single-line textbox 2022-05-04 20:16:29 +02:00
mafiesto4 ae63508049 More adjustment for content finder visibility 2022-05-04 18:37:26 +02:00
mafiesto4 7303377358 Reorganize Content Finder files 2022-05-04 18:15:12 +02:00
mafiesto4 2a4057cbc2 Add public events for Editor play mode flow 2022-05-03 23:08:47 +02:00
mafiesto4 bc6b70f4f9 Optimize static Visual Script event calling 2022-05-03 21:12:29 +02:00
mafiesto4 225cc38ea8 Add late initialization to Content Finder tool in Editor 2022-05-03 16:14:07 +02:00
GoaLitiuM 6e2b854544 Set timer resolution to lowest possible value in all Windows systems 2022-05-02 20:59:07 +03:00
mafiesto4 ab37cc72a9 Minor renaming 2022-05-02 12:52:38 +02:00
mafiesto4 acd064c364 Introduce separate GI directory 2022-05-02 12:09:53 +02:00
mafiesto4 4b6fce7e5d Ignore Rider configs 2022-05-02 10:57:54 +02:00
mafiesto4 551459022d Merge remote-tracking branch 'origin/master' into gi
# Conflicts:
#	Source/Editor/Windows/Assets/VisualScriptWindow.cs
2022-05-02 10:38:14 +02:00
mafiesto4 04a7dab7e7 Minor fixes 2022-05-02 10:36:31 +02:00
mafiesto4 8e02d449fb Fix rare crash on terrain in Global Surface Atlas sampling 2022-05-02 10:13:20 +02:00
mafiesto4 1859d7c2f5 Inline Vector4 == operator manually 2022-05-01 21:48:35 +02:00
mafiesto4 12d960e787 Merge branch 'vector2_fix' of https://github.com/GoaLitiuM/FlaxEngine 2022-05-01 21:45:28 +02:00
mafiesto4 426b53e46d Increase max samples for SSR in forward shading 2022-05-01 21:42:48 +02:00
mafiesto4 2935b85543 Add preserving existing value of the Visual Script parameter when changing its type 2022-05-01 21:34:21 +02:00
mafiesto4 26d4ebd3d5 Fixes for Visual Scripting in Editor 2022-05-01 21:11:15 +02:00
mafiesto4 3546793e12 Fix using null array of dictionary in Visual Script for init 2022-05-01 21:10:23 +02:00
mafiesto4 c5135372ca Improve local variables displaying in Visual Script debugger 2022-05-01 20:43:02 +02:00
mafiesto4 eb75a3c2fb Fix foreach loop in Visual Script to continue flow on null array or dictionary 2022-05-01 20:42:42 +02:00
mafiesto4 74b23d0e00 Add support for array of Visual Script objects 2022-05-01 20:42:05 +02:00
mafiesto4 7731db638f Fix raycasting Global SDF from far cascade 2022-04-30 15:22:54 +02:00
mafiesto4 8428f28239 Various improvements for SDF rendering 2022-04-29 17:11:39 +02:00
mafiesto4 5465652466 Add terrain rendering support for Global Surface Atlas 2022-04-29 14:05:03 +02:00
mafiesto4 c5bfdc66a4 Rename from a2eaab0ca3 2022-04-28 23:05:02 +02:00
mafiesto4 a2eaab0ca3 Split ScriptType into separate file to simply codebase 2022-04-28 22:59:24 +02:00
mafiesto4 d76fd634a5 Fix minor issue with Visual Script set parameter node calling flow during debugger value evaluation 2022-04-28 22:45:56 +02:00
mafiesto4 7e609984b4 Add TypeReference attribute to actors/scripts searching utilities for easier type picking in Visual Script 2022-04-28 22:44:56 +02:00
mafiesto4 1a711ea14f Improve Global Surface Atlas debug view to display multiple view types 2022-04-28 14:17:30 +02:00
mafiesto4 70b9db7598 Add support for rasterizing terrain into Global SDF as heightfield 2022-04-28 14:17:10 +02:00
mafiesto4 3ec856778c Optimize Global SDF chunk data 2022-04-28 10:42:58 +02:00
mafiesto4 158c29e598 Add **Dictionaries to Visual Scripting** 2022-04-27 22:47:54 +02:00
mafiesto4 a7e512bd50 Add GlobalSurfaceAtlas draw pass 2022-04-27 16:41:40 +02:00
mafiesto4 37a49c0d2e Reduce artifacts on Global Surface Atlas sampling due to SDF precision loss on far cascades 2022-04-27 14:25:48 +02:00
mafiesto4 27a1dc8966 Improve property names displaying in UI and add Unit Test for it 2022-04-27 14:12:27 +02:00
mafiesto4 49aa4abc20 Optimize Global Surface Atlas sampling with 3d-grid culling into chunks 2022-04-27 12:47:11 +02:00
GoaLitiuM 703152cb2f Fix Vector2 equality comparison 2022-04-24 21:17:27 +03:00
mafiesto4 4524edb899 Fix static model registering for rendering after streaming in even if disabled 2022-04-22 18:33:22 +02:00
mafiesto4 42bb4483b3 Minro tweaks to comments 2022-04-22 15:15:33 +02:00
mafiesto4 77dcc9b7a3 Refactor Global Surface Atlas objects buffer into separate tiles buffer to reduce memory usage and increase cache hit ratio 2022-04-22 14:24:06 +02:00
mafiesto4 9d205cbb7d Fix 2022-04-21 13:08:28 +02:00
mafiesto4 cad9bad950 Merge remote-tracking branch 'origin/master' into gi 2022-04-21 12:57:08 +02:00
mafiesto4 ca935f4f08 Improve Global SDF static chunks cache to track SDF textures streaming 2022-04-21 12:40:23 +02:00
mafiesto4 b3d18f3b0e Improve StaticModel to register for Scene Rendering once the model has any LOD streamed-in 2022-04-21 12:39:27 +02:00
mafiesto4 5345d1f685 Add events for streamable resources residency changes tracking 2022-04-21 12:37:39 +02:00
mafiesto4 0a458d94c4 Add support for Volume textures to have residency changed as regular textures 2022-04-21 12:36:16 +02:00
mafiesto4 60d2670e2e Fixes 2022-04-21 12:29:09 +02:00
mafiesto4 e44c09aa6e Optimize SDF model buffer flushing to be used only if needed 2022-04-21 12:10:22 +02:00
mafiesto4 0b6d3a313e Fix new dynamic buffers to be actually dynamic 2022-04-21 12:08:23 +02:00
mafiesto4 8ed2bb4179 Fix HashSet::Remove return value if empty 2022-04-21 11:37:50 +02:00
mafiesto4 1523fa98ec Add static chunks caching to Global SDF 2022-04-19 17:17:27 +02:00
mafiesto4 fe430e81ad Add ISceneRenderingListener for using scene information in renderer cache 2022-04-19 17:16:33 +02:00
mafiesto4 b9652949b0 Minor improvements 2022-04-19 17:15:54 +02:00
mafiesto4 c53a463bb1 Refactor HashSet to support custom allocator 2022-04-19 17:14:29 +02:00
mafiesto4 a6c14bd986 Fix Dictionary::Remove return value if empty 2022-04-16 22:49:03 +02:00
mafiesto4 3c841b1be1 Add support for font size and color in Header attribute 2022-04-15 19:16:50 +02:00
mafiesto4 ddb9b327d4 Add Color.FromRGBA 2022-04-15 19:16:30 +02:00
mafiesto4 75b61f2bef Fix typos 2022-04-15 19:16:14 +02:00
mafiesto4 8a01a31e8d Add keyboard key navigation to Content View based on items name first character 2022-04-15 17:12:50 +02:00
mafiesto4 493787d4d6 Add Custom Global Code node to materials for injecting custom code, includes or constants 2022-04-15 17:04:28 +02:00
mafiesto4 997d2a4db9 Fix Model SDF uploading with async task that locks asset file data to prevent release 2022-04-15 10:12:54 +02:00
mafiesto4 2b9aa0cf71 Fix typos 2022-04-15 09:59:37 +02:00
mafiesto4 991abb1cf8 Add loopCount to PlaySlotAnimation for looping slot animation 2022-04-14 23:18:37 +02:00
mafiesto4 03524caebf Fix function name 2022-04-14 23:14:49 +02:00
mafiesto4 4ac9406b90 Revert 017492dbfa 2022-04-14 23:10:01 +02:00
mafiesto4 47cc49a962 Add Delegate::BindUnique 2022-04-14 22:17:40 +02:00
mafiesto4 d52e70af6c Implement shadows rendering to direct light atlas (with Glboal SDF tracing) 2022-04-14 16:26:45 +02:00
mafiesto4 e554b7f531 Move Actor.DestroyChildren to C++ 2022-04-13 21:34:13 +02:00
mafiesto4 3d76b2c10f Add Array Add Unique node to Visual Scripting 2022-04-13 21:25:11 +02:00
mafiesto4 a27d69f852 Improve Json Asset development workflow 2022-04-13 21:19:10 +02:00
mafiesto4 9fb4624b03 Add JsonAsset.Instance for C# asset object 2022-04-13 21:18:35 +02:00
mafiesto4 017492dbfa Optimize C# types searching with typename 2022-04-13 19:48:39 +02:00
mafiesto4 0668a23167 Add direct lighting rendering into Global Surface Atlas 2022-04-13 16:26:19 +02:00
mafiesto4 738e7d2516 Update engine materials 2022-04-12 22:17:01 +02:00
mafiesto4 96ed170871 Use TraceSceenSpaceReflection in SSR shader for opaque 2022-04-12 22:16:45 +02:00
mafiesto4 58491e6d23 Add **Screen Space Reflections for transparent materials** 2022-04-12 22:16:06 +02:00
mafiesto4 e32ad93020 Add support for sampling Scene Color in transparent materials (forward pass) 2022-04-12 21:48:52 +02:00
mafiesto4 0a27d277a0 Adjustments 2022-04-12 14:27:06 +02:00
mafiesto4 74b95a6ebb Add Global Surface Atlas automatic defragmentation on insertion failure 2022-04-12 11:10:38 +02:00
mafiesto4 db08204ead Add sdf to engine primitives 2022-04-12 11:09:53 +02:00
mafiesto4 c99793d2a4 Fix typo 2022-04-11 18:32:28 +02:00
mafiesto4 e8774ebd29 Fixes and improvements for global sdf and global surface atlas 2022-04-11 16:15:28 +02:00
mafiesto4 db0cb04b83 Merge remote-tracking branch 'origin/master' into gi 2022-04-11 10:37:23 +02:00
mafiesto4 bd48829a09 Improve quality for atlas sampling 2022-04-11 10:36:39 +02:00
mafiesto4 52245d36d6 Fixes for global atlas cache rendering 2022-04-11 10:36:19 +02:00
mafiesto4 1eac02d173 Fix opening and editing animation with missing Anim Events 2022-04-10 20:58:25 +02:00
mafiesto4 ea4224ba67 Fix drag&drop into Scene Tree if move goes over valid drop target first 2022-04-10 15:24:02 +02:00
mafiesto4 1d7448ec83 Merge commit 'a9d66d653546d89d91344c23e62c4fdc056d9265' 2022-04-10 14:40:13 +02:00
mafiesto4 c7c6acfc78 Fix DirectX crash when profiling with RenderDoc
#698
2022-04-10 14:38:15 +02:00
mafiesto4 7735849b7f Add Global Surface Atlas sampling 2022-04-08 13:54:31 +02:00
mafiesto4 fbc1e6c861 Fix shader source code encoding error on compilation error 2022-04-08 13:53:59 +02:00
mafiesto4 598876d8e3 Add shader reloading on header file edit for shaders with compilation errors 2022-04-08 13:53:23 +02:00
mafiesto4 a9d66d6535 Various fixes for scripting runtime 2022-04-07 22:03:42 +02:00
mafiesto4 da4008575b Progress on surface atlas sampling 2022-04-07 17:16:06 +02:00
mafiesto4 49a67be419 Add objects culling in Global Surface Atlas 2022-04-06 16:56:04 +02:00
mafiesto4 430ef09ab1 Fix render pass resource checking 2022-04-06 13:16:12 +02:00
mafiesto4 34c0d6c442 Add Global Surface Atlas objects redrawing 2022-04-06 13:15:45 +02:00
mafiesto4 60d6e6b9ce Add dirty tiles clearing before mesh rasterization to Global Surface Atlas 2022-04-05 17:22:45 +02:00
mafiesto4 5fc9cb154b Fix typo 2022-04-05 17:22:03 +02:00
mafiesto4 aba0e46073 Add utility ctors to Half vectors 2022-04-05 17:21:55 +02:00
mafiesto4 016b96e9f0 Add objects rasterization to Global Surface Atlas 2022-04-04 17:13:31 +02:00
mafiesto4 8bf01146f1 Add profile event to Global SDF objects drawing loop 2022-04-04 17:11:26 +02:00
mafiesto4 4c98e0a335 Add IsSingleFrame to RenderView for thumbnails/pre-render views drawing without temporal effects and LOD transitions 2022-04-04 17:11:01 +02:00
mafiesto4 3ded5326a2 Add more utilities for using Matrix3x3 2022-04-04 17:09:47 +02:00
mafiesto4 52bb5803b3 Cleanup asset previews setup for Editors thumbnails rendering 2022-04-04 17:09:13 +02:00
mafiesto4 cff57e5697 Fix inserting to RectPack after freeing node 2022-04-01 14:15:09 +02:00
mafiesto4 251de1b643 Add support for freeing slots in RectPack 2022-04-01 12:41:09 +02:00
mafiesto4 de8a6bea58 Add drawing RenderList if it was not batched/sorted 2022-04-01 12:40:26 +02:00
mafiesto4 94799a9e28 Fixes and tweaks for rendering 2022-04-01 12:39:46 +02:00
mafiesto4 ceb64afd4a Add DynamicTypedBuffer utility 2022-04-01 12:38:46 +02:00
mafiesto4 63b8b0cb50 Add GlobalSurfaceAtlas pass to Renderer (wip) 2022-03-29 15:07:00 +02:00
mafiesto4 787e7b423c Add additional HitNormal feature to Global SDF trace output 2022-03-29 15:06:54 +02:00
mafiesto4 9d56093381 Add lazy init for Global SDF shader 2022-03-29 15:06:48 +02:00
mafiesto4 26b2cb291e Expose GlobalSignDistanceFieldPass to user scripts 2022-03-29 15:06:41 +02:00
mafiesto4 f59ab696e2 Merge branch 'GoaLitiuM-font_dpi_fix' 2022-03-28 20:52:14 +02:00
mafiesto4 fd425363b6 Merge branch 'font_dpi_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-font_dpi_fix 2022-03-28 20:52:08 +02:00
mafiesto4 3c4fd80f6e Fix D3D12 shader cache invalidation for cooker building for Windows 2022-03-28 20:43:14 +02:00
mafiesto4 2b9a03d9bc Post-merge fixes 2022-03-28 20:04:29 +02:00
mafiesto4 a9061eb44f Merge branch 'GoaLitiuM-d3d11_flip_present' 2022-03-28 19:59:36 +02:00
mafiesto4 f3324ae2fd Merge branch 'd3d11_flip_present' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-d3d11_flip_present 2022-03-28 19:59:27 +02:00
mafiesto4 94fbc28ee0 Fix error on empty regex text 2022-03-28 19:57:38 +02:00
mafiesto4 f10af9d8fb Fix Multiply (and similar) nodes result value in Visject if the first input is disconnected 2022-03-28 19:48:08 +02:00
mafiesto4 95e90d5c37 Add support for in-built color constants in Visject (eg. red/blue/violet) 2022-03-28 19:46:52 +02:00
mafiesto4 0ca6e70b66 Fix invalid Rigidbody bounds if it has no shapes attached 2022-03-28 19:28:25 +02:00
mafiesto4 8e79529e4e Fix highlighting the first error/warning from the Output Log message text 2022-03-28 19:04:53 +02:00
mafiesto4 79669a8789 Fix upscaler usage if resolution is higher than 1 2022-03-28 16:31:23 +02:00
mafiesto4 c41a446ae9 Add Rotate Vector node to Visject Surface graphs 2022-03-28 15:02:32 +02:00
mafiesto4 446a6f22fa Fix using double value with float values to be casted in Editor 2022-03-28 14:48:45 +02:00
mafiesto4 2b83975ea2 Add support for implicit casting from Quaternion to other types in shaders 2022-03-28 14:48:21 +02:00
mafiesto4 fc138bbbbb Fix GPU context error during lights rendering 2022-03-28 14:01:51 +02:00
mafiesto4 e56b280f5b Format code for shader generators 2022-03-28 14:01:29 +02:00
mafiesto4 a685962d32 Add Sample Global SDF Gradient node to materials and particles 2022-03-28 13:58:27 +02:00
mafiesto4 4938c7e64b Fix ParticleEffectEditor issues after emitter editing if selected 2022-03-28 13:39:45 +02:00
mafiesto4 3a9edabd03 Add Collision (Global SDF) particle module 2022-03-28 13:39:20 +02:00
mafiesto4 bcc4a2c0a4 Add Position (Global SDF) particle module 2022-03-28 10:27:33 +02:00
mafiesto4 5d0c27dff3 Remove FlaxException 2022-03-27 23:57:36 +02:00
GoaLitiuM 9a0d4ae53b Improve font rendering and alignment with custom DPI 2022-03-27 01:51:20 +02:00
GoaLitiuM 6e6f2859ab Fix switching to fullscreen mode in D3D11/D3D12 flip presentation modes 2022-03-26 16:48:46 +02:00
mafiesto4 f608d2537f Fix 2022-03-25 15:45:49 +01:00
mafiesto4 2bf0a7af8e Fix opening particle emitter editor window if shader compilation fails 2022-03-25 15:37:01 +01:00
mafiesto4 5a0d8f44ff Fix crash on Editor closing 2022-03-25 15:36:47 +01:00
mafiesto4 3e9b6caa1c Fix sorting items in various contextual list popups in Editor 2022-03-25 15:36:30 +01:00
mafiesto4 a917397090 Add Conform to Global SDF to GPU particles 2022-03-25 15:36:00 +01:00
mafiesto4 6c4e61a924 Add SampleGlobalSDFGradient to get normal vector of Global SDF 2022-03-25 12:53:30 +01:00
mafiesto4 1271a337c5 Fix sampling Global SDF if unsupported (return large distance) 2022-03-25 11:42:39 +01:00
mafiesto4 a5af0a1c81 Fix game build 2022-03-25 11:42:09 +01:00
mafiesto4 4a18185e81 Add **Sample Global SDF** node to particles 2022-03-25 11:41:17 +01:00
mafiesto4 f8670a497e Fix crash when loading model SDF on older GPUs (d3d10) 2022-03-25 10:10:23 +01:00
mafiesto4 b847b9ccba Add **Sample Global SDF** node to materials 2022-03-25 10:09:52 +01:00
mafiesto4 dff1b37a3b Bump up build number 2022-03-25 09:50:18 +01:00
mafiesto4 80d7c854ab Add SDF for plane model 2022-03-24 15:24:36 +01:00
mafiesto4 d5297f9047 Add option to always render Global SDF 2022-03-24 14:59:14 +01:00
mafiesto4 92ab3d005e Generate SDF for engine models 2022-03-24 12:54:04 +01:00
mafiesto4 67d1e43f6c Add utility button to generate SDF for all models on a scene 2022-03-24 12:18:28 +01:00
mafiesto4 67b6604a67 Add automatic group panels hiding if all properties are hidden by VisibleIf rule 2022-03-24 11:33:09 +01:00
mafiesto4 a1fbf79ebf Refactor Model Import Options to display only relevant properties for asset Type
Move tooltips to the doc comments
2022-03-24 11:32:34 +01:00
mafiesto4 b08d2001fd Add Model SDF generation utilities 2022-03-24 11:32:02 +01:00
mafiesto4 e89e6edfb8 Fix crash in scripting init if current localization is null 2022-03-22 19:29:17 +01:00
mafiesto4 b2e91b8a07 Improvements for dependencies building utilities 2022-03-22 19:04:10 +01:00
mafiesto4 532203040f Fix PATH env var expanding in Flax.Build app runner 2022-03-22 19:03:13 +01:00
mafiesto4 bb2f8f34dc Fix crash on opening skeleton mask window 2022-03-22 18:58:15 +01:00
mafiesto4 d5060e9067 Missing change 2022-03-22 18:11:04 +01:00
mafiesto4 891d65dc87 Add utility to editor CodeDocs for tooltips from C# types and members 2022-03-22 18:10:47 +01:00
mafiesto4 832a4bf86a Add utility Copy option for various labels in assets editors 2022-03-22 17:16:15 +01:00
mafiesto4 885d2f0771 Move Static Model rasterization into Global SDF code 2022-03-22 17:15:21 +01:00
mafiesto4 18321937e4 Optimize model SDF with 8-bit storage (if possible) 2022-03-22 15:08:38 +01:00
mafiesto4 6196bb31fe Post merge fixes 2022-03-22 13:20:07 +01:00
mafiesto4 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
mafiesto4 9107897b76 Add missing pipeline barriers after Dispatch on Vulkan to prevent race-conditions with UAVs 2022-03-22 12:56:21 +01:00
mafiesto4 aa9161a16f Fix some issues 2022-03-22 12:55:33 +01:00
mafiesto4 c10cdc3d90 Fix UsedSRsMask/UsedUAsMask when binding arrays to the shader 2022-03-22 12:55:13 +01:00
mafiesto4 d58584e1fd Fix crash if D3D device gets DXGI_ERROR_DEVICE_REMOVED during init 2022-03-21 10:51:42 +01:00
mafiesto4 8f99a3df76 Add soft handling for MeshAccelerationStructure build from model on data gather fail 2022-03-21 10:50:56 +01:00
mafiesto4 abbb0eb85c Disable SDF generation for virtual models on a main thread 2022-03-21 10:50:34 +01:00
GoaLitiuM 85f88efa95 Enable support for latest Windows SDKs 2022-03-20 18:31:41 +02:00
GoaLitiuM 8ed7b0f455 Fix wrong library linkage in DirectXShaderCompiler 2022-03-20 18:27:02 +02:00
mafiesto4 8d0a779ff4 Fix uploading volume texture data to GPU in D3D12 2022-03-18 17:55:35 +01:00
mafiesto4 8cca7f884b Add **Global Sign Distance Field** rendering (work in progress) 2022-03-18 16:18:00 +01:00
mafiesto4 10d09711d9 Add Sign Distant Field (SDF) generation for models 2022-03-18 14:35:11 +01:00
mafiesto4 c85ee9ff52 Fix key clearing on actor remove from SceneRendering 2022-03-18 13:28:50 +01:00
mafiesto4 cd66981c1d Add CustomBuffers for injecting custom state into RenderBuffers 2022-03-18 13:27:25 +01:00
mafiesto4 3dac0d4786 Fix error in Forward Shader Feature when rendering directional light shadowmap 2022-03-18 13:25:09 +01:00
mafiesto4 3d35277a87 Bump up version 2022-03-18 13:23:52 +01:00
GoaLitiuM 33fe5e7518 Fix uninitialized values and release COM resources after use 2022-03-17 21:25:56 +02:00
GoaLitiuM e794911755 Enable flip presentation mode and tearing in D3D11 2022-03-17 21:25:56 +02:00
mafiesto4 b780e33a5b Fix for faster models exporting 2022-03-14 20:32:38 +01:00
mafiesto4 6da3dff5de Fix editor options startup to not log error on missing file 2022-03-14 20:32:10 +01:00
mafiesto4 8e28fef91f Fix Lightmap UVs Source not working in model import options 2022-03-13 19:31:33 +01:00
mafiesto4 aed6f0403d Fix dylibs list
#693
2022-03-04 23:20:45 +01:00
mafiesto4 09c995d67b Fix for macOS dylib path
#693
2022-03-04 23:14:36 +01:00
mafiesto4 20075e0fbd Fixes for compilation on Windows for x86 2022-03-02 21:06:21 +01:00
mafiesto4 e52cf67447 Fix crash on Vulkan swapchain resize if the previous size was 0 (eg. due to window animation on Windows 11r) 2022-03-02 10:00:06 +01:00
mafiesto4 cdc74a9c49 Reduce includes in Serialization header 2022-02-28 23:16:15 +01:00
mafiesto4 3a1475fa9c Use SoftObjectReference for deformable asset ref to prevent removing it by Content GC 2022-02-28 23:16:00 +01:00
mafiesto4 4a9c746bed Add SoftAssetReference type 2022-02-28 23:15:35 +01:00
mafiesto4 6738bc8dea Fix minor things 2022-02-28 19:15:02 +01:00
mafiesto4 57e408761d Bump up the build number 2022-02-28 19:14:52 +01:00
mafiesto4 87cb553c61 Optimize Vector3 method to be inlined more often 2022-02-28 19:14:14 +01:00
mafiesto4 5c443f305d Fix memory leak in RenderTargetPool on texture init fail 2022-02-27 16:13:06 +01:00
mafiesto4 07760f7acd Add DynamicStructuredBuffer utility 2022-02-27 13:32:05 +01:00
mafiesto4 748b857e57 Add ability to use ModelTool module in game build 2022-02-27 13:31:32 +01:00
mafiesto4 8271a2b718 Add MeshAccelerationStructure utility for robust triangles geometry queries 2022-02-27 13:29:58 +01:00
Diewa d2c252879e Fixes for macOS 2022-02-24 21:42:00 +01:00
mafiesto4 58de04ccd6 Fix crash on particles instance invalidated 2022-02-23 22:41:26 +01:00
mafiesto4 6b84773190 Fix crash on CharacterController in prefab 2022-02-23 22:41:06 +01:00
mafiesto4 3fe1e2c763 Refactor SceneRendering to simplify actors impl of drawing flow at high level 2022-02-22 17:06:19 +01:00
mafiesto4 8c075c78cb Add LineHitBox to Collisions.hlsl 2022-02-21 20:15:07 +01:00
mafiesto4 8082f5f909 Minor fixes and changes 2022-02-21 20:14:46 +01:00
mafiesto4 3a07d767fb Fix rare crash on division by 0 2022-02-20 20:28:19 +01:00
mafiesto4 111a2f3b25 Fix crash with terrain in prefab window
#689
2022-02-19 17:59:40 +01:00
mafiesto4 4424d93d56 Use Windows Server 2019 for Github Actions 2022-02-19 12:09:29 +01:00
mafiesto4 56491569df Optimize C# bindings in Engine code to static functions that native ABI matches managed signature 2022-02-19 00:29:09 +01:00
mafiesto4 71b9324bcb Fix potential exception in PluginManager dispose in Editor 2022-02-19 00:27:53 +01:00
Scott Longley 1fa06546f4 add CursorLockMode.Clipped 2022-02-18 22:44:16 +10:00
Scott Longley 749895f2ca typo fixes 2022-02-18 21:58:46 +10:00
Scott Longley 8db4c3cfff Add ClipCursor (Windows only) 2022-02-18 21:14:08 +10:00
mafiesto4 5d4c168e1e Add Vector3::Clamp for easier inline in optimized builds 2022-02-15 12:14:31 +01:00
mafiesto4 a857e6daa0 Fix memory leak in RenderTargetPool on texture init fail 2022-02-15 12:14:02 +01:00
mafiesto4 6b3e911b40 Remove old log for drag&drop on Windows 2022-02-14 14:37:22 +01:00
mafiesto4 311b95b9fc Add support for using mipmaps with 3D textures 2022-02-14 14:37:04 +01:00
mafiesto4 7979831f5c Add JobSystem.Execute utility for quick jobs running 2022-02-14 14:34:43 +01:00
mafiesto4 9dc49f7165 Optimize Vector3 method to be inlined more often 2022-02-14 11:46:48 +01:00
mafiesto4 788b1a7531 Add Distance to box/point for Bounding Box 2022-02-14 10:15:38 +01:00
mafiesto4 79cacbf36e Add GetNormal to Triangle 2022-02-14 10:15:05 +01:00
mafiesto4 1168176016 Optimize texture data async upload during rendering 2022-02-09 10:01:21 +01:00
mafiesto4 9a4aa20bbb Add Windows 11 detection 2022-02-09 09:23:44 +01:00
mafiesto4 69a1e007a6 Add some missing changes 2022-02-08 19:56:11 +01:00
mafiesto4 afed5a30bc Add ClearUA to GPUContext to clear texture with float values 2022-02-08 19:56:07 +01:00
mafiesto4 bac8058aa8 Fix depth pitch in UpdateTexture on D3D11 for volume textures 2022-02-08 19:56:03 +01:00
mafiesto4 066a4c65bb Add additional UploadMipMapAsync for GPUTexture update with custom row/slice pitch 2022-02-08 19:55:59 +01:00
mafiesto4 3c9a5bcf1a Fix CollisionsHelper::ClosestPointPointTriangle 2022-02-08 19:55:55 +01:00
mafiesto4 88879e441e Add some missing changes 2022-02-08 18:06:56 +01:00
mafiesto4 70ca42794a Add ClearUA to GPUContext to clear texture with float values 2022-02-08 18:06:02 +01:00
mafiesto4 9a3a6c8a72 Fix depth pitch in UpdateTexture on D3D11 for volume textures 2022-02-08 18:05:20 +01:00
mafiesto4 f67371d524 Add additional UploadMipMapAsync for GPUTexture update with custom row/slice pitch 2022-02-08 18:04:44 +01:00
mafiesto4 7e2e764e1e Fix CollisionsHelper::ClosestPointPointTriangle 2022-02-08 17:56:45 +01:00
mafiesto4 3feeec1649 Fix structure initialization with default field value if attribute has different value HasInvalidPathChar
#688
2022-02-06 22:44:40 +01:00
mafiesto4 73976149da Fix blend shape dirty vertices range 2022-02-06 21:25:52 +01:00
mafiesto4 9cfc638ce0 Fix for editor 2022-02-06 14:11:31 +01:00
mafiesto4 748d69a3cb Add CollisionMeshesPrefix option to import collision data from model asset 2022-02-06 14:11:13 +01:00
mafiesto4 a186d1a7fc Merge branch 'master' of https://gitlab.flaxengine.com/flax/flaxengine 2022-02-03 12:02:24 +01:00
mafiesto4 2144a9d2fc Add tooltips from xml docs usage in GenericEditor 2022-02-03 12:01:47 +01:00
mafiesto4 9de470f670 Add new build tool log location for project files generation (as Launcher might want) 2022-02-01 22:07:21 +01:00
mafiesto4 01cb08a924 Expose PhysicsBackend to the user 2022-02-01 17:40:28 +01:00
mafiesto4 5e9dac49a8 Remove breakpoint on OpenAL error 2022-02-01 17:38:55 +01:00
mafiesto4 26191935a7 Fix issues with OpenAL audio backend 2022-02-01 17:34:46 +01:00
mafiesto4 cf6fb07a05 Fix updating audio window toolbar 2022-02-01 16:21:47 +01:00
mafiesto4 9260b45e0e Fix resizing textures with alpha on import to preserve transparent colors (instead of black) 2022-01-31 14:21:14 +01:00
mafiesto4 d0e37ba6ef Fix crash on native type in JsonAsset due to scripting hot-reload in Editor 2022-01-31 10:33:05 +01:00
mafiesto4 f8eba66b5e Add Level::ScriptsReloaded event 2022-01-31 10:25:56 +01:00
mafiesto4 8d47ea7d2f Fix doc comment 2022-01-31 10:23:27 +01:00
mafiesto4 9b79d7df09 Fix potential error 2022-01-30 20:06:05 +01:00
mafiesto4 e9fac4b504 Add user for Switch 2022-01-30 19:41:49 +01:00
mafiesto4 7a08e035a5 Fix module libraries linking in modular build mode 2022-01-29 21:34:42 +01:00
mafiesto4 6a614d66de Fix warning 2022-01-29 20:55:00 +01:00
mafiesto4 1e83518c71 Add support for custom settings asset creation 2022-01-29 17:56:02 +01:00
mafiesto4 1907504ff6 Fixes 2022-01-29 15:26:41 +01:00
mafiesto4 4495737f94 Fix missing mono symbols export on Windows 2022-01-29 15:00:47 +01:00
mafiesto4 b09036b378 Fix building project for target platform that one of the plugin targets doesn't support 2022-01-29 14:55:37 +01:00
mafiesto4 0caeffc3cd Bump up build number 2022-01-29 14:55:05 +01:00
mafiesto4 787051b12e Fix game cooker platform selector layout on small window 2022-01-26 23:15:55 +01:00
mafiesto4 e11410c5d1 Fix Gameplay Global usage in material with material instance error 2022-01-26 23:08:48 +01:00
mafiesto4 e3c613e6e3 Add macOS icon 2022-01-26 22:12:27 +01:00
mafiesto4 249a3332dc Fix potential crash in gpu particles source generator 2022-01-26 21:19:53 +01:00
mafiesto4 5dc304fcb4 Fix material Rotator node tooltip 2022-01-26 21:18:55 +01:00
mafiesto4 500f76cb03 Fix potential crash in material generator 2022-01-26 21:18:34 +01:00
mafiesto4 05b80d17c5 Add tire wheel tire friction scale parameter for Wheeled Vehicle 2022-01-26 20:54:57 +01:00
mafiesto4 ba2f58df6a Revert 2022-01-26 20:14:18 +01:00
mafiesto4 757f8240d0 Merge remote-tracking branch 'origin/master' 2022-01-26 19:12:59 +01:00
mafiesto4 b871bedb6c Fix build for mac 2022-01-26 19:12:54 +01:00
mafiesto4 33eb3d8540 Add Online system base 2022-01-26 17:01:30 +01:00
mafiesto4 0cfb7e8cee Fix passing Span<byte> to C# method thunk in generated bindings code 2022-01-26 16:56:27 +01:00
mafiesto4 d86e4090b8 Add ctor for Variant from Span<byte> 2022-01-26 16:55:38 +01:00
mafiesto4 18b156ad44 Fixes and tweaks 2022-01-26 16:55:22 +01:00
mafiesto4 a1ff0318bd Fix constant to a proper value 2022-01-23 19:30:05 +01:00
mafiesto4 dd1dc30136 Remove assertion 2022-01-23 19:28:29 +01:00
mafiesto4 05a935660d Add StringAnsi serialization 2022-01-21 18:32:16 +01:00
mafiesto4 9d90b02c9a Fix missing include for Xbox Live services on GDK platforms 2022-01-21 16:24:41 +01:00
mafiesto4 94da2c270c Add GameCooker events for game files deploy and packaging 2022-01-21 16:24:10 +01:00
mafiesto4 f801e7ffd9 Fixes 2022-01-21 16:23:30 +01:00
mafiesto4 d36c502287 Add easier game or plugin settings asset usage with SettingsBase 2022-01-21 16:22:14 +01:00
mafiesto4 b998655e1a Fix 2022-01-20 23:52:45 +01:00
mafiesto4 37e11a4b1f Merge remote-tracking branch 'origin/master'
# Conflicts:
#	Source/Engine/Physics/Physics.Queries.cpp
#	Source/Engine/Physics/Utilities.h
2022-01-20 23:29:59 +01:00
mafiesto4 a400568b51 Fix generated wrapper for classes with value types 2022-01-20 23:29:05 +01:00
mafiesto4 427846f73b Refactor Physics to separate PhysicsBackend
#673
2022-01-20 23:28:43 +01:00
mafiesto4 f4f9d92c8e Add drag&drop support for Mac 2022-01-19 14:42:00 +01:00
mafiesto4 b0e7066458 Revert last change for linux 2022-01-19 12:57:09 +01:00
mafiesto4 a8ff3da908 Fixes 2022-01-19 12:14:22 +01:00
mafiesto4 200ac18335 Fix mac app icons 2022-01-19 10:25:26 +01:00
mafiesto4 eeff3d7308 Add clipboard support for Mac 2022-01-19 10:25:16 +01:00
mafiesto4 f9eb709a18 Add window resizing and positioning on Mac 2022-01-18 19:10:13 +01:00
mafiesto4 2aa3624f81 Fix special input keys text on Mac 2022-01-18 17:29:34 +01:00
mafiesto4 b6471d887b Add mouse cursors support for Mac 2022-01-18 16:59:59 +01:00
mafiesto4 dd5bad1dfe Add window resize handling on Mac 2022-01-18 16:51:03 +01:00
mafiesto4 54db90e040 Add open/save file dialogs for Mac 2022-01-18 13:45:48 +01:00
mafiesto4 35d9016053 Add options for game window on macOS 2022-01-17 21:14:41 +01:00
mafiesto4 788afe611d Fix script permission 2022-01-17 20:28:55 +01:00
mafiesto4 d013e04db9 Add Mac to daily builds 2022-01-17 18:59:54 +01:00
mafiesto4 1043bf00b0 Add Vulkan to daily builds 2022-01-17 18:59:54 +01:00
mafiesto4 b2d5672785 Fix mac editor package zip 2022-01-17 18:59:39 +01:00
mafiesto4 59897db8fc Add editor for mac deploy 2022-01-17 18:36:19 +01:00
mafiesto4 80b3f2d8d9 Tweaks 7 2022-01-17 15:11:25 +01:00
mafiesto4 2d12b037a0 Tweaks 6 2022-01-17 15:05:14 +01:00
mafiesto4 30049bf1c1 Tweaks 5 2022-01-17 14:54:37 +01:00
mafiesto4 2921faf06f Tweaks 4 2022-01-17 14:47:08 +01:00
mafiesto4 9d3168abcf Tweaks 3 2022-01-17 14:32:09 +01:00
mafiesto4 e271f08606 Tweaks 2 2022-01-17 14:12:53 +01:00
mafiesto4 b7287de5a7 Tweaks 1 2022-01-17 14:09:06 +01:00
mafiesto4 31dc2b25a0 Add reusable action for vulkan setup in github actions 2022-01-17 13:59:54 +01:00
mafiesto4 d54f2e615d Tweaks for CI 2022-01-17 13:27:39 +01:00
mafiesto4 8757430dc3 Tweaks for CI 2022-01-17 12:57:00 +01:00
mafiesto4 b6f7b25407 Tweaks for CI 2022-01-17 12:46:30 +01:00
mafiesto4 526fa5a33d Tweaks for CI 2022-01-17 12:30:03 +01:00
mafiesto4 069d51305e Tweaks for CI 2022-01-17 11:34:40 +01:00
mafiesto4 08d449a370 Add VulkanSDK setup for CI builds 2022-01-17 11:20:07 +01:00
mafiesto4 84f07f8b83 Update shader assets 2022-01-17 10:46:10 +01:00
mafiesto4 c94e1932eb Remove not needed assertions 2022-01-17 10:18:08 +01:00
mafiesto4 465c857ff2 Fix bounding box size setter 2022-01-17 10:12:05 +01:00
mafiesto4 abb0a3f0cc Remove a test log 2022-01-14 21:40:44 +01:00
mafiesto4 6380850670 Add native tests 2022-01-14 21:13:49 +01:00
mafiesto4 34224eb015 Test change 2022-01-14 21:05:02 +01:00
mafiesto4 de93770789 Test 2022-01-14 20:27:57 +01:00
mafiesto4 d15b0c9548 Test 2022-01-14 19:35:46 +01:00
mafiesto4 73b7c56ca8 Tweak 2022-01-14 19:09:54 +01:00
mafiesto4 cfa5aa6a61 Add math unit tests for c++ 2022-01-14 19:09:54 +01:00
mafiesto4 2df3997c8b Format code 2022-01-14 19:09:53 +01:00
mafiesto4 ff185a848d Merge branch 'master' of https://gitlab.flaxengine.com/flax/flaxengine 2022-01-14 18:13:32 +01:00
mafiesto4 a18faf4f7c Fix building separate main executable during bindings-only build 2022-01-14 18:13:22 +01:00
mafiesto4 19389748d0 Fix missing engine build for Debug to use by tests 2022-01-14 16:00:52 +01:00
mafiesto4 4653e64ff4 Fixes for tests building and running on Mac or Linux 2022-01-14 15:27:44 +01:00
mafiesto4 c9a779fea9 Disable caching for dotnet target build with msbuild 2022-01-14 15:04:15 +01:00
mafiesto4 b84744699e Change nunit to use custom build fro mrepo instead of nuget package 2022-01-14 15:03:35 +01:00
mafiesto4 3cf2be8c37 Fix tools platforms to include Linux and Mac 2022-01-14 14:47:47 +01:00
mafiesto4 992333fd64 Add tests to CI 2022-01-14 14:20:41 +01:00
mafiesto4 d032f18b71 Add DotNet targets building 2022-01-14 14:19:46 +01:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 08bebc0f89 Add app packaging for macOS 2022-01-13 18:19:49 +01:00
mafiesto4 5d7f8e2df9 Fix compressed textures exporting with resizing on non-Windows platforms 2022-01-13 18:15:32 +01:00
mafiesto4 eea02b0e65 Fix exporting app icons during game cooking without graphics backend 2022-01-13 18:09:03 +01:00
mafiesto4 a682b7c324 Progress on packaging for macOS 2022-01-12 17:37:44 +01:00
mafiesto4 dfa5e91322 Fix conditional variables usage on broadcast by using a shared mutex 2022-01-12 17:36:06 +01:00
mafiesto4 6d676fd578 Fix terrain creation dialog regression 2022-01-12 11:04:21 +01:00
mafiesto4 317a9d63bc Post-merge cleanup and improvements for #655 2022-01-11 15:04:40 +01:00
mafiesto4 464ac69de6 Merge branch 'nothingTVatYT-LinuxGamepads' 2022-01-11 13:39:56 +01:00
mafiesto4 923cec3618 Merge branch 'LinuxGamepads' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-LinuxGamepads 2022-01-11 13:39:34 +01:00
mafiesto4 dc9d060ae7 Fix drag&drop on Linux with file that has spaces in a path 2022-01-11 13:38:34 +01:00
mafiesto4 dafa6bff2e Add inlined current thread id on Linux and Android 2022-01-11 13:24:53 +01:00
mafiesto4 495b309736 Merge branch 'nothingTVatYT-font-fix' 2022-01-11 12:51:38 +01:00
mafiesto4 0bff47e9a2 Merge branch 'font-fix' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-font-fix 2022-01-11 12:51:23 +01:00
mafiesto4 4486ec3b72 Add Vulkan pipeline cache serialization 2022-01-11 10:49:03 +01:00
mafiesto4 cf1af53ab8 Merge branch 'iainmckay-multiple_physics_scenes' 2022-01-10 20:14:04 +01:00
mafiesto4 8a3cfb36d0 Merge branch 'multiple_physics_scenes' of git://github.com/iainmckay/FlaxEngine into iainmckay-multiple_physics_scenes 2022-01-10 20:13:55 +01:00
mafiesto4 7dd97a2d9f Add decals spawning in editor for drag&drop 2022-01-10 17:47:10 +01:00
mafiesto4 d11166082c Add improvements for objects spawning and snapping in Editor to include object bounds 2022-01-10 17:46:53 +01:00
mafiesto4 cd72916838 Adjust mono dependency build branching for git 2022-01-10 15:20:42 +01:00
mafiesto4 f3d05cd98e Add option to throw exception in build tool process utility 2022-01-10 14:36:19 +01:00
mafiesto4 730933dd35 Fix array index of result value type in Visual Script 2022-01-10 14:20:13 +01:00
mafiesto4 5ffdbe553b Add assets loading progress to Editor status bar 2022-01-10 14:09:00 +01:00
mafiesto4 342e9d955e Fix default code editor detection in Editor to favor VSCode and Rider over system-default 2022-01-10 13:10:08 +01:00
mafiesto4 a707847067 Tweaks 2022-01-10 12:38:07 +01:00
mafiesto4 29c40f969f Revert Mono requirement info 2022-01-10 12:20:06 +01:00
mafiesto4 32de455cf7 Add docs for macOS 2022-01-10 10:42:45 +01:00
mafiesto4 fc72b8c5aa Add docs for development on macOS 2022-01-10 10:30:03 +01:00
mafiesto4 dc9e928894 Fix release build linking 2022-01-10 09:34:56 +01:00
mafiesto4 98f9561d15 Add missing mono files for Editor on Mac 2022-01-10 08:51:59 +01:00
mafiesto4 92289fccfd Tweak build 2022-01-09 20:53:20 +01:00
mafiesto4 2ca070ea3a Use recommended 3 backbuffers on MoltenVK on Mac 2022-01-09 20:12:52 +01:00
mafiesto4 959446df20 Fix for Mac 2022-01-09 20:09:00 +01:00
mafiesto4 7a32971212 Use verbose build on Mac to test output 2022-01-09 20:07:54 +01:00
mafiesto4 840c0746b3 Add initial CI for Mac 2022-01-09 19:33:38 +01:00
mafiesto4 c4b6865659 Merge branch 'master' into mac 2022-01-09 19:15:15 +01:00
mafiesto4 38b6b546c7 Fixes 2022-01-09 19:10:46 +01:00
mafiesto4 729bfcb941 Fix build 2022-01-09 18:05:52 +01:00
mafiesto4 892723c501 Fix build 2022-01-09 17:46:37 +01:00
mafiesto4 73f7688c58 Tweaks 2022-01-08 20:01:27 +01:00
mafiesto4 844fad2ced Fix crash when animation has anim events and scripting is disposed before content 2022-01-08 18:29:13 +01:00
mafiesto4 82a43dea28 Add **Animation Events** 2022-01-08 15:06:25 +01:00
mafiesto4 79200a784b Add Level::ScriptsReloadRegisterObject for easier scripting objects refreshing during hot-reload in code 2022-01-08 15:06:24 +01:00
mafiesto4 a2487c02d9 Add context menu for the timeline tracks and change signature for media context menu 2022-01-08 15:06:24 +01:00
mafiesto4 192af7ec14 Refactor native core objects to simplify usage for newcomers 2022-01-08 15:06:23 +01:00
mafiesto4 e144a6f69d Fix crash when trying to read invalid Visual Script parameter from local scope during debugging 2022-01-08 15:06:22 +01:00
mafiesto4 bbfe0446f0 Tweaks and fixes 2022-01-08 15:06:21 +01:00
mafiesto4 779e41a686 Add static assert for curve keyframes data raw serialization 2022-01-08 15:06:21 +01:00
mafiesto4 751916151a Add Loading text info for particle system and animation timelines 2022-01-08 15:06:20 +01:00
mafiesto4 f4bbf0e348 Add timeline media selection and editing to be global in sync with keyframes editors 2022-01-08 15:06:19 +01:00
mafiesto4 ff9b116522 Add ScriptingObject::NewObject utility for scripting objects spawning in C++ 2022-01-08 15:06:18 +01:00
mafiesto4 fa83869430 Add minor changes 2022-01-08 15:06:18 +01:00
mafiesto4 32c7d36fcd Tweaks 2022-01-08 15:06:17 +01:00
mafiesto4 5e9b215548 Fix crash when spawning managed object on a detached native thread 2022-01-08 15:06:16 +01:00
mafiesto4 bc521978ce Fix undo modifications notify from nested SyncPointEditor 2022-01-08 15:06:15 +01:00
mafiesto4 0f9f3905ed Add json serialization utils for objects to save/load from raw bytes 2022-01-08 15:06:15 +01:00
mafiesto4 32a73727b0 Optimize Stream includes to Array 2022-01-08 15:06:14 +01:00
mafiesto4 68d8766c56 Optimize String::ReserveSpace if length doesn't change 2022-01-08 15:06:13 +01:00
mafiesto4 0abb303e8d Add double-click to edit timeline media properties 2022-01-08 15:06:13 +01:00
mafiesto4 a83d223eec Fix mouse focus issue with Timeline background 2022-01-08 15:06:12 +01:00
mafiesto4 d202c8b864 Add mouse and keyboard input for Mac 2022-01-05 17:48:17 +01:00
mafiesto4 c34cfe5b30 Add some important splash screen quotes for Mac users 2022-01-05 17:47:48 +01:00
Iain Mckay 498040765b Fixing conflicts 2022-01-05 14:33:25 +01:00
Iain Mckay a5884a2e07 Fixing Linux build 2022-01-05 14:26:50 +01:00
Iain Mckay 2674086e0c Code review changes 2022-01-05 14:26:49 +01:00
Iain Mckay 32f225c922 Code review changes 2022-01-05 14:26:49 +01:00
Iain Mckay 77627f21f6 Code review feedback 2022-01-05 14:26:48 +01:00
Iain Mckay 87c2aefe03 Code review feedback 2022-01-05 14:26:47 +01:00
Iain Mckay a4e102672d Adds feature for creating multiple physics scenes 2022-01-05 14:26:42 +01:00
mafiesto4 dd569b9f1e Add audio support for Mac (via OpenAL soft) 2022-01-05 11:09:36 +01:00
mafiesto4 7471a819e1 Add Vulkan support for Mac (via MoltenVK) 2022-01-05 10:25:46 +01:00
mafiesto4 8874a325f7 Add more files for Mac 2022-01-03 14:00:51 +01:00
mafiesto4 ca62cd2661 Mac impl progress 2022-01-03 13:59:52 +01:00
mafiesto4 9b991bcfdf Add Editor for Mac impl progress 2021-12-31 17:12:55 +01:00
mafiesto4 45117e3445 Fix build if generated bindings file is missing 2021-12-31 17:07:35 +01:00
mafiesto4 6b3c6b6412 Add mono for Mac (both Game and Editor) 2021-12-31 16:25:50 +01:00
mafiesto4 d1e7805f7a Fix mono build for Mac to use correct min osx ver 2021-12-31 16:23:39 +01:00
mafiesto4 9df132bd77 Mac impl progress 2021-12-31 15:06:44 +01:00
mafiesto4 6b851fc9a9 Fix dylib usage on Mac with rpath and install_name 2021-12-31 14:16:27 +01:00
mafiesto4 6f4a01f6da Add FlaxTests to Mac 2021-12-31 14:15:41 +01:00
mafiesto4 cc3617b5c2 Merge branch 'controller-physics-fix' of git://github.com/xKamuna/FlaxEngine-1 into xKamuna-controller-physics-fix 2021-12-31 11:09:30 +01:00
mafiesto4 b9c7abcdf7 Merge branch 'xKamuna-master' 2021-12-31 10:02:08 +01:00
xKamuna ef40ccbe14 Fix issue with filters being ignored for two controllers colliding 2021-12-30 23:47:26 -08:00
mafiesto4 039f5f6e15 Mac impl progress 2021-12-30 16:30:38 +01:00
mafiesto4 d0d9bf751d Add deps for Mac 2021-12-30 13:06:55 +01:00
mafiesto4 6033b79471 Merge branch 'mac' of https://gitlab.flaxengine.com/flax/flaxengine into mac 2021-12-30 13:04:16 +01:00
mafiesto4 25cc8c6ab2 Implement basic windowing on Mac 2021-12-30 13:03:39 +01:00
mafiesto4 5a3138fd7b Use objective c++ instead of c++ on Mac 2021-12-30 13:03:00 +01:00
mafiesto4 a8f91fefde Update ignored files for Mac 2021-12-30 13:02:38 +01:00
mafiesto4 1f4e2ad3dd Mac impl progress 2021-12-29 22:27:14 +01:00
mafiesto4 e361ab811a Mac support progress 2021-12-29 19:43:53 +01:00
mafiesto4 0dbbdc9149 Change Mac platform impl to inherit from Unix base 2021-12-29 17:01:58 +01:00
mafiesto4 378ddc66c7 Mac impl progress 2021-12-28 18:45:40 +01:00
mafiesto4 a1ef7ddcf7 Mac support progress 2021-12-28 17:07:18 +01:00
mafiesto4 2d0633c05a Finish XCode project generation 2021-12-28 17:06:24 +01:00
mafiesto4 114cdedc9b Fix Platform Switch node typo 2021-12-28 16:16:15 +01:00
mafiesto4 22915489b7 Mac progress 2021-12-27 17:06:26 +01:00
mafiesto4 e296e94d2c Progress on XCode project generation 2021-12-27 16:43:20 +01:00
mafiesto4 7ef316f4f9 Mac impl progress 2021-12-27 16:00:26 +01:00
mafiesto4 d61eb9c096 Add setup commands for Mac 2021-12-27 14:50:02 +01:00
mafiesto4 dfaa7a92b3 Add Mac build platform detection in build tool 2021-12-27 14:46:20 +01:00
mafiesto4 d017dd14ca Add Mac platform 2021-12-27 14:04:16 +01:00
xKamuna 177696ee00 Fix blend shape offsets 2021-12-24 04:43:28 -08:00
mafiesto4 36a18a0b56 Add profile events for Editor startup 2021-12-22 16:23:53 +01:00
mafiesto4 2b5f552c2c Add profile events for Editor modules events 2021-12-22 15:41:34 +01:00
mafiesto4 ccff7a010d Optimize Toolbox tooltips for scripting types to be resolved when needed 2021-12-22 15:40:59 +01:00
mafiesto4 f295cda27a Add doc tooltips for actor types in Toolbox windows 2021-12-22 15:03:25 +01:00
mafiesto4 c72be46228 Remove automatic tooltips genration for CSharp scripting API (xml docs are used now in Editor) 2021-12-22 15:03:04 +01:00
mafiesto4 047cc38d69 Add managed assembly xml docs parsing for tooltips in Editor 2021-12-22 15:01:00 +01:00
mafiesto4 216332ff53 Add caching for code docs in Editor 2021-12-22 11:38:37 +01:00
mafiesto4 73c22b75ea Add Code Docs module for Editor tooltips 2021-12-22 10:55:42 +01:00
mafiesto4 6b9a3c58d0 Fix ComboBox regression 2021-12-22 10:52:09 +01:00
mafiesto4 ae8d6ba433 Fix color trackball usage with undo 2021-12-21 22:21:11 +01:00
mafiesto4 e778fe8342 Fix passing pointers as output pointer or reference in scripting api 2021-12-21 18:14:56 +01:00
mafiesto4 af75751bf1 Add Tab navigation for Editor UI 2021-12-21 18:14:55 +01:00
mafiesto4 c178afdf6b Add **UI navigation** system
#574
2021-12-21 18:14:54 +01:00
mafiesto4 71212420f6 Fix Github CD hanging during editor package compression 2021-12-20 19:09:18 +01:00
mafiesto4 233de2d4a4 Fix Animation timeline load/save with the latest format 2021-12-20 18:47:19 +01:00
mafiesto4 15c090126a Add option to disable timeline Media resizing by the user 2021-12-20 18:42:23 +01:00
mafiesto4 6bca60654e Add timeline media Start editing in properties popup in seconds if using this view mode 2021-12-20 18:41:42 +01:00
mafiesto4 1c34c7f293 Fix crash when creating C# object for native object at the same time on multiple threads 2021-12-16 18:58:14 +01:00
mafiesto4 3c3f2ae075 Add **Animation Slot** node for playing animations from code in Anim Graph 2021-12-16 18:57:33 +01:00
mafiesto4 6f9f2ccdc0 Dont sue xd 2021-12-16 18:56:18 +01:00
mafiesto4 821ba0ec3b Add Rectangle.Distance for distance between rectangle and a point 2021-12-14 17:00:13 +01:00
mafiesto4 fc2a7d98fa Add gamepad camera control for editor viewports 2021-12-14 16:59:20 +01:00
mafiesto4 8f51c7689f Fix missing object linkage when loading missing prefab objects during scene load 2021-12-13 17:32:02 +01:00
mafiesto4 06305a8af6 Optimize model data access during models importing 2021-12-13 17:32:01 +01:00
mafiesto4 b88ac45b53 Optimize model data access during models importing 2021-12-13 17:32:01 +01:00
mafiesto4 25c7909e30 Fix radial lights 2021-12-13 17:32:00 +01:00
mafiesto4 5f4bfa36d8 Add various usability improvements to the Editor 2021-12-13 17:31:59 +01:00
mafiesto4 793bb502f5 Fix prefab changes apply crash
#305
2021-12-13 17:31:58 +01:00
mafiesto4 58967e739a Fix import transform for skinned models
#610
2021-12-13 17:31:57 +01:00
mafiesto4 224b9b8930 Fix mono audio playback with XAudio2 2021-12-12 12:51:08 +01:00
mafiesto4 83046494a5 Fix crash 2021-12-11 23:03:37 +01:00
mafiesto4 f71dce08fc Fix scene animation warning due to missing object to be fired once per-track without a spam 2021-12-11 17:28:22 +01:00
mafiesto4 a9aaed6f33 Add support for PrefabObject tracks and automated animation instancing with UsePrefabObjects enabled 2021-12-11 17:28:21 +01:00
mafiesto4 77e1ec530b Refactor GetChildByPrefabObjectId/GetScriptByPrefabObjectId from Actor to be private 2021-12-11 17:28:20 +01:00
mafiesto4 bb674b43f9 Refactor Timeline UI to use track flags 2021-12-11 17:28:20 +01:00
mafiesto4 2ef0aabfbc Fix content finder item selection issue due to mouse leave event 2021-12-10 16:09:16 +01:00
mafiesto4 b2765533fb Add context menu and tooltip to asset items in Content Finder tool 2021-12-10 15:45:06 +01:00
mafiesto4 c23ec9935f Fix Multi Blend 1D/2D root motion extraction with blending
#678
2021-12-10 12:48:37 +01:00
mafiesto4 cb575ffe04 Fix 2021-12-10 12:48:12 +01:00
mafiesto4 d5585a30fd Fix missing root motion preview in Animation preview panels (with option to disable it) 2021-12-10 12:42:11 +01:00
mafiesto4 f1b3f71b09 Fix GUI material preview positioning in the Material window
#552
2021-12-09 17:11:21 +01:00
mafiesto4 79d393b3ef Fix HSV value adjusting in Color picker to not exceed 1
#437
2021-12-09 17:11:04 +01:00
mafiesto4 141022caf8 Add tooltips to actors in scene tree and to properties General panel header
#182
2021-12-09 17:10:34 +01:00
mafiesto4 2b1e5e4958 Fix various issues with Multi Blend 2D node 2021-12-09 17:09:31 +01:00
mafiesto4 2192852510 Fix crash when passing function with lambda to the Job System 2021-12-09 17:09:07 +01:00
mafiesto4 fcb9bbbe72 Fix showing tooltips for tree nodes in Editor 2021-12-09 17:08:39 +01:00
mafiesto4 4a8291d596 Minor fixes 2021-12-09 17:08:10 +01:00
mafiesto4 4f127761a0 Fix error on scene tree drag&drop handling change 2021-12-09 17:07:39 +01:00
mafiesto4 822d8c947e Fix navmesh update when adding/removing navmesh bounds volume
#159
2021-12-09 17:03:53 +01:00
mafiesto4 9ba845c447 Merge branch 'honzapatCZ-local' 2021-12-09 11:31:21 +01:00
mafiesto4 9c7b66ba70 Merge branch 'local' of git://github.com/honzapatCZ/FlaxEngine into honzapatCZ-local
# Conflicts:
#	Source/Editor/Windows/Assets/LocalizedStringTableWindow.cs
#	Source/Engine/Localization/Localization.cpp
#	Source/Engine/Localization/LocalizedStringTable.h
2021-12-09 11:31:06 +01:00
mafiesto4 1a001613a9 Merge branch 'GoaLitiuM-tick_fix' 2021-12-09 10:43:29 +01:00
mafiesto4 71c8fa2638 Merge branch 'tick_fix' of git://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-tick_fix 2021-12-09 10:36:10 +01:00
mafiesto4 dd92ae0ff4 Fix Windows Game build 2021-12-08 17:14:14 +01:00
mafiesto4 6d1f2e5673 Fix build tool freeze when parsing scripting header that contains invalid multi-line comment 2021-12-08 16:54:52 +01:00
mafiesto4 c35465b274 Fix minor issues 2021-12-08 16:53:44 +01:00
mafiesto4 55c015de4b Fix VolumetricFog regression from 4b9001abf2 2021-12-08 16:53:31 +01:00
mafiesto4 10c6e34e06 Add preserving selection of the created new folder in the Content window 2021-12-08 16:51:26 +01:00
mafiesto4 43531a020a Add drag&drop to prefab hierarchy panel for easier usage 2021-12-08 16:50:30 +01:00
mafiesto4 11b88cc621 Fix Windows Snap with borderless windows
#629 #676
2021-12-08 16:49:44 +01:00
mafiesto4 e09905b7f2 Update project infos and add security vulnerabilities reporting info
#677
2021-12-08 09:44:36 +01:00
mafiesto4 e9557352a0 Update copyright year in some source files 2021-12-08 09:44:10 +01:00
mafiesto4 2daec98fd7 Reuse code from Bind lambda in Function 2021-12-07 18:27:21 +01:00
mafiesto4 9ca7186e08 Merge branch 'intolerantape-MiscellaneousImprovements' 2021-12-07 18:23:33 +01:00
mafiesto4 4a191f5f6c Merge branch 'MiscellaneousImprovements' of git://github.com/intolerantape/FlaxEngine into intolerantape-MiscellaneousImprovements 2021-12-07 18:23:20 +01:00
mafiesto4 38606cb43a Add support for exporting pdb files for D3D12 shaders if debug data is enabled 2021-12-07 18:23:07 +01:00
mafiesto4 4b9001abf2 Fix spot lights rendering on D3D12 2021-12-07 18:23:06 +01:00
mafiesto4 660c8ef95c Fix audio volume and stereo on XAudio backend
#675
2021-12-07 18:23:05 +01:00
mafiesto4 1b34b3b63a Fix audio playback issues in some cases with XAudio backend
#675
2021-12-07 18:23:04 +01:00
mafiesto4 b44b8955b3 Fix depth of field blur artifacts on upper and left screen edges 2021-12-07 18:23:04 +01:00
mafiesto4 983d5dee31 Fix tree node navigation with key arrows to be more usable for deep hierarchies 2021-12-07 18:23:03 +01:00
mafiesto4 1cc26c871d Fixes for regression in tree UI layout after recent refactor 2021-12-07 18:23:02 +01:00
mafiesto4 ea71e8cbe6 Tweaks for doc comments 2021-12-07 18:23:01 +01:00
mafiesto4 c0bcb54044 Fix incorrect transformation on imported blend shapes data from fbx file
#672
2021-12-07 18:23:01 +01:00
mafiesto4 5d12554548 Fix material function usage regression 2021-12-06 19:43:36 +01:00
mafiesto4 23303802ec Add support for passing back value via reference to C# scripting event 2021-12-06 16:46:16 +01:00
mafiesto4 f4b62ce384 Add support for array initializers as default values for scripting fields 2021-12-06 16:45:03 +01:00
mafiesto4 05a37447a7 Fix reference to a pointer in TypeInfo for scripting bindings generation 2021-12-06 16:44:35 +01:00
GoaLitiuM 17311e7c9e Add some tolerance in checks against zero floating point values 2021-12-05 16:43:24 +02:00
GoaLitiuM d7d8eca9c8 Fix engine ticking to catch up faster when falling behind 2021-12-05 16:39:59 +02:00
intolerantape 25deea220c Added overload of Task::StartNew() to support void-returning member functions. 2021-12-03 07:54:08 -08:00
mafiesto4 066207e925 Fix using particle data in particle function for proper graph optimizer execution 2021-12-03 15:39:01 +01:00
mafiesto4 0471d9072b Fix missing Particle Position (world space) node for CPU particles 2021-12-03 15:38:46 +01:00
mafiesto4 1db43f079d Add implicit casting to single types from vector types in Variant 2021-12-03 15:38:35 +01:00
mafiesto4 af2c5b3429 Add batching the same function inputs in Anim Graph for better usability 2021-12-03 15:38:21 +01:00
mafiesto4 583b39fe6b Optimize Anim Graph state machine transition rule evaluation to happen before state evaluation for early rejection 2021-12-03 15:37:33 +01:00
mafiesto4 faaddccee4 Optimize StringView comparision operators 2021-12-03 15:36:04 +01:00
mafiesto4 e17b6d1625 Hide enum/structure nodes from state machine surface context menu 2021-12-03 15:35:23 +01:00
intolerantape 8d758ced15 Added a constructor for C++ Function class to support initialization directly from reference-captured lambda.
Previously, Function had to initialize reference-captured lambdas with the Bind() method.
2021-12-02 07:17:39 -08:00
intolerantape 6ed655f8c3 Implementated Math::SinCos() overload taking doubles as parameters. 2021-12-02 07:17:38 -08:00
intolerantape f05f9d5ade Made Dictionary support movable value types with deleted copy constructors. 2021-12-02 07:17:36 -08:00
mafiesto4 3e2956a7bf Fix C# bindings for Editor for Window build on Linux 2021-12-02 13:29:23 +01:00
mafiesto4 653c209567 Fixes and tweaks for C++ API reference docs generation 2021-12-02 10:13:20 +01:00
mafiesto4 aacc336c2c Fix dropdown menu item clicking 2021-12-02 09:24:25 +01:00
mafiesto4 1b3790f60e Fix regression from 74f813ed3e 2021-11-30 20:17:16 +01:00
mafiesto4 c0b4523b7b Fix editor undo for unsigned integer types 2021-11-29 19:59:21 +01:00
mafiesto4 508896b313 Fix DefaultValue attribute support in Custom Editors for unsigned integers 2021-11-29 19:58:57 +01:00
mafiesto4 0ab9f11e1d Merge remote-tracking branch 'origin/master' 2021-11-27 13:08:09 +01:00
mafiesto4 ee6c42d3b1 Merge branch 'stefnotch-patch-12' 2021-11-27 13:07:37 +01:00
mafiesto4 6edc232696 Merge branch 'patch-12' of git://github.com/stefnotch/FlaxEngine into stefnotch-patch-12 2021-11-27 13:07:30 +01:00
mafiesto4 2114002803 Cleanup xml docs 2021-11-27 13:07:21 +01:00
mafiesto4 74f813ed3e Optimize UI in Editor 2021-11-27 13:07:09 +01:00
mafiesto4 8e61cf8fe1 Fix missing blend shape data transformation on model data import 2021-11-26 12:57:53 +01:00
mafiesto4 1e034c904a Fix missing blend shape refresh for Skinned Model window preview 2021-11-26 12:57:37 +01:00
mafiesto4 af305dc376 Fix crash when model or skinned model loading fails 2021-11-24 17:42:01 +01:00
mafiesto4 7d970de5ce Add F2 shortcut for renaming item in files import dialog 2021-11-24 17:41:41 +01:00
mafiesto4 05d0e1bdcc Add Split Objects object to split imported meshes/animations into separate assets 2021-11-24 17:40:56 +01:00
stefnotch ee56ae7dac Add more info to "Cannot load scene" message
I feel like a number of people have already asked what that means. Hopefully the little "see logs" hint helps them figure it out :)
2021-11-24 17:24:15 +01:00
mafiesto4 a9c56caf84 Optimize Math.NearEqual 2021-11-23 23:17:05 +01:00
mafiesto4 4322563eed Fix crash on thread end that used Mono runtime 2021-11-23 17:26:05 +01:00
mafiesto4 136b1fc421 Fix anim graph crash regression 2021-11-23 17:25:40 +01:00
mafiesto4 be0059f0af Add ability to create an Actor by dragging it to an empty space in the Actor hierarchy window 2021-11-22 17:08:10 +01:00
mafiesto4 ff1ae0f5ed Add F11 shortcut to maximize Game window during play-mode in Editor 2021-11-22 17:07:57 +01:00
mafiesto4 62285b7b73 Fix missing collision on terrain created in play mode 2021-11-22 17:07:43 +01:00
mafiesto4 b9bdc64952 Add automatic Setup when added patches to empty terrain 2021-11-22 17:07:18 +01:00
mafiesto4 32fc3acc67 Tweaks 2021-11-22 17:06:54 +01:00
mafiesto4 fd150b3cc1 Add better log for missing GPU for Vulkan 2021-11-21 19:14:32 +01:00
mafiesto4 e8b680c78b Add ps5 changes 2021-11-21 19:02:37 +01:00
mafiesto4 d260681773 Add ps5 icon 2021-11-21 19:02:36 +01:00
mafiesto4 f88b34a15f Fix monolithic target build with native code module used by referenced plugin 2021-11-21 19:02:35 +01:00
mafiesto4 9ed7541ae7 Fix GDK platform build with VS 2022 installed 2021-11-21 19:02:34 +01:00
mafiesto4 84570ec9e0 Add Variant to string for Enums to use scripting enum items names 2021-11-19 16:48:42 +01:00
mafiesto4 f3d93a4133 Add ScriptingEnum utility with useful features for C++ scripting 2021-11-19 16:48:04 +01:00
mafiesto4 31bbd586db Add scripting enums as ScriptingType 2021-11-19 16:43:02 +01:00
mafiesto4 52d79ca15a Fixes for array nodes in Visject 2021-11-19 16:04:13 +01:00
mafiesto4 3f3d8fc494 Add more improvements to Variant and conversions with managed data 2021-11-19 16:03:55 +01:00
mafiesto4 76e4a9e7b1 Add Index output for array iterator loop 2021-11-19 16:03:04 +01:00
mafiesto4 502a67a75a Add Array constant node to Visual Script and Anim Graph 2021-11-18 16:35:46 +01:00
mafiesto4 cdcb2f8f7a Fixes and improvements 2021-11-18 16:35:46 +01:00
mafiesto4 2a2b70f83f Fix regression from d07ca3fcf4
#670
2021-11-17 21:40:07 +01:00
mafiesto4 e16c7f3ac4 Add Arrays to Visual Scripting 2021-11-17 19:58:29 +01:00
mafiesto4 649059eba1 Add better support for Arrays in Variant for C# Scripting 2021-11-17 19:49:21 +01:00
mafiesto4 5447dc9e25 Fix crash when changing mesh collider in async for not-simulated actor 2021-11-16 20:59:57 +01:00
mafiesto4 13deb4a54f Add better support for Arrays in Variant for C# Scripting 2021-11-16 20:46:04 +01:00
mafiesto4 4722b58a40 Refactor ContextMenuChildMenu to inherit from ContextMenuButton 2021-11-16 20:45:12 +01:00
mafiesto4 d33829f5eb Add option to change Visual Script parameter type 2021-11-16 20:44:18 +01:00
mafiesto4 e249fda1f2 Add Visual Script parameter access editing (public or private) 2021-11-16 16:41:38 +01:00
mafiesto4 336f4debf1 Add OnParamEdited callback to Visject surface parameters API 2021-11-16 16:38:46 +01:00
mafiesto4 d102f7f7f8 Add NodesConnected and NodesDisconnected events to Visject surface API 2021-11-16 16:38:08 +01:00
mafiesto4 4e8cf63f51 Fix Visject surface context menu to focus property the selected item 2021-11-16 16:37:19 +01:00
mafiesto4 f69055d85a Add features flags for Custom Editors presentation 2021-11-16 16:33:45 +01:00
mafiesto4 46934b086d Fix crash if texture streaming fails on different texture format on Vulkan due to fallback usage 2021-11-15 16:39:18 +01:00
mafiesto4 d39b043343 Fix for localization dashboard 2021-11-15 16:39:17 +01:00
mafiesto4 d07ca3fcf4 Add support for older Android devices that don't support R11G11B10 texture format 2021-11-15 16:39:16 +01:00
mafiesto4 80ef2befd5 Add FallbackTable for localized strings table to redirect missing texts into other language 2021-11-15 16:39:16 +01:00
mafiesto4 1107173e60 Add notification text to Editor status bar after saving to improve user awareness 2021-11-15 16:39:15 +01:00
mafiesto4 8459d7f3ad Add option to export a single localized string table to .pot file 2021-11-15 16:39:15 +01:00
mafiesto4 0797ee2a1f Add keyboard navigation for ItemsListContextMenu (used by pickers in Editor) 2021-11-15 16:39:14 +01:00
mafiesto4 6357cc6245 Fix typos 2021-11-15 16:39:13 +01:00
mafiesto4 3648f8bef2 Add Hidden attribute to scripting fields/properties/methods/events 2021-11-15 16:39:13 +01:00
mafiesto4 e81a1aac9b Add arrows navigation for Visject surface nodes 2021-11-15 16:39:12 +01:00
mafiesto4 073591aada Add bitangent vectors debugging to Model preview 2021-11-11 13:24:17 +01:00
mafiesto4 ea80992376 Fixes 2021-11-11 13:23:58 +01:00
mafiesto4 6f16195b08 Fix mesh tangent and bitangent vectors generation with OpenFBX backend by using MikkTSpace 2021-11-11 13:23:30 +01:00
mafiesto4 ac347f0029 Fix one error when pasting Visject nodes 2021-11-11 11:40:22 +01:00
mafiesto4 bbecddfde2 Fix build 2021-11-10 21:04:46 +01:00
mafiesto4 a3bb66d09e Fix build with Win11 sdk 2021-11-10 20:40:49 +01:00
mafiesto4 1f5a18ea2d Fix Linux build 2021-11-10 20:12:30 +01:00
mafiesto4 dd85cb1676 Fix Linux build 2021-11-10 19:58:47 +01:00
mafiesto4 1f09c19c8d Add support for Visual Studio 2022 in Editor 2021-11-10 19:21:56 +01:00
mafiesto4 13ab912bb4 Add support for Visual Studio 2022 in Flax.Build 2021-11-10 19:12:27 +01:00
mafiesto4 cb2ddc9472 Add custom Name property for GDK package settings 2021-11-10 00:00:02 +01:00
mafiesto4 5a0fdee09b Fix ragdoll crash on start if skinned model is not yet loaded 2021-11-09 23:53:17 +01:00
mafiesto4 35969dfd85 Fix texture refs in platform settings to be SoftObjectReferences instead of raw Guid 2021-11-09 23:52:46 +01:00
mafiesto4 c1e3db9d1d Refactor SoftObjectReference to improve usage of it 2021-11-09 23:49:32 +01:00
mafiesto4 dbdeddcd26 Add GetPixels and SetPixels to TextureBase for easier textures data editing 2021-11-09 16:27:23 +01:00
mafiesto4 e34d3285c2 Add option to automatically generate mips for textures created from code 2021-11-09 16:26:28 +01:00
mafiesto4 4c4c6e8f03 Add setter for ResidentMipLevels on GPU Texture for C# scripting 2021-11-08 00:25:20 +01:00
mafiesto4 884e7ce381 Fix error 2021-11-07 21:39:25 +01:00
mafiesto4 24e5d4635d Add Mathf.Frac 2021-11-07 21:39:09 +01:00
mafiesto4 7955a6bc35 Minor fixes 2021-11-07 20:47:29 +01:00
mafiesto4 b3eb17f61e Add Platform.Users to handle users per-platform 2021-11-07 20:46:56 +01:00
mafiesto4 21e6e8bc7b Fix crash when reading from RingBuffer if it's full 2021-11-06 20:15:01 +01:00
mafiesto4 e857ae4d24 Fix entering play mode in Editor with pause mode on start 2021-11-06 20:14:29 +01:00
mafiesto4 ddbc76cc7d Add utility SetLinearVelocity and SetAngularVelocity for a whole ragdoll 2021-11-06 13:48:53 +01:00
mafiesto4 6f68f4e5b0 Fix Get/Set field node in Visual Script to update Instance box accordingly for static fields 2021-11-06 13:48:34 +01:00
mafiesto4 22fa954716 Add error code logging to navmesh tiles adding issues 2021-11-06 13:23:24 +01:00
mafiesto4 84f78e9a15 Fix Visject param node getter breaking connection on param change to the same type 2021-11-06 13:23:05 +01:00
mafiesto4 214e626ac5 Refactor Control autofocus to be handled by control type instead of as part of base.OnMouseDown 2021-11-05 18:17:07 +01:00
mafiesto4 1c579ae69c Merge branch 'honzapatCZ-patch-9' 2021-11-05 12:40:52 +01:00
mafiesto4 fbdaa43126 Merge branch 'patch-9' of git://github.com/honzapatCZ/FlaxEngine into honzapatCZ-patch-9 2021-11-05 12:40:42 +01:00
mafiesto4 a37103af4a Fix regression from 5bd3032f78 2021-11-05 12:38:29 +01:00
mafiesto4 1f12e37412 Move mesh and skinned mesh options into shared base 2021-11-05 12:07:00 +01:00
mafiesto4 18f9d782ae Add Finished event to MeshDataCache 2021-11-05 12:06:33 +01:00
mafiesto4 e0d8a5be5d Add CollisionData.GetModelTriangle to retrieve source geometry triangle index from the raycast hit info 2021-11-05 11:49:10 +01:00
mafiesto4 3793630375 Add SuppressFaceRemapTable option for collision cooking 2021-11-05 11:48:23 +01:00
mafiesto4 5bd3032f78 Add support for passing the object reference as scripting function output result 2021-11-05 11:46:40 +01:00
mafiesto4 406102fd25 Add FaceIndex to RayCastHit 2021-11-05 11:43:46 +01:00
Nejcraft 7198539b33 Update Input.cpp 2021-11-05 00:47:51 +01:00
Nejcraft e3505a40db Fix GamepadAxis
really not sure how could this have gone unnoticed XD
2021-11-05 00:45:28 +01:00
mafiesto4 4b735a365b Fix crash when streaming texture with unsupported format by the GPU driver 2021-11-04 16:47:43 +01:00
mafiesto4 2b05b80b54 Fix running editor on older D3D10 backend 2021-11-04 16:47:19 +01:00
mafiesto4 d8775a3ae5 Add Ragdoll Editor utilities for easier ragdoll setup and editing 2021-11-04 16:23:04 +01:00
mafiesto4 79df80ad0c Add warning when using ragdoll that has joint with missing target 2021-11-04 16:11:10 +01:00
mafiesto4 b0ca1cc652 Fix crash when applying prefab that includes both removed and added objects 2021-11-04 16:00:02 +01:00
mafiesto4 568c70f2f7 Optimize physics shapes debug drawing for large scenes by using culling for colliders 2021-11-04 15:59:41 +01:00
mafiesto4 6dfedd219b Minor improvements and fixes for Editor 2021-11-04 15:59:06 +01:00
mafiesto4 d5f9e18107 Use automatic target anchor for new ragdolls to make it easier for setup 2021-11-04 12:17:52 +01:00
mafiesto4 f303b1c061 Add EnableAutoAnchor to Joint for automatic target anchor setup 2021-11-04 12:17:08 +01:00
mafiesto4 a45ecf7ec3 Add MaxDepenetrationVelocity for Ragdoll 2021-11-04 12:12:36 +01:00
mafiesto4 26e9ddc8e0 Add custom editor for Ragdoll to display the total mass 2021-11-03 19:39:22 +01:00
mafiesto4 0f997dbc75 Add automatic preserving of basic joint properties when converting between types in Editor 2021-11-03 19:35:49 +01:00
mafiesto4 837747fea2 Add options for position/velocity solver iterations config for ragdolls 2021-11-03 19:26:05 +01:00
mafiesto4 67f0056121 Fix generated DefaultValue attribute to match the field value type 2021-11-03 19:25:44 +01:00
mafiesto4 4875bfb336 Add Ragdoll support and ragdolls generation utility to Animated Model context menu 2021-11-03 19:24:59 +01:00
mafiesto4 dfb739afcf More fixes 2021-11-03 12:26:10 +01:00
mafiesto4 f6e8596e91 Add support for overriding Anim Graph output for Animated Model 2021-11-03 12:25:31 +01:00
mafiesto4 bd531aa6c2 Add Joint.SetJointOrientation utility 2021-11-03 12:24:41 +01:00
mafiesto4 fc55f6c7e9 Cleanup some code 2021-11-03 11:51:35 +01:00
mafiesto4 2ee835d23b Fix removing keys in Dictionary with string keys 2021-11-03 11:51:10 +01:00
mafiesto4 254ebd1e7f Tweaks 2021-11-03 10:45:00 +01:00
mafiesto4 5f7112a404 Add Quaternion::FromDirection to C++ 2021-11-03 10:44:12 +01:00
mafiesto4 f8e63f2994 Fix snapping rigidbodies to the floor 2021-11-02 15:16:35 +01:00
mafiesto4 62b0d19866 Refactor Rigidbody automatic mass calculation to include physical material Density 2021-11-01 21:44:09 +01:00
mafiesto4 e90f06748c Fix missing AnimatedModel pose access if it's not initialized yet 2021-10-27 20:45:02 +02:00
mafiesto4 5e6b6133ca Add Joint.SetJointLocation for easier joints setup 2021-10-27 20:37:46 +02:00
mafiesto4 fe28aa4f5e Add helper comment about CapsuleCollider height 2021-10-27 17:43:34 +02:00
mafiesto4 e25915b9d1 Fix D6Joint twist limit debug display 2021-10-27 17:43:16 +02:00
mafiesto4 b79feda477 Add ToString for some packed vector types 2021-10-27 16:38:50 +02:00
mafiesto4 76e284e2ac Fix error when using over 180 angle for joint limits 2021-10-27 12:15:35 +02:00
mafiesto4 7862fe9c38 Add physics colliders selecting in PhysicsColliders debug view 2021-10-27 12:14:32 +02:00
mafiesto4 7ca83858ab Optimize vertex buffer writing in Debug Draw 2021-10-27 11:03:08 +02:00
mafiesto4 883a829590 Fix missing copy destination offset in dynamic buffer update on D3D11 2021-10-27 10:25:07 +02:00
mafiesto4 69e2b8313b Optimize PhysicsColliders mode rendering in Editor 2021-10-27 10:23:57 +02:00
mafiesto4 39c170cb2f Attempt to implement video output modes on Vulkan 2021-10-25 23:31:45 +02:00
mafiesto4 eb04fc39ea Optimizations for Vulkan device 2021-10-25 23:31:23 +02:00
mafiesto4 cc7959a390 Add explicit operator for Color32 to Int4 2021-10-25 23:23:33 +02:00
mafiesto4 07a6e50d14 Fix custom actor options for prefab window 2021-10-25 23:23:07 +02:00
mafiesto4 b9e29520cf Fix __popcnt on MSVC only if SSE 4.2 is available 2021-10-25 10:52:13 +02:00
mafiesto4 8fdfbfdfe2 Revert 2021-10-23 16:43:18 +02:00
mafiesto4 f87544bbaf Add ScriptingTypeHandle::IsSubclassOf 2021-10-23 16:43:17 +02:00
mafiesto4 7a0e2c01d4 Add support for parsing negation in scripting api preprocessor 2021-10-23 16:43:16 +02:00
mafiesto4 8938f13a0b Add support for compiling and running engine without C# scripting
(configurable via `EngineConfiguration.UseCSharp` in Flax.Build)
2021-10-23 16:43:15 +02:00
mafiesto4 0b3d6b03ac Add helper docs 2021-10-23 16:43:14 +02:00
nothingTVatYT 7817ba24ab use a fixed font if the requested cannot be found for message boxes 2021-10-21 20:49:07 +02:00
mafiesto4 7018ada593 Merge branch 'nothingTVatYT-LinuxProcess' 2021-10-21 19:10:39 +02:00
mafiesto4 112fa7ec23 Fix code style
#659
2021-10-21 19:10:15 +02:00
mafiesto4 c3c98ad20b Merge branch 'LinuxProcess' of git://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-LinuxProcess 2021-10-21 19:04:30 +02:00
mafiesto4 3e8b45c4d9 Merge branch 'nothingTVatYT-CopyLinuxFile' 2021-10-21 18:57:37 +02:00
mafiesto4 061de0159d Merge branch 'CopyLinuxFile' of git://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-CopyLinuxFile 2021-10-21 18:57:32 +02:00
mafiesto4 8eefe76bda Fixes 2021-10-21 18:57:26 +02:00
mafiesto4 8926fa57c1 Merge branch 'nothingTVatYT-MoveLinuxFile' 2021-10-21 18:53:42 +02:00
mafiesto4 11632872d6 Merge branch 'MoveLinuxFile' of git://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-MoveLinuxFile 2021-10-21 18:53:33 +02:00
mafiesto4 e048849298 Merge branch 'nothingTVatYT-CalculateDPI' 2021-10-21 18:50:01 +02:00
mafiesto4 3194e58fb9 Merge branch 'CalculateDPI' of git://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-CalculateDPI 2021-10-21 18:49:40 +02:00
mafiesto4 14ab99595d Fix deprecated api ignoring macros on clang 2021-10-21 18:47:00 +02:00
nothingTVatYT 8d77dd9f04 Merge branch 'master' into LinuxProcess 2021-10-21 04:14:04 +02:00
nothingTVatYT 56ec927554 add LinuxProcess that supports workingDir, env and logging 2021-10-21 04:03:42 +02:00
mafiesto4 11e73e1b94 Fix RunProcess on Linux with custom working directory 2021-10-20 23:13:44 +02:00
mafiesto4 a6cd97a8d3 Fix per-instance vertex colors uploading if data is already valid 2021-10-20 23:13:44 +02:00
mafiesto4 5dbbfed654 PS5 support progress 2021-10-20 15:35:12 +02:00
mafiesto4 f91be91693 Add missing memory profiler events to Unix platforms 2021-10-20 15:35:12 +02:00
mafiesto4 ea1a47159b Fix error 2021-10-18 11:51:13 +02:00
mafiesto4 3838870b16 Add soft failing to NetworkPeer creation and INetworkDriver initialization 2021-10-18 11:50:03 +02:00
mafiesto4 8bdf417b17 Fix using object reference in Scripting API with PersistentScriptingObject 2021-10-18 11:02:37 +02:00
mafiesto4 302ec73b18 Cleanup
#651
2021-10-18 11:02:08 +02:00
mafiesto4 c7f1a2a77e Merge branch 'Erdroy-networkdriver-csharp' 2021-10-18 10:37:55 +02:00
mafiesto4 9e582120d2 Merge branch 'networkdriver-csharp' of git://github.com/Erdroy/FlaxEngine into Erdroy-networkdriver-csharp 2021-10-18 10:37:44 +02:00
nothingTVatYT ae24641e07 offset is not used 2021-10-18 04:15:07 +02:00
nothingTVatYT 94c0dad4bc optimize file copy to sendfile on Linux 2021-10-18 04:11:28 +02:00
nothingTVatYT 37f42a9234 fix MoveFile for Linux 2021-10-18 00:54:39 +02:00
nothingTVatYT 78eab24c68 fix dpi calculation for Linux and multiple screens 2021-10-18 00:38:08 +02:00
nothingTVatYT 70f999f344 add LinuxInput for Gamepad support 2021-10-18 00:27:23 +02:00
mafiesto4 be1598b1c6 Fix parting Input Settings if they have invalid data 2021-10-17 18:08:58 +02:00
mafiesto4 7660ef59ff Fixes 2021-10-17 17:41:34 +02:00
mafiesto4 25be2902ac Fixes 2021-10-17 16:01:57 +02:00
mafiesto4 a906e0c857 Add assertions to String index operator to prevent invalid memory access 2021-10-17 16:01:47 +02:00
mafiesto4 e7edbacd69 Fix invalid memory write in StringUtils::ConvertANSI2UTF16 on Unix if length is empty 2021-10-17 16:00:55 +02:00
Erdroy 2f6dee9735 Fix build errror 2021-10-14 20:52:13 +02:00
Erdroy 41e4ce7b2e Add DEPRECATED attribute to NetworkConfig::NetworkDriverType 2021-10-14 20:19:06 +02:00
Erdroy 9763199dbb Add INetworkDriver::DriverName() function 2021-10-14 20:19:06 +02:00
Erdroy e717d29401 Add NetworkDriver interface pointer to NetworkConfig 2021-10-14 20:19:05 +02:00
mafiesto4 6f84bffaad Add profiler events to shader compiler 2021-10-14 11:46:02 +02:00
mafiesto4 b17332c5ba Fix TargetViewOffset from textboxes to be hidden 2021-10-14 11:26:13 +02:00
mafiesto4 ea05fa8f69 Fix shader parsing error due to unknown macro used on shader function visibility condition 2021-10-14 11:07:42 +02:00
mafiesto4 05ebf60dba Add PRAGMA_DISABLE_DEPRECATION_WARNINGS and PRAGMA_ENABLE_DEPRECATION_WARNINGS macros 2021-10-14 11:07:12 +02:00
mafiesto4 3bb7f83729 Fix parsing DEPRECATED specifier on enums in scripting api 2021-10-14 11:06:37 +02:00
mafiesto4 6880785a72 Bump up build number 2021-10-14 11:06:09 +02:00
mafiesto4 a9989f4001 Fix Game Cooker cache when materials or particles or shaders format gets changed 2021-10-14 11:05:56 +02:00
mafiesto4 4e6fa25877 Add support for using DEPRECATED to mark scripting API as obsolete 2021-10-12 23:48:47 +02:00
mafiesto4 8610db2e63 Code style tweaks 2021-10-11 14:39:46 +02:00
mafiesto4 6dc40d0c93 Fix possible division by zero in BoundingFrustum::GetCorners
#648
2021-10-11 14:39:29 +02:00
mafiesto4 9450111ae6 Fix possible division by zero in Plane.Normalize
#648
2021-10-11 14:32:34 +02:00
mafiesto4 a013c3dd04 Fix possible crash in ReadOutputLogs
#646
2021-10-11 14:05:20 +02:00
mafiesto4 54d5cf944b Fix GPU lgihtmaps baking error 2021-10-11 14:02:56 +02:00
mafiesto4 7880bbe7ec Add missing support for some formats in TextureTool 2021-10-11 14:02:41 +02:00
mafiesto4 bcbfaa347a Disable compression for lightmaps on Linux (due to low-quality alpha encoding) 2021-10-11 14:02:14 +02:00
mafiesto4 faf266800c Add bc7enc16 encored for BC7 textures compression on Linux 2021-10-11 14:01:29 +02:00
mafiesto4 ee2c9a3970 Fix stb compilation on Windows for TextureTool 2021-10-11 13:58:46 +02:00
mafiesto4 65bee6bd0f Merge branch 'intolerantape-Minor-Changes' 2021-10-11 09:40:17 +02:00
mafiesto4 7a86c5fde2 Merge branch 'Minor-Changes' of git://github.com/intolerantape/FlaxEngine into intolerantape-Minor-Changes 2021-10-11 09:40:06 +02:00
mafiesto4 45e3da3f90 Fix compilation issues 2021-10-08 17:03:11 +02:00
mafiesto4 f3b019e4db Add additional error prevention for AssetReferencesGraphWindow loading task 2021-10-08 16:56:56 +02:00
mafiesto4 48a867ef16 Add PS5 platform defines and types 2021-10-08 16:25:16 +02:00
mafiesto4 aef024f572 Change Content loading threads count to depend on logical cores count instead of physical (set limit to 12) 2021-10-08 16:25:16 +02:00
mafiesto4 b3764d1e70 Add option *Show asset references graph* to content context menu 2021-10-08 16:25:15 +02:00
mafiesto4 5a35c4ad74 Add setter to Control.Center 2021-10-08 16:25:15 +02:00
mafiesto4 058e23f3ee Add Content.GetAllAssets to get all asset ids in project 2021-10-08 16:25:15 +02:00
mafiesto4 78e093245d Improvements for Visject Surface 2021-10-08 16:25:14 +02:00
mafiesto4 aa3a6e2766 Add option to make AssetPicker a read-only 2021-10-08 16:25:14 +02:00
mafiesto4 fa441abf5c Add option *Select actors using this asset* to content menu 2021-10-08 16:25:13 +02:00
mafiesto4 352abd1e41 Add option *Select actors using this asset* to content menu 2021-10-08 16:25:13 +02:00
mafiesto4 6d72bfe149 Add ContentItem.OnContextMenu 2021-10-08 16:25:12 +02:00
mafiesto4 babe19a3d6 Update material shaders version 2021-10-07 15:06:43 +02:00
mafiesto4 96a903afd1 Fixes 2021-10-07 15:04:48 +02:00
mafiesto4 1af5ec8492 Add Quad Overdraw debug view mode 2021-10-07 14:59:06 +02:00
mafiesto4 949766e3a0 Add GPUContext.ClearUA for buffer and texture with uint format 2021-10-07 14:17:05 +02:00
mafiesto4 f328fbefa9 Increase default UAV slots limit to 4 2021-10-07 14:16:06 +02:00
mafiesto4 88cf1bcd28 Refactor UAV slots binding when rendering from PS into UAV 2021-10-07 14:15:45 +02:00
mafiesto4 bdd2dbb719 Fix shader unction visibility parsing and add USE_EDITOR define to material shaders 2021-10-07 11:43:11 +02:00
mafiesto4 690e3ee3ca Fix error in case of opening multiple folders with Enter in Content Window 2021-10-07 10:28:31 +02:00
mafiesto4 fd8f7c76a2 Move assets 2021-10-07 10:28:14 +02:00
mafiesto4 cc29e97fa3 Fix automatic properties serialization bug 2021-10-07 09:29:50 +02:00
mafiesto4 397edf18b9 Fixes 2021-10-07 09:29:36 +02:00
mafiesto4 0bd5f63ae4 Use single color materialinstead of shader for LOD Preview 2021-10-07 09:29:22 +02:00
mafiesto4 98ca7c1726 Add Material Complexity debug view model 2021-10-07 09:28:49 +02:00
mafiesto4 c3fe366be8 Improvements and tweaks 2021-10-05 21:54:24 +02:00
mafiesto4 195aed22b5 Optimize Asset::onAssetLoaded if even is unused 2021-10-05 21:54:23 +02:00
mafiesto4 1b88f8ce3f Fix Editor crash when dragging material over CSG brush Surface
#640
2021-10-05 21:54:22 +02:00
mafiesto4 3e04a15fe5 Add Utilities::CountBits 2021-10-05 21:54:21 +02:00
mafiesto4 8f07a5285e Add TRACY_NO_INVARIANT_CHECK to all platforms 2021-10-05 21:54:20 +02:00
mafiesto4 3dff9196c2 Add LOD Preview debug view mode 2021-10-05 21:54:19 +02:00
mafiesto4 0e8987b654 Fix loading project reference with relative path in the Editor 2021-10-05 21:54:18 +02:00
mafiesto4 70ba71de79 Fix error 2021-10-05 21:54:17 +02:00
mafiesto4 77f2bd5115 Fixes 2021-10-05 15:58:45 +02:00
mafiesto4 590c75f4cb Add option to compile C#-only scripts on Linux when cooking for Windows 2021-10-05 15:56:04 +02:00
mafiesto4 a72ac91ebc Fix support for codeless game projects 2021-10-05 15:54:55 +02:00
mafiesto4 cabd06dd53 Add C++ lambda support for Function<> and Delegate<> 2021-10-05 13:07:38 +02:00
mafiesto4 32794f89c7 Fix auto-serialization for interfaces to skip it (not supported to save interface pointer) 2021-10-04 14:22:09 +02:00
mafiesto4 5e3254435f Add ScriptingObject::ToInterface and ScriptingObject::FromInterface 2021-10-04 14:21:45 +02:00
mafiesto4 fc629ff5d9 Fix restriction if using I as prefix for interface names 2021-10-04 13:31:41 +02:00
mafiesto4 41b774faf6 Fix connector node creation in Visject on double-click over node 2021-10-04 12:26:37 +02:00
mafiesto4 d88306fc1c Hide various Editor types from Visual Scripting 2021-10-04 12:26:36 +02:00
mafiesto4 e92c22585a Add support for using interfaces in Visual Scripting 2021-10-04 12:26:35 +02:00
mafiesto4 ecf926a537 Cleanup ENetDriver and use interface properly for scripting 2021-10-04 12:26:35 +02:00
mafiesto4 c3c0a4ef0d Add support for interfaces in scripting API (cross language support C++/C#/VS) 2021-10-04 12:26:08 +02:00
mafiesto4 147e5ada46 Fix headless mode in Editor on Linux without X11 2021-10-03 18:55:26 +02:00
mafiesto4 51bcaeb812 Fix crash on editor close on Linux due to FS watcher double free 2021-10-03 18:27:33 +02:00
mafiesto4 2f64312a7d Add support for kdialog for file open picker on Linux 2021-10-03 18:15:11 +02:00
intolerantape 9ee0773ab1 Moved the various Vector::Angle functions into their respective CPP files.
They didn't seem like prime candidates for inlining.
2021-09-30 13:30:55 -07:00
intolerantape f25dae2da2 Added Double3::Angle 2021-09-30 12:24:30 -07:00
intolerantape 31c92cd94c Added Double2::Angle() 2021-09-30 12:22:12 -07:00
intolerantape 06a4c30cc0 Updated Double3.h and Double3.cpp
Added a constructor with Vector3 input and cleaned up some documentation. Also fixed a parameter name and some weird extra whitespace.
2021-09-29 20:46:50 -07:00
intolerantape 6150aaaa77 Update Vector4.h
Added some missing explicit tags to Vector4 constructors to match the pattern established by other Vector types.
2021-09-29 20:46:49 -07:00
intolerantape 6657bc924b Updated Double4.h and Double4.cpp
Added a constructor with Vector4 input and cleaned up some documentation.
2021-09-29 20:46:49 -07:00
intolerantape 81390cf860 Added InverseLerp to Math.h
Ported from C#
2021-09-29 20:46:48 -07:00
intolerantape eb928091b6 Added GetForward() and GetBackward() methods to Transform class. 2021-09-29 20:46:47 -07:00
mafiesto4 6107af3cca Fix missing change 2021-09-29 18:11:00 +02:00
mafiesto4 ba8f7c5ab4 Add improvements for native interfaces usage 2021-09-29 16:33:25 +02:00
mafiesto4 b9ef09df96 Add support for creating C# scripting object inheriting directly from FlaxEngine.Object 2021-09-29 15:47:49 +02:00
mafiesto4 e2cd0393ac Add ManagedBinaryModule::FindModule utility for C# type class lookup 2021-09-29 15:46:17 +02:00
mafiesto4 fa82d818d8 Refactor default D6JointMotion for D6Joint to Locked 2021-09-29 10:07:54 +02:00
mafiesto4 050e12c756 Fix D6Joint serialization 2021-09-29 10:07:54 +02:00
mafiesto4 805f862af6 Add copy/paste for group panel with multiple custom editors nested inside 2021-09-29 10:07:53 +02:00
mafiesto4 8614e171c1 Fix joints properties ranges validation 2021-09-29 10:07:52 +02:00
mafiesto4 6ee5f5cc70 Add D6 Joint motions editing in Editor properties panel 2021-09-29 10:07:52 +02:00
mafiesto4 3d1213d669 Add improvements for joints editing with debug shapes 2021-09-29 10:07:51 +02:00
mafiesto4 5c60281814 Adjust debug shape arrow size 2021-09-29 10:07:51 +02:00
mafiesto4 2f77a94395 Add DebugDraw.DrawArc and DebugDraw.DrawWireArc 2021-09-29 10:07:50 +02:00
mafiesto4 e0aeae05be Add DebugDraw.DrawCone and DebugDraw.DrawWireCone 2021-09-29 10:07:50 +02:00
mafiesto4 640c3075e6 Add deploying FlaxEditor.pdb for Development configuration to improve crash reporting 2021-09-28 20:42:24 +02:00
mafiesto4 0a60bd1d3b Fix capturing stack trace from user native assemblies on Windows 2021-09-28 20:36:07 +02:00
mafiesto4 35b784f11d Merge branch 'ricochhet-master' 2021-09-28 20:08:38 +02:00
mafiesto4 f935678090 Merge branch 'master' of git://github.com/ricochhet/FlaxEngine into ricochhet-master 2021-09-28 20:08:27 +02:00
mafiesto4 e6ba2402b7 Add TryGetToolchain to build platform
#631
2021-09-28 20:06:26 +02:00
Ricochet 73e9e7d620 Better wording for README.md 2021-09-26 17:15:44 -05:00
Ricochet e68ccb17d9 Update README.md 2021-09-26 15:47:27 -05:00
mafiesto4 6d3170c665 Revert unwanted change 2021-09-24 20:16:03 +02:00
mafiesto4 777febc198 Tweaks 2021-09-24 16:38:26 +02:00
mafiesto4 799d79bd2f Fix crash when physics scene with only inactive vehicles 2021-09-24 13:53:44 +02:00
mafiesto4 5fe3dc6d13 Add value auto-select when focusing or clicking on input field in Editor 2021-09-24 13:14:07 +02:00
mafiesto4 c3a83a001d Add context menu for group panels in properties editor for resetting values 2021-09-24 12:55:49 +02:00
mafiesto4 4f050fe288 Fix regression for actor properties diff or default value reverting in Editor 2021-09-24 10:52:20 +02:00
mafiesto4 bbe64a517c Tweaks 2021-09-24 09:23:36 +02:00
mafiesto4 76a4d0652f Add JsonAsset::GetInstance<T> for easier access to C++ json asset data 2021-09-23 13:47:44 +02:00
mafiesto4 8d512eb1d3 Add ScriptingTypeHandle::IsAssignableFrom 2021-09-23 13:46:47 +02:00
mafiesto4 ef78d9e9ed Add support for pasting hex color values into Color properties in Editor 2021-09-23 13:27:08 +02:00
mafiesto4 257f57f926 Fix importing materials from fbx files
#628
2021-09-23 12:40:34 +02:00
mafiesto4 3976d95610 Merge branch 'intolerantape-Vector-Angle-Functions-CPP' 2021-09-23 12:22:56 +02:00
mafiesto4 d4d38e94cb Merge branch 'Vector-Angle-Functions-CPP' of git://github.com/intolerantape/FlaxEngine into intolerantape-Vector-Angle-Functions-CPP 2021-09-23 12:22:45 +02:00
mafiesto4 5519739309 Merge branch 'intolerantape-Missing-FLAXENGINE_API-Tags' 2021-09-23 12:19:54 +02:00
mafiesto4 a6459da693 Merge branch 'Missing-FLAXENGINE_API-Tags' of git://github.com/intolerantape/FlaxEngine into intolerantape-Missing-FLAXENGINE_API-Tags 2021-09-23 12:19:36 +02:00
mafiesto4 0bae7022b1 Add minor tweak 2021-09-23 10:13:30 +02:00
mafiesto4 59802246b2 Fix adding keyframe to timeline if the value won't change 2021-09-22 17:09:55 +02:00
mafiesto4 8e6c7a6194 Add live-preview option for editing scene animation
#519
2021-09-22 17:09:36 +02:00
mafiesto4 2a5a9e9581 Tweak 2021-09-22 12:39:49 +02:00
mafiesto4 aa540c014e Fix compilation for Xbox 2021-09-22 12:37:47 +02:00
mafiesto4 6f7fc3cfc6 Fix a69bf9d519c472f0f8378e6f1e061ddfe0556a4e 2021-09-21 18:23:32 +02:00
mafiesto4 e1d9fbb742 Fix some engine API to be exposed for C++ scripting 2021-09-21 18:23:31 +02:00
mafiesto4 53022ff013 Fix code quality issues detected by PVS-Studio 2021-09-21 18:23:31 +02:00
mafiesto4 9c76d0c3cb Add clamping for AA and shadows quality to prevent crashes on invalid usage 2021-09-21 18:23:30 +02:00
mafiesto4 6e08c1aac9 Add logging content database init start time 2021-09-21 18:23:29 +02:00
mafiesto4 24af916e52 Add option to delete media from Timeline
#519
2021-09-21 17:37:14 +02:00
mafiesto4 81e3b9dd6a Fix Tracy profiler client allocating memory by using OnDemand mode 2021-09-21 17:23:59 +02:00
mafiesto4 357b1c60a9 Add support for changing target actor for scene animation actor track
#519
2021-09-21 17:23:29 +02:00
mafiesto4 4d2d59617f Minor optimization 2021-09-21 17:22:45 +02:00
mafiesto4 9f18a27b0b Improve editor tooltips for actors and scripts 2021-09-21 17:22:22 +02:00
mafiesto4 0ec16de569 Add support for multiple media events on audio, postfx and camera tracks in Scene Animations
#519
2021-09-21 17:21:39 +02:00
mafiesto4 f547e44d3d Add minor UI improvements for timeline and curves editing 2021-09-20 16:54:11 +02:00
mafiesto4 38fad38b0c Add option for drawing audio clip preview with time offset 2021-09-20 16:52:59 +02:00
mafiesto4 77b0d194c7 Fix for env probes baking in Editor 2021-09-20 11:37:25 +02:00
intolerantape 134260ba52 Added Vector*::Angle functions to C++
Directly ported the C# versions of the function.
2021-09-11 06:02:11 -07:00
intolerantape 7cd6486916 Added FLAXENGINE_API tag in MField.h 2021-09-11 05:15:51 -07:00
intolerantape 8363ab8b10 Added FLAXENGINE_API tag in Exception.h 2021-09-11 05:15:50 -07:00
intolerantape 5308c42c1c Added FLAXENGINE_API tags in StateMachine.h 2021-09-11 05:15:50 -07:00
mafiesto4 628456bcc6 Fix crash with nested scene animation playback 2021-09-03 14:38:57 +02:00
mafiesto4 e321c30c1d Fix crash on NestedSceneAnimationTrack load without timeline 2021-09-03 14:31:31 +02:00
mafiesto4 1a87f2ea1a Use util for guid read 2021-09-03 14:31:15 +02:00
mafiesto4 d19d0ef0e5 Add keyframes editor to proxy keyframes from subtracks on object track
#519
2021-09-03 12:32:33 +02:00
mafiesto4 6dcc9f85c6 Fixes for timeline editing 2021-09-02 16:43:56 +02:00
mafiesto4 7ed3c61b53 Tweaks 2021-09-01 16:04:10 +02:00
mafiesto4 d7a7daa21d Merge branch 'jb-perrier-render2d-tex-tris-color' 2021-09-01 16:02:05 +02:00
mafiesto4 b20fbe20e0 Merge branch 'render2d-tex-tris-color' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-render2d-tex-tris-color 2021-09-01 16:01:56 +02:00
mafiesto4 e095bba98b Add timeline keyframes selection via timeline background 2021-09-01 15:57:15 +02:00
mafiesto4 47c95dee95 Add curve/keyframes select or copy all keyframes option 2021-09-01 15:24:37 +02:00
mafiesto4 8af5c88a53 Add timeline tracks sorting option 2021-09-01 15:16:43 +02:00
mafiesto4 86c7ad2b2c Fix Tracy even regression crash on anim graph tick 2021-09-01 14:43:51 +02:00
mafiesto4 8c9a0b2b2f Refactor Timeline impl to separate files 2021-09-01 14:43:49 +02:00
mafiesto4 adadde0aa9 Add epsilon clamping for keyframes adding in timeline 2021-09-01 14:43:48 +02:00
mafiesto4 75cc7cbc4e Adjust precision for context menu showing on curve/keyframes 2021-09-01 14:43:48 +02:00
mafiesto4 0d5fa3e125 Add copy/paste feature to keyframes and curves editors
#519
2021-09-01 14:43:47 +02:00
mafiesto4 d062601260 Add Shift for range-based selection in curve and timeline editors 2021-09-01 14:43:47 +02:00
Jean-Baptiste Perrier ad0c39e4ac Typo 2021-09-01 08:58:15 +02:00
Jean-Baptiste Perrier 19ee939c5d Add Render2D::DrawTexturedTriangles variations 2021-09-01 06:57:41 +02:00
mafiesto4 d8f72daf94 Fix rare crashes with debug draw in Game Window 2021-08-31 22:02:30 +02:00
mafiesto4 47e5be4103 Fix typo regression from e284a88da4 2021-08-31 12:06:25 +02:00
mafiesto4 3823d9a493 Fix release build 2021-08-31 10:58:16 +02:00
mafiesto4 20558be2e0 Add duplicate to track context menu 2021-08-31 10:47:25 +02:00
mafiesto4 df10581bb2 Add improved Android NDK detection and prevent exception
#614
2021-08-31 10:40:38 +02:00
mafiesto4 b29e1e9878 Bump up version number 2021-08-31 10:02:14 +02:00
mafiesto4 3e00bcca49 Merge remote-tracking branch 'origin/master' 2021-08-31 09:36:44 +02:00
mafiesto4 50bdffb381 Tweaks 2021-08-31 09:36:15 +02:00
mafiesto4 fab7bd48c5 Optimize atomic and interlocked memory operations on Win32Platform (Windows and Xbox) by inlining 2021-08-30 20:31:40 +02:00
mafiesto4 e3b98c902b Optimize CPU particles impl parts 2021-08-30 20:30:52 +02:00
mafiesto4 e284a88da4 Optimize utilities in AnimationUtils 2021-08-30 20:30:22 +02:00
mafiesto4 074aa8c3fb Optimize ThreadLocal by removing size check 2021-08-30 20:29:58 +02:00
mafiesto4 ab8e0fdd46 Fixes for SIMD.h 2021-08-30 20:27:43 +02:00
mafiesto4 2e5491604b Add more profiler events and naming for particles/animations jobs events 2021-08-30 20:24:38 +02:00
mafiesto4 5c0723832e Merge branch 'jb-perrier-double-vectors' 2021-08-30 16:44:19 +02:00
mafiesto4 18a4ba22fe Merge branch 'double-vectors' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-double-vectors 2021-08-30 16:44:11 +02:00
mafiesto4 cd2f5dc704 Merge branch 'ScottLongley-feature-contentwindow-vertical' 2021-08-30 16:38:32 +02:00
mafiesto4 ee07e3b298 Merge branch 'feature-contentwindow-vertical' of git://github.com/ScottLongley/FlaxEngine into ScottLongley-feature-contentwindow-vertical 2021-08-30 16:25:05 +02:00
mafiesto4 98776a709e Refactor GDK platform settings and tools, expose more options MicrosoftGame.config 2021-08-30 16:15:06 +02:00
mafiesto4 5d321c8c0c Add check to prevent inheriting from static or sealed class in scripting 2021-08-30 16:15:05 +02:00
mafiesto4 c69e620e04 Fixes 2021-08-30 16:15:05 +02:00
mafiesto4 2b8259eb8a Add showing Visject context menu group when it's title has a filter match 2021-08-30 16:15:04 +02:00
mafiesto4 d654d2d0ac Add PROFILE_CPU_ASSET for asset related profiler scoped zone 2021-08-28 12:49:02 +02:00
mafiesto4 610763b637 Fix custom setting loading regression 2021-08-28 12:16:13 +02:00
mafiesto4 e4cb87ea9e Fix loading null as Guid for object refs in C++ Json parser 2021-08-27 16:06:23 +02:00
mafiesto4 7f00fa4fd9 Merge remote-tracking branch 'origin/master' into gdk 2021-08-27 16:05:58 +02:00
mafiesto4 146626045f Fixes 2021-08-27 16:05:50 +02:00
mafiesto4 6b7f7c9b4b Fix packaging for engine deployment (attempt) 2021-08-26 21:24:28 +02:00
mafiesto4 05fc1b8dd1 Refactor GDK platform to be base for Xbox consoles 2021-08-26 17:28:16 +02:00
mafiesto4 d9410f9cdd Post merge fixes and cleanup
#571
2021-08-26 17:27:38 +02:00
mafiesto4 87a08a7db6 Merge branch 'honzapatCZ-xboxone' into gdk 2021-08-26 12:45:11 +02:00
mafiesto4 782d29f427 Merge branch 'xboxone' of git://github.com/honzapatCZ/FlaxEngine into honzapatCZ-xboxone 2021-08-26 12:44:53 +02:00
mafiesto4 7689db49ff Fix issue with MapTrack for actors 2021-08-26 12:40:37 +02:00
mafiesto4 e22e919099 Increase maximum window width limit to 8k 2021-08-26 12:19:38 +02:00
mafiesto4 7198fdd74a Add timeline tracks duplicating option
#519
2021-08-26 12:13:14 +02:00
mafiesto4 ba09d9111e Refactor tracks properties to public 2021-08-26 11:37:56 +02:00
mafiesto4 b85521decd Add shared selected keyframes moving ability for timeline tracks
#519
2021-08-25 15:07:53 +02:00
ScottLongley 64650367be Add Orientation option to ContentWindow 2021-08-25 20:37:16 +10:00
mafiesto4 2beb0e137b Add timeline undo actions batching 2021-08-25 10:04:29 +02:00
mafiesto4 aa75a2aeb0 Adjust curve and keyframes UI to be easier to use with a mouse
#519
2021-08-24 17:15:43 +02:00
mafiesto4 0063ec3527 Add shared rectangle selection for all timeline tracks to select keyframes
#519
2021-08-24 17:14:41 +02:00
mafiesto4 603c9fac07 Add timeline view panning with right-mouse button even over keyframes editor or curve editor 2021-08-24 12:56:36 +02:00
mafiesto4 ee3f7aeb53 Adjust curve background drawing for timeline 2021-08-24 12:15:38 +02:00
mafiesto4 4172ca39dc Fix native test compilation 2021-08-23 22:36:56 +02:00
honzapatCZ 4be0888776 fix 2021-08-23 22:35:41 +02:00
mafiesto4 6efa835898 Fixes and tweaks for Linux fs watcher 2021-08-23 22:25:04 +02:00
mafiesto4 883879a642 Merge branch 'Vittek1978-LinuxFileSystemWatcher' 2021-08-23 21:47:45 +02:00
mafiesto4 f6becb0ee5 Merge branch 'LinuxFileSystemWatcher' of git://github.com/Vittek1978/FlaxEngine into Vittek1978-LinuxFileSystemWatcher 2021-08-23 21:29:59 +02:00
Nejcraft 67d5fc6a2a Merge branch 'master' into local 2021-08-23 20:40:37 +02:00
honzapatCZ d493eb9ada localization udpates 2021-08-23 19:30:13 +02:00
mafiesto4 79b7e76777 Adjustments for timeline editing UI 2021-08-23 16:51:17 +02:00
mafiesto4 5b52e76fc9 Add ScrollBarsSize to Panel 2021-08-23 16:51:01 +02:00
mafiesto4 bbe9193686 Add resizing feature to timeline curve tracks
#519
2021-08-23 16:33:47 +02:00
mafiesto4 a04db5d4b4 Restore default behavior in TilesPanel to have no margin between items
#608
2021-08-23 14:45:59 +02:00
mafiesto4 86fa371e0b Merge branch 'ScottLongley-feature-tilespanel-margin' 2021-08-23 14:44:00 +02:00
mafiesto4 8e8cace43b Merge branch 'feature-tilespanel-margin' of git://github.com/ScottLongley/FlaxEngine into ScottLongley-feature-tilespanel-margin 2021-08-23 14:40:25 +02:00
mafiesto4 5b05c6ceaa Add scrolling timeline horizontally with Shift+Wheel
#519
2021-08-23 14:38:08 +02:00
mafiesto4 ee29a1bc91 Add preserving timeline position when zooming with a mouse wheel
#519
2021-08-23 14:37:48 +02:00
Scott Longley 8e4c023b98 Merge branch 'FlaxEngine:master' into feature-tilespanel-margin 2021-08-23 22:24:03 +10:00
ScottLongley b8c82ec47d Bounds fix 2 2021-08-23 22:17:54 +10:00
ScottLongley 96f4f676e4 Bounds fix 2021-08-23 22:06:28 +10:00
mafiesto4 c0e8488b83 Merge branch 'jb-perrier-patch-1' 2021-08-23 13:40:12 +02:00
mafiesto4 3be48c052f Merge branch 'patch-1' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-patch-1 2021-08-23 13:40:05 +02:00
mafiesto4 052366be66 Optimize audio preview rendering when zoom is very high
#519
2021-08-23 13:39:07 +02:00
mafiesto4 347eaa9d07 Optimize timeline background rendering when zoom is very high
#519
2021-08-23 13:18:41 +02:00
mafiesto4 bee117f86b Optimize Content Finder popup 2021-08-23 10:54:19 +02:00
jb-perrier 6fa1fc462f Add Ramsay quote 2021-08-23 10:27:22 +02:00
mafiesto4 ba5997683b Merge branch '1.2' 2021-08-21 13:49:15 +02:00
mafiesto4 700b561ad1 Improve rigidbody warning message 2021-08-21 12:53:23 +02:00
mafiesto4 a59aec8425 Fix suspension force offset location 2021-08-20 16:33:31 +02:00
mafiesto4 aaca4ecc69 Add wheeled vehicle tire options 2021-08-20 16:33:11 +02:00
mafiesto4 078f56febe Add vehicle telemetry logging debug option 2021-08-20 16:32:47 +02:00
mafiesto4 17f128afeb Add digital steering option for a vehicle 2021-08-20 16:23:45 +02:00
mafiesto4 aa224f6296 Fix WheeledVehicle driving and suspension raycasts 2021-08-20 15:30:01 +02:00
ScottLongley 8136d2823f Add margin to TilesPanel tile 2021-08-20 22:49:46 +10:00
mafiesto4 09e2b737f0 Fix rare crashes due to selection not being empty on play mode start 2021-08-20 10:51:27 +02:00
mafiesto4 3cb4abab0d Optimize ticking disabled vehicles 2021-08-19 16:26:49 +02:00
mafiesto4 151454db2c Fix invalid rigidbody center of mass location 2021-08-19 15:46:36 +02:00
mafiesto4 e3dac62bd9 Fix decal material normal vector blending 2021-08-19 15:22:45 +02:00
mafiesto4 9ed8621621 Fix invalid navmesh build for triggers 2021-08-19 15:00:28 +02:00
mafiesto4 d30e8c4c70 Remove redundant code 2021-08-19 14:01:54 +02:00
mafiesto4 a1bf4819cb Optimize calling Object.FindObject from C# 2021-08-19 13:06:20 +02:00
mafiesto4 39a4dab81f Fix 2021-08-19 13:06:19 +02:00
mafiesto4 a8c7705c3b Fix null values handling in C# Json serialization
It didn't replace prefab object reference if replaced with null in the prefab instance.
2021-08-19 13:06:18 +02:00
mafiesto4 4c1dbb7f8e Refactor prefab instances loading to improve refs loading between prefab objects 2021-08-19 13:06:17 +02:00
mafiesto4 066c668f6f Fix missing references to a new prefab objects inside other prefab objects when applying changes 2021-08-19 13:06:16 +02:00
mafiesto4 eab9a2c0ac Adjust scene node context menu 2021-08-19 13:06:15 +02:00
mafiesto4 7822266029 Add option to select scene asset from Scene tree window 2021-08-19 13:06:14 +02:00
mafiesto4 fff2c3e038 Fix materials parameters display issues after editing 2021-08-18 22:55:31 +02:00
mafiesto4 540643972a Fix 2021-08-18 22:09:52 +02:00
Jean-Baptiste Perrier c20ead730b Merge branch 'master' of https://github.com/FlaxEngine/FlaxEngine into double-vectors 2021-08-18 12:50:11 +02:00
Jean-Baptiste Perrier 5aaf09018f Add missing NearEqual for double 2021-08-18 12:49:53 +02:00
Jean-Baptiste Perrier c8ceb4f86b Add DoubleX constructors for VectorX 2021-08-18 12:49:38 +02:00
Jean-Baptiste Perrier e655ee6b78 Tweaks Double2 2021-08-18 12:49:12 +02:00
Jean-Baptiste Perrier 281673dd6b Add Double4 impl. cpp 2021-08-18 12:48:52 +02:00
Jean-Baptiste Perrier eedca14e6f Add Double3 impl. cpp 2021-08-18 12:48:39 +02:00
mafiesto4 66657d798a Add typename to script panel tooltip and don't inherit tooltip 2021-08-17 23:35:17 +02:00
mafiesto4 fc9e54b349 Merge branch 'stefnotch-issue-reporting' 2021-08-17 21:59:28 +02:00
stefnotch 87be58b4fa Add "show in explorer" 2021-08-17 11:33:23 +02:00
stefnotch 3808c306a0 Update issue template 2021-08-17 11:28:13 +02:00
mafiesto4 dee4537f23 Add -new command line arg to create a new project 2021-08-16 22:50:11 +02:00
mafiesto4 34132e3074 Fix context menu keyboard arrows navigation to skip disabled items 2021-08-16 22:50:10 +02:00
Erdroy bb4d94ee85 Fix ENet driver crash 2021-08-16 19:54:20 +02:00
Mariusz Wisniewski 3248dd50f9 Added LinuxFileSystemWatcher 2021-08-16 17:35:36 +02:00
mafiesto4 d68189ae3d Tweaks for native engine tests
#601
2021-08-16 12:18:11 +02:00
mafiesto4 6a055bd4c5 Merge branch 'Zbyl-string-functions-semantics' 2021-08-16 10:07:17 +02:00
mafiesto4 96ae4d4583 Merge branch 'string-functions-semantics' of git://github.com/Zbyl/FlaxEngine into Zbyl-string-functions-semantics 2021-08-16 10:06:56 +02:00
mafiesto4 6d21e2f413 Merge branch 'Zbyl-removed-unnecessary-null-terminator' 2021-08-16 09:54:51 +02:00
mafiesto4 442c0113ea Merge branch 'removed-unnecessary-null-terminator' of git://github.com/Zbyl/FlaxEngine into Zbyl-removed-unnecessary-null-terminator 2021-08-16 09:54:40 +02:00
mafiesto4 9c16cdd2d1 Merge branch 'ScottLongley-feature-looking-at' 2021-08-16 09:53:35 +02:00
mafiesto4 bc3eebdc71 Merge branch 'feature-looking-at' of git://github.com/ScottLongley/FlaxEngine into ScottLongley-feature-looking-at 2021-08-16 09:52:52 +02:00
mafiesto4 f2d235bc74 Fix Custom Editor UI regression
3cf3f58db1
2021-08-16 09:48:31 +02:00
Zbigniew Skowron b5f7c96c80 Removed unnecessary NULL terminator in RunBuildTool() to fix #402: "Copying new log after clearing partially fails" 2021-08-15 22:12:46 +02:00
Zbigniew Skowron 49524d7418 Fixed bugs in String and StringView functions (Replace, Compare, etc.). 2021-08-15 21:29:24 +02:00
Zbigniew Skowron 741714cd61 Simplified catch2.Build.cs. 2021-08-15 21:29:23 +02:00
Zbigniew Skowron 7593f9c4c4 Simplified FlaxNativeTests. 2021-08-15 20:33:00 +02:00
Zbigniew Skowron 17f0be4ad2 Added FlaxNativeTests target, with initial suite of tests for String and StingView. 2021-08-15 20:32:59 +02:00
Zbigniew Skowron def293f88b Added Catch2 library for native unit tests. 2021-08-15 20:32:58 +02:00
Zbigniew Skowron 294a4d5477 Added LinkEnvironment.LinkAsConsoleProgram flag. 2021-08-15 20:32:58 +02:00
ScottLongley 6376b83327 Add LookingAt to Actor 2021-08-15 19:48:12 +10:00
mafiesto4 775e8df752 Fix compilation 2021-08-13 15:57:10 +02:00
mafiesto4 487e04e811 Merge branch 'Zbyl-fixing-strigview-gettext-uses' 2021-08-13 14:11:28 +02:00
mafiesto4 151f551bc9 Merge branch 'fixing-strigview-gettext-uses' of git://github.com/Zbyl/FlaxEngine into Zbyl-fixing-strigview-gettext-uses 2021-08-13 13:57:02 +02:00
mafiesto4 2b0b45d2fb Merge branch 'jb-perrier-math-double' 2021-08-13 13:48:35 +02:00
mafiesto4 3c2227dfda Merge branch 'math-double' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-math-double 2021-08-13 13:48:25 +02:00
mafiesto4 2e18db7bb8 Reenable memory allocations profiling in Editor with Tracy 2021-08-13 13:44:48 +02:00
mafiesto4 bc634e9d37 Refactor Tracy source locations to be static
#597
2021-08-13 13:44:29 +02:00
mafiesto4 7fc144b07b Fix some memory leaks 2021-08-13 13:13:12 +02:00
mafiesto4 af22c7e96f Refactor DownloadIndexBuffer to return unsigned data 2021-08-13 10:06:29 +02:00
mafiesto4 f44e5fb2fe Add support for uint as triangle indices for mesh updates API 2021-08-13 10:04:44 +02:00
mafiesto4 4984ba1bb3 Add CookCollision to collision data with triangles as int32 2021-08-13 09:58:57 +02:00
Jean-Baptiste Perrier 284baed1e3 Merge branch 'master' of https://github.com/FlaxEngine/FlaxEngine into double-vectors 2021-08-12 20:49:10 +02:00
Jean-Baptiste Perrier 8f56f7fdfe Merge branch 'math-double' of https://github.com/jb-perrier/FlaxEngine into double-vectors 2021-08-12 20:49:00 +02:00
Jean-Baptiste Perrier 2d9627df33 Tweak docs 2021-08-12 19:00:41 +02:00
mafiesto4 8074bb2fbe Add SuspensionForceOffset to vehicle wheel config 2021-08-12 18:21:46 +02:00
Jean-Baptiste Perrier 8dc864d22f Add Double2 vector implementation 2021-08-12 15:21:11 +02:00
Jean-Baptiste Perrier 2948bfbed0 Backward compatibility (Mathd -> Math), fix and remove warnings. 2021-08-12 14:15:26 +02:00
mafiesto4 6e800ad7bb Increase fog properties limits 2021-08-12 14:04:52 +02:00
mafiesto4 c3b9f61b9f Fix snap to the ground to use scene graph query instead of physics only raycast 2021-08-12 13:59:30 +02:00
Jean-Baptiste Perrier ed6f857ff3 Merge branch 'master' of https://github.com/FlaxEngine/FlaxEngine into math-double 2021-08-12 13:51:19 +02:00
Jean-Baptiste Perrier 2c30f48900 Tweak 2021-08-12 13:51:06 +02:00
Jean-Baptiste Perrier 69aac09be8 Add Mathd.cs implementation 2021-08-12 13:50:34 +02:00
Jean-Baptiste Perrier b91800ad9d Use Mathd for double operation in Variant 2021-08-12 13:50:09 +02:00
Jean-Baptiste Perrier 2799136ccb Remove Double operation from Math.h 2021-08-12 13:49:47 +02:00
Jean-Baptiste Perrier 328027300d Add Mathd implementation. 2021-08-12 13:49:21 +02:00
Jean-Baptiste Perrier 3aecbd75a3 Remove unused include. 2021-08-12 13:48:45 +02:00
mafiesto4 98c43dba42 Fix window focus issue when removing actors 2021-08-12 12:51:20 +02:00
mafiesto4 299d0493b9 Optimize single undo edit action to not use wrapper 2021-08-12 11:48:52 +02:00
mafiesto4 70c729b171 Fix LocalizedString undo bug 2021-08-12 11:48:51 +02:00
mafiesto4 3cf3f58db1 Fix UI with list of null items when layout gets rebuilt at item level 2021-08-12 11:48:51 +02:00
mafiesto4 916c2733f0 Fix some problems with LocalizedString serialization in C# 2021-08-12 11:48:50 +02:00
mafiesto4 921e716715 Add safe lock 2021-08-11 19:38:26 +02:00
mafiesto4 d65a85e30c Add check to prevent double-free from native event in C# 2021-08-11 19:28:53 +02:00
mafiesto4 622951c6be Remove insecure autoInitialize option from scenes loading 2021-08-11 18:55:33 +02:00
mafiesto4 799c4a4f17 Remove whitespaces 2021-08-10 19:33:55 +02:00
mafiesto4 a497ef9d6f Fix timeline background stops drawing to be ore readable
#519
2021-08-10 17:35:27 +02:00
mafiesto4 125d1aa08c Add Zoom value box to timeline view context menu 2021-08-10 17:27:44 +02:00
mafiesto4 9a522615e5 Add support for changing scenes via Editor during play mode 2021-08-10 16:32:24 +02:00
mafiesto4 3115643397 Add option to Scene context menu to unload it 2021-08-10 16:32:00 +02:00
mafiesto4 27f2856e6d Optimize FindObject and TryFindObject in Object 2021-08-10 15:57:22 +02:00
mafiesto4 62c43f9f95 Add helper tooltips for Scene Animation actions UI 2021-08-10 13:54:22 +02:00
mafiesto4 c1b2fc19c1 Add better timeline UI positioning for improved viewport navigation 2021-08-10 13:29:42 +02:00
mafiesto4 94b4c20b35 Add timeline view panning with right mouse button 2021-08-10 13:29:12 +02:00
Zbigniew Skowron bd70e53806 Fixed StringView::GetText() related issued pointed out in review. 2021-08-09 22:21:38 +02:00
mafiesto4 e4bd5c7251 Add Engine.HasGameViewportFocus to C# API 2021-08-09 15:24:39 +02:00
mafiesto4 64813c1c70 Add caching ShowGUI and ShowDebugDraw in Game window 2021-08-09 15:22:29 +02:00
mafiesto4 623f981bc1 Fix car wheel location by applying compression of the suspension spring 2021-08-09 15:22:10 +02:00
mafiesto4 09c11250b4 Add options for vehicle wheel suspension configuration and state 2021-08-09 14:35:22 +02:00
mafiesto4 fd01d37002 Add helper parent actor of missing object logging to HandleObjectDeserializationError 2021-08-09 12:12:56 +02:00
mafiesto4 f68321c9f5 Fix pasting actors if cannot spawn a object (eg. type missing) to still paste valid objects 2021-08-09 12:12:32 +02:00
mafiesto4 9a590ae484 Fix actor renaming on paste to keep previous name if can 2021-08-09 11:59:08 +02:00
Zbigniew Skowron aecc81f5e5 Fixed many invalid uses of StringView::GetText(), where a null-terminated string was required.
Renamed GetText() to GetNonTerminatedText() to reduce chance of same bugs appearing in the future.
2021-08-09 00:29:19 +02:00
honzapatCZ c17d86a134 removal of old XboxOneStuff 2021-07-21 15:10:39 +02:00
3927 changed files with 173430 additions and 50956 deletions
+39
View File
@@ -0,0 +1,39 @@
name: Install Vulkan SDK
description: Downloads and installs Vulkan SDK.
inputs:
vulkan-version:
description: 'Vulkan SDK release version (e.g. 1.2.198.1).'
default: '1.2.198.1'
required: false
runs:
using: "composite"
steps:
- name: Install Vulkan SDK
shell: bash
run: |
export VULKAN_SDK_VER=${{ inputs.vulkan-version }}
echo VULKAN_SDK_VER=$VULKAN_SDK_VER >> $GITHUB_ENV
echo "Downloading Vulkan SDK version $VULKAN_SDK_VER"
case `uname -s` in
Linux)
export VULKAN_SDK_ROOT=`pwd`/../VulkanSDK
wget "https://sdk.lunarg.com/sdk/download/$VULKAN_SDK_VER/linux/vulkan-sdk.tar.gz" --no-verbose -O vulkan-sdk.tar.gz
mkdir $VULKAN_SDK_ROOT
tar -xf vulkan-sdk.tar.gz -C $VULKAN_SDK_ROOT
export VULKAN_SDK=$VULKAN_SDK_ROOT/$VULKAN_SDK_VER/x86_64
;;
Darwin)
export VULKAN_SDK_ROOT=`pwd`/../VulkanSDK
curl -LO "https://sdk.lunarg.com/sdk/download/$VULKAN_SDK_VER/mac/vulkan-sdk.dmg"
hdiutil attach vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk
sudo "/Volumes/vulkan-sdk/InstallVulkan.app/Contents/MacOS/InstallVulkan" --root $VULKAN_SDK_ROOT --accept-licenses --default-answer --confirm-command install
export VULKAN_SDK=$VULKAN_SDK_ROOT/macOS
;;
*) # Windows
curl -L -o vulkan-sdk.exe https://sdk.lunarg.com/sdk/download/$VULKAN_SDK_VER/windows/VulkanSDK-$VULKAN_SDK_VER-Installer.exe
./vulkan-sdk.exe --root "C:\VulkanSDK" --accept-licenses --default-answer --confirm-command install
export VULKAN_SDK="C:\VulkanSDK"
;;
esac
echo VULKAN_SDK=$VULKAN_SDK >> $GITHUB_ENV
echo "Vulkan SDK installed to $VULKAN_SDK"
+21
View File
@@ -0,0 +1,21 @@
name: Build Android
on: [push, pull_request]
jobs:
# Game
game-windows:
name: Game (Android, Release ARM64)
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Build
run: |
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -arch=ARM64 -platform=Android -configuration=Release -buildtargets=FlaxGame
+11 -7
View File
@@ -9,17 +9,19 @@ jobs:
runs-on: "ubuntu-20.04"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Checkout LFS
run: |
git lfs version
git lfs pull
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo rm -f /etc/apt/sources.list.d/*
sudo cp -f .github/workflows/build_linux_sources.list /etc/apt/sources.list
sudo apt-get update
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Build
run: |
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Development -buildtargets=FlaxEditor
@@ -29,11 +31,13 @@ jobs:
name: Game (Linux, Release x64)
runs-on: "ubuntu-20.04"
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
run: |
git lfs version
+38
View File
@@ -0,0 +1,38 @@
name: Build macOS
on: [push, pull_request]
jobs:
# Editor
editor-mac:
name: Editor (Mac, Development x64)
runs-on: "macos-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Build
run: |
./Development/Scripts/Mac/CallBuildTool.sh -build -log -arch=x64 -platform=Mac -configuration=Development -buildtargets=FlaxEditor
# Game
game-mac:
name: Game (Mac, Release x64)
runs-on: "macos-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Build
run: |
./Development/Scripts/Mac/CallBuildTool.sh -build -log -arch=x64 -platform=Mac -configuration=Release -buildtargets=FlaxGame
+8 -4
View File
@@ -6,10 +6,12 @@ jobs:
# Editor
editor-windows:
name: Editor (Windows, Development x64)
runs-on: "windows-latest"
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
run: |
git lfs version
@@ -21,10 +23,12 @@ jobs:
# Game
game-windows:
name: Game (Windows, Release x64)
runs-on: "windows-latest"
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
run: |
git lfs version
+61 -11
View File
@@ -9,42 +9,46 @@ jobs:
# Windows
package-windows-editor:
name: Editor (Windows)
runs-on: "windows-latest"
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Build
run: |
.\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Windows-Editor
path: Output/Editor.zip
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Windows-EditorDebugSymbols
path: Output/EditorDebugSymbols.zip
package-windows-game:
name: Game (Windows)
runs-on: "windows-latest"
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Build
run: |
.\PackagePlatforms.bat -arch=x64 -platform=Windows -deployOutput=Output
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Windows-Game
path: Output/Windows.zip
@@ -55,7 +59,7 @@ jobs:
runs-on: "ubuntu-20.04"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
@@ -66,11 +70,13 @@ jobs:
sudo cp -f .github/workflows/build_linux_sources.list /etc/apt/sources.list
sudo apt-get update
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Build
run: |
./PackageEditor.sh -arch=x64 -platform=Linux -deployOutput=Output
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Linux-Editor
path: Output/FlaxEditorLinux.zip
@@ -79,7 +85,7 @@ jobs:
runs-on: "ubuntu-20.04"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
@@ -90,11 +96,55 @@ jobs:
sudo cp -f .github/workflows/build_linux_sources.list /etc/apt/sources.list
sudo apt-get update
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Build
run: |
./PackagePlatforms.sh -arch=x64 -platform=Linux -deployOutput=Output
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Linux-Game
path: Output/Linux.zip
# Mac
package-mac-editor:
name: Editor (Mac)
runs-on: "macos-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Build
run: |
./PackageEditor.command -arch=x64 -platform=Mac -deployOutput=Output
- name: Upload
uses: actions/upload-artifact@v3
with:
name: Mac-Editor
path: Output/FlaxEditorMac.zip
package-mac-game:
name: Game (Mac)
runs-on: "macos-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Build
run: |
./PackagePlatforms.command -arch=x64 -platform=Mac -deployOutput=Output
- name: Upload
uses: actions/upload-artifact@v3
with:
name: Mac-Game
path: Output/Mac.zip
+62
View File
@@ -0,0 +1,62 @@
name: Tests
on: [push, pull_request]
jobs:
# Tests on Linux
tests-linux:
name: Tests (Linux)
runs-on: "ubuntu-20.04"
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Install dependencies
run: |
sudo rm -f /etc/apt/sources.list.d/*
sudo cp -f .github/workflows/build_linux_sources.list /etc/apt/sources.list
sudo apt-get update
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev
- name: Build
run: |
./GenerateProjectFiles.sh -vs2019
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Development -buildtargets=FlaxTestsTarget
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Debug -buildtargets=FlaxEditor -BuildBindingsOnly
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Debug -buildtargets="FlaxEngine.Tests"
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Debug -buildtargets="Flax.Build.Tests"
- name: Test
run: |
Binaries/Editor/Linux/Development/FlaxTests
mono Source/Platforms/DotNet/NUnit/nunit3-console.exe Binaries/Tools/FlaxEngine.Tests.dll --framework=mono-4.0
mono Source/Platforms/DotNet/NUnit/nunit3-console.exe Binaries/Tools/Flax.Build.Tests.dll --framework=mono-4.0
- name: Test UseLargeWorlds
run: |
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Development -buildtargets=FlaxTestsTarget -UseLargeWorlds=true
Binaries/Editor/Linux/Development/FlaxTests
# Tests on Windows
tests-windows:
name: Tests (Windows)
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Build
run: |
.\GenerateProjectFiles.bat -vs2019
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxTestsTarget
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -arch=x64 -platform=Windows -configuration=Debug -buildtargets=FlaxEditor -BuildBindingsOnly
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -arch=x64 -platform=Windows -configuration=Debug -buildtargets="FlaxEngine.Tests"
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -arch=x64 -platform=Windows -configuration=Debug -buildtargets="Flax.Build.Tests"
- name: Test
run: |
Binaries\Editor\Win64\Development\FlaxTests.exe
Source\Platforms\DotNet\NUnit\nunit3-console.exe Binaries\Tools\FlaxEngine.Tests.dll --framework=net-4.5.2
Source\Platforms\DotNet\NUnit\nunit3-console.exe Binaries\Tools\Flax.Build.Tests.dll --framework=net-4.5.2
+6 -1
View File
@@ -10,6 +10,8 @@ Source/*.csproj
/Package_*/
!Source/Engine/Debug
/Source/Platforms/Editor/Linux/Mono/etc/mono/registry
PackageEditor_Cert.bat
PackagePlatforms_Cert.bat
# User-specific files
*.suo
@@ -19,6 +21,8 @@ Source/*.csproj
*.tlog
*.lastbuilddate
*.opendb
*.DS_Store
*.xcodeproj
# NUNIT
*.VisualState.xml
@@ -146,5 +150,6 @@ bin/
obj/
*.vcxproj.filters
.vscode/
.idea/
*.code-workspace
omnisharp.json
+6
View File
@@ -38,6 +38,12 @@ Instances of abusive, harassing, or otherwise unacceptable behavior may be repor
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
## Contribution
Using Flax source code is strictly governed by the Flax Engine End User License Agreement. If you don't agree to those terms, as amended from time to time, you are not permitted to access or use Flax Engine.
We welcome any contributions to Flax Engine development through pull requests on GitHub. Most of our active development is in the master branch, so we prefer to take pull requests there (particularly for new features). We try to make sure that all new code adheres to the Flax coding standards. All contributions are governed by the terms of the [EULA](https://flaxengine.com/licensing/).
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -2,6 +2,7 @@
// Version: @0
#define MATERIAL 1
#define USE_PER_VIEW_CONSTANTS 1
@3
#include "./Flax/Common.hlsl"
@@ -10,17 +11,9 @@
@7
// Primary constant buffer (with additional material parameters)
META_CB_BEGIN(0, Data)
float4x4 ViewProjectionMatrix;
float4x4 WorldMatrix;
float4x4 ViewMatrix;
float4x4 InvWorld;
float4x4 SVPositionToWorld;
float3 ViewPos;
float ViewFar;
float3 ViewDir;
float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
@1META_CB_END
// Use depth buffer for per-pixel decal layering
@@ -2,6 +2,7 @@
// Version: @0
#define MATERIAL 1
#define USE_PER_VIEW_CONSTANTS 1
@3
#include "./Flax/Common.hlsl"
#include "./Flax/MaterialCommon.hlsl"
@@ -9,23 +10,14 @@
@7
// Primary constant buffer (with additional material parameters)
META_CB_BEGIN(0, Data)
float4x4 ViewProjectionMatrix;
float4x4 WorldMatrix;
float4x4 LocalMatrix;
float4x4 ViewMatrix;
float3 ViewPos;
float ViewFar;
float3 ViewDir;
float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
float3 Dummy0;
float WorldDeterminantSign;
float MeshMinZ;
float Segment;
float ChunksPerSegment;
float PerInstanceRandom;
float4 TemporalAAJitter;
float3 GeometrySize;
float MeshMaxZ;
@1META_CB_END
@@ -374,4 +366,18 @@ void PS_Depth(PixelInput input)
#endif
}
#if _PS_QuadOverdraw
#include "./Flax/Editor/QuadOverdraw.hlsl"
// Pixel Shader function for Quad Overdraw Pass (editor-only)
[earlydepthstencil]
META_PS(USE_EDITOR, FEATURE_LEVEL_SM5)
void PS_QuadOverdraw(float4 svPos : SV_Position, uint primId : SV_PrimitiveID)
{
DoQuadOverdraw(svPos, primId);
}
#endif
@9
@@ -25,7 +25,7 @@ void PS_GBuffer(
#endif
)
{
Light = 0;
Light = float4(0, 0, 0, 1);
#if USE_DITHERED_LOD_TRANSITION
// LOD masking
@@ -40,7 +40,7 @@ void PS_GBuffer(
#if MATERIAL_MASKED
clip(material.Mask - MATERIAL_MASK_THRESHOLD);
#endif
#if USE_LIGHTMAP
float3 diffuseColor = GetDiffuseColor(material.Color, material.Metalness);
float3 specularColor = GetSpecularColor(material.Color, material.Specular, material.Metalness);
@@ -6,6 +6,10 @@
#include "./Flax/LightingCommon.hlsl"
#if USE_REFLECTIONS
#include "./Flax/ReflectionsCommon.hlsl"
#define MATERIAL_REFLECTIONS_SSR 1
#if MATERIAL_REFLECTIONS == MATERIAL_REFLECTIONS_SSR
#include "./Flax/SSR.hlsl"
#endif
#endif
#include "./Flax/Lighting.hlsl"
#include "./Flax/ShadowsSampling.hlsl"
@@ -29,9 +33,12 @@ DECLARE_LIGHTSHADOWDATA_ACCESS(DirectionalLightShadow);
// Pixel Shader function for Forward Pass
META_PS(USE_FORWARD, FEATURE_LEVEL_ES2)
float4 PS_Forward(PixelInput input) : SV_Target0
void PS_Forward(
in PixelInput input
,out float4 output : SV_Target0
)
{
float4 output = 0;
output = 0;
#if USE_DITHERED_LOD_TRANSITION
// LOD masking
@@ -93,9 +100,34 @@ float4 PS_Forward(PixelInput input) : SV_Target0
light += GetLighting(ViewPos, localLight, gBuffer, shadowMask, true, isSpotLight);
}
#if USE_REFLECTIONS
// Calculate lighting from Global Illumination
#if USE_GI
light += GetGlobalIlluminationLighting(gBuffer);
#endif
// Calculate reflections
light.rgb += GetEnvProbeLighting(ViewPos, EnvProbe, EnvironmentProbe, gBuffer) * light.a;
#if USE_REFLECTIONS
float3 reflections = SampleReflectionProbe(ViewPos, EnvProbe, EnvironmentProbe, gBuffer.WorldPos, gBuffer.Normal, gBuffer.Roughness).rgb;
#if MATERIAL_REFLECTIONS == MATERIAL_REFLECTIONS_SSR
// Screen Space Reflections
Texture2D sceneDepthTexture = MATERIAL_REFLECTIONS_SSR_DEPTH; // Material Generator inserts depth and color buffers and plugs it via internal define
Texture2D sceneColorTexture = MATERIAL_REFLECTIONS_SSR_COLOR;
float2 screenUV = materialInput.SvPosition.xy * ScreenSize.zw;
float stepSize = ScreenSize.z; // 1 / screenWidth
float maxSamples = 48;
float worldAntiSelfOcclusionBias = 0.1f;
float brdfBias = 0.82f;
float drawDistance = 5000.0f;
float3 hit = TraceScreenSpaceReflection(screenUV, gBuffer, sceneDepthTexture, ViewPos, ViewMatrix, ViewProjectionMatrix, stepSize, maxSamples, false, 0.0f, worldAntiSelfOcclusionBias, brdfBias, drawDistance);
if (hit.z > 0)
{
float3 screenColor = sceneColorTexture.SampleLevel(SamplerPointClamp, hit.xy, 0).rgb;
reflections = lerp(reflections, screenColor, hit.z);
}
#endif
light.rgb += reflections * GetReflectionSpecularLighting(ViewPos, gBuffer) * light.a;
#endif
// Add lighting (apply ambient occlusion)
@@ -119,6 +151,4 @@ float4 PS_Forward(PixelInput input) : SV_Target0
#endif
#endif
return output;
}
@@ -0,0 +1,23 @@
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
@0// Global Illumination: Defines
#define USE_GI 1
@1// Global Illumination: Includes
#include "./Flax/GI/DDGI.hlsl"
#include "./Flax/LightingCommon.hlsl"
@2// Global Illumination: Constants
DDGIData DDGI;
@3// Global Illumination: Resources
Texture2D<snorm float4> ProbesState : register(t__SRV__);
Texture2D<float4> ProbesDistance : register(t__SRV__);
Texture2D<float4> ProbesIrradiance : register(t__SRV__);
@4// Global Illumination: Utilities
float4 GetGlobalIlluminationLighting(GBufferSample gBuffer)
{
float3 irradiance = SampleDDGIIrradiance(DDGI, ProbesState, ProbesDistance, ProbesIrradiance, gBuffer.WorldPos, gBuffer.Normal);
float3 diffuseColor = GetDiffuseColor(gBuffer);
float3 diffuse = Diffuse_Lambert(diffuseColor);
return float4(diffuse * irradiance, saturate(length(irradiance)));
}
@5// Global Illumination: Shaders
@@ -5,6 +5,7 @@
#include "./Flax/Common.hlsl"
#include "./Flax/GBufferCommon.hlsl"
#include "./Flax/Matrix.hlsl"
#include "./Flax/Noise.hlsl"
@7
// Primary constant buffer
META_CB_BEGIN(0, Data)
@@ -62,68 +63,6 @@ float Rand(inout uint seed)
return asfloat((seed >> 9) | 0x3f800000) - 1.0f;
}
float4 Mod289(float4 x)
{
return x - floor(x * (1.0 / 289.0)) * 289.0;
}
float4 Perm(float4 x)
{
return Mod289(((x * 34.0) + 1.0) * x);
}
float Noise(float3 p)
{
float3 a = floor(p);
float3 d = p - a;
d = d * d * (3.0 - 2.0 * d);
float4 b = a.xxyy + float4(0.0, 1.0, 0.0, 1.0);
float4 k1 = Perm(b.xyxy);
float4 k2 = Perm(k1.xyxy + b.zzww);
float4 c = k2 + a.zzzz;
float4 k3 = Perm(c);
float4 k4 = Perm(c + 1.0);
float4 o1 = frac(k3 * (1.0 / 41.0));
float4 o2 = frac(k4 * (1.0 / 41.0));
float4 o3 = o2 * d.z + o1 * (1.0 - d.z);
float2 o4 = o3.yw * d.x + o3.xz * (1.0 - d.x);
return o4.y * d.y + o4.x * (1.0 - d.y);
}
float3 Noise3D(float3 p)
{
float o = Noise(p);
float a = Noise(p + float3(0.0001f, 0.0f, 0.0f));
float b = Noise(p + float3(0.0f, 0.0001f, 0.0f));
float c = Noise(p + float3(0.0f, 0.0f, 0.0001f));
float3 grad = float3(o - a, o - b, o - c);
float3 other = abs(grad.zxy);
return normalize(cross(grad,other));
}
float3 Noise3D(float3 position, int octaves, float roughness)
{
float weight = 0.0f;
float3 noise = float3(0.0, 0.0, 0.0);
float scale = 1.0f;
for (int i = 0; i < octaves; i++)
{
float curWeight = pow((1.0-((float)i / octaves)), lerp(2.0, 0.2, roughness));
noise += Noise3D(position * scale) * curWeight;
weight += curWeight;
scale *= 1.72531;
}
return noise / weight;
}
// Reprojects the world space position from the given UV and raw device depth
float3 ReprojectPosition(float2 uv, float rawDepth)
{
@@ -19,6 +19,7 @@ float3 ViewDir;
float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
float4 ViewSize;
@1META_CB_END
// Shader resources
@@ -2,9 +2,8 @@
// Version: @0
#define MATERIAL 1
#define USE_PER_VIEW_CONSTANTS 1
@3
// Ribbons don't use sorted indices so overlap the segment distances buffer on the slot
#define HAS_SORTED_INDICES (!defined(_VS_Ribbon))
#include "./Flax/Common.hlsl"
#include "./Flax/MaterialCommon.hlsl"
@@ -17,17 +16,17 @@ struct SpriteInput
float2 TexCoord : TEXCOORD;
};
struct RibbonInput
{
uint Order : TEXCOORD0;
uint ParticleIndex : TEXCOORD1;
uint PrevParticleIndex : TEXCOORD2;
float Distance : TEXCOORD3;
};
// Primary constant buffer (with additional material parameters)
META_CB_BEGIN(0, Data)
float4x4 ViewProjectionMatrix;
float4x4 WorldMatrix;
float4x4 ViewMatrix;
float3 ViewPos;
float ViewFar;
float3 ViewDir;
float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
uint SortedIndicesOffset;
float PerInstanceRandom;
int ParticleStride;
@@ -52,13 +51,8 @@ float4x4 WorldMatrixInverseTransposed;
// Particles attributes buffer
ByteAddressBuffer ParticlesData : register(t0);
#if HAS_SORTED_INDICES
// Sorted particles indices
Buffer<uint> SortedIndices : register(t1);
#else
// Ribbon particles segments distances buffer
Buffer<float> SegmentDistances : register(t1);
#endif
// Shader resources
@2
@@ -76,8 +70,8 @@ struct VertexOutput
#if USE_CUSTOM_VERTEX_INTERPOLATORS
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT] : TEXCOORD9;
#endif
float3 InstanceOrigin : TEXCOORD6;
float InstanceParams : TEXCOORD7; // x-PerInstanceRandom
nointerpolation float3 InstanceOrigin : TEXCOORD6;
nointerpolation float InstanceParams : TEXCOORD7; // x-PerInstanceRandom
};
// Interpolants passed to the pixel shader
@@ -94,8 +88,8 @@ struct PixelInput
#if USE_CUSTOM_VERTEX_INTERPOLATORS
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT] : TEXCOORD9;
#endif
float3 InstanceOrigin : TEXCOORD6;
float InstanceParams : TEXCOORD7; // x-PerInstanceRandom
nointerpolation float3 InstanceOrigin : TEXCOORD6;
nointerpolation float InstanceParams : TEXCOORD7; // x-PerInstanceRandom
bool IsFrontFace : SV_IsFrontFace;
};
@@ -327,13 +321,11 @@ VertexOutput VS_Sprite(SpriteInput input, uint particleIndex : SV_InstanceID)
{
VertexOutput output;
#if HAS_SORTED_INDICES
// Sorted particles mapping
if (SortedIndicesOffset != 0xFFFFFFFF)
{
particleIndex = SortedIndices[SortedIndicesOffset + particleIndex];
}
#endif
// Read particle data
float3 particlePosition = GetParticleVec3(particleIndex, PositionOffset);
@@ -464,13 +456,11 @@ VertexOutput VS_Model(ModelInput input, uint particleIndex : SV_InstanceID)
{
VertexOutput output;
#if HAS_SORTED_INDICES
// Sorted particles mapping
if (SortedIndicesOffset != 0xFFFFFFFF)
{
particleIndex = SortedIndices[SortedIndicesOffset + particleIndex];
}
#endif
// Read particle data
float3 particlePosition = GetParticleVec3(particleIndex, PositionOffset);
@@ -573,12 +563,16 @@ VertexOutput VS_Model(ModelInput input, uint particleIndex : SV_InstanceID)
// Vertex Shader function for Ribbon Rendering
META_VS(true, FEATURE_LEVEL_ES2)
VertexOutput VS_Ribbon(uint vertexIndex : SV_VertexID)
META_VS_IN_ELEMENT(TEXCOORD, 0, R32_UINT, 0, 0, PER_VERTEX, 0, true)
META_VS_IN_ELEMENT(TEXCOORD, 1, R32_UINT, 0, ALIGN, PER_VERTEX, 0, true)
META_VS_IN_ELEMENT(TEXCOORD, 2, R32_UINT, 0, ALIGN, PER_VERTEX, 0, true)
META_VS_IN_ELEMENT(TEXCOORD, 3, R32_FLOAT, 0, ALIGN, PER_VERTEX, 0, true)
VertexOutput VS_Ribbon(RibbonInput input, uint vertexIndex : SV_VertexID)
{
VertexOutput output;
// Get particle data
uint particleIndex = vertexIndex / 2;
uint particleIndex = input.ParticleIndex;
int vertexSign = (((int)vertexIndex & 0x1) * 2) - 1;
float3 position = GetParticlePosition(particleIndex);
float ribbonWidth = RibbonWidthOffset != -1 ? GetParticleFloat(particleIndex, RibbonWidthOffset) : 20.0f;
@@ -586,15 +580,13 @@ VertexOutput VS_Ribbon(uint vertexIndex : SV_VertexID)
// Calculate ribbon direction
float3 direction;
if (particleIndex == 0)
if (input.Order == 0)
{
float3 nextParticlePos = GetParticlePosition(particleIndex + 1);
direction = nextParticlePos - position;
direction = GetParticlePosition(input.PrevParticleIndex) - position;
}
else
{
float3 previousParticlePos = GetParticlePosition(particleIndex - 1);
direction = position - previousParticlePos;
direction = position - GetParticlePosition(input.PrevParticleIndex);
}
// Calculate particle orientation (tangent vectors)
@@ -611,19 +603,16 @@ VertexOutput VS_Ribbon(uint vertexIndex : SV_VertexID)
}
// Calculate texture coordinates
float texCoordU;
#ifdef _VS_Ribbon
if (RibbonUVTilingDistance != 0.0f)
{
texCoordU = SegmentDistances[particleIndex] / RibbonUVTilingDistance;
output.TexCoord.x = input.Distance / RibbonUVTilingDistance;
}
else
#endif
{
texCoordU = (float)particleIndex / RibbonSegmentCount;
output.TexCoord.x = (float)input.Order / (float)RibbonSegmentCount;
}
float texCoordV = (vertexIndex + 1) & 0x1;
output.TexCoord = float2(texCoordU, texCoordV) * RibbonUVScale + RibbonUVOffset;
output.TexCoord.y = (vertexIndex + 1) & 0x1;
output.TexCoord = output.TexCoord * RibbonUVScale + RibbonUVOffset;
// Compute world space vertex position
output.WorldPosition = position + tangentRight * vertexSign * (ribbonWidth.xxx * 0.5f);
@@ -694,4 +683,18 @@ void PS_Depth(PixelInput input)
#endif
}
#if _PS_QuadOverdraw
#include "./Flax/Editor/QuadOverdraw.hlsl"
// Pixel Shader function for Quad Overdraw Pass (editor-only)
[earlydepthstencil]
META_PS(USE_EDITOR, FEATURE_LEVEL_SM5)
void PS_QuadOverdraw(float4 svPos : SV_Position, uint primId : SV_PrimitiveID)
{
DoQuadOverdraw(svPos, primId);
}
#endif
@9
@@ -18,6 +18,7 @@ float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
float4 TemporalAAJitter;
float4x4 InverseViewProjectionMatrix;
@1META_CB_END
// Shader resources
@@ -62,6 +63,14 @@ MaterialInput GetMaterialInput(PixelInput input)
return result;
}
// Gets world space position at given pixel coordinate with given device depth
float3 GetWorldPos(float2 uv, float deviceDepth)
{
float4 clipPos = float4(uv * float2(2.0, -2.0) + float2(-1.0, 1.0), deviceDepth, 1.0);
float4 wsPos = mul(clipPos, InverseViewProjectionMatrix);
return wsPos.xyz / wsPos.w;
}
// Transforms a vector from tangent space to world space
float3 TransformTangentVectorToWorld(MaterialInput input, float3 tangentVector)
{
+43 -35
View File
@@ -2,6 +2,7 @@
// Version: @0
#define MATERIAL 1
#define USE_PER_VIEW_CONSTANTS 1
@3
#include "./Flax/Common.hlsl"
#include "./Flax/MaterialCommon.hlsl"
@@ -9,25 +10,13 @@
@7
// Primary constant buffer (with additional material parameters)
META_CB_BEGIN(0, Data)
float4x4 ViewProjectionMatrix;
float4x4 WorldMatrix;
float4x4 ViewMatrix;
float4x4 PrevViewProjectionMatrix;
float4x4 PrevWorldMatrix;
float3 ViewPos;
float ViewFar;
float3 ViewDir;
float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
float3 WorldInvScale;
float WorldDeterminantSign;
float2 Dummy0;
float LODDitherFactor;
float PerInstanceRandom;
float4 TemporalAAJitter;
float3 GeometrySize;
float Dummy1;
float WorldDeterminantSign;
@1META_CB_END
// Shader resources
@@ -43,9 +32,12 @@ struct GeometryData
#endif
float3 WorldNormal : TEXCOORD3;
float4 WorldTangent : TEXCOORD4;
float3 InstanceOrigin : TEXCOORD5;
float2 InstanceParams : TEXCOORD6; // x-PerInstanceRandom, y-LODDitherFactor
nointerpolation float3 InstanceOrigin : TEXCOORD5;
nointerpolation float2 InstanceParams : TEXCOORD6; // x-PerInstanceRandom, y-LODDitherFactor
float3 PrevWorldPosition : TEXCOORD7;
nointerpolation float3 InstanceTransform1 : TEXCOORD8;
nointerpolation float3 InstanceTransform2 : TEXCOORD9;
nointerpolation float3 InstanceTransform3 : TEXCOORD10;
};
// Interpolants passed from the vertex shader
@@ -54,7 +46,7 @@ struct VertexOutput
float4 Position : SV_Position;
GeometryData Geometry;
#if USE_CUSTOM_VERTEX_INTERPOLATORS
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT] : TEXCOORD9;
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT] : TEXCOORD11;
#endif
#if USE_TESSELLATION
float TessellationMultiplier : TESS;
@@ -67,7 +59,7 @@ struct PixelInput
float4 Position : SV_Position;
GeometryData Geometry;
#if USE_CUSTOM_VERTEX_INTERPOLATORS
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT] : TEXCOORD9;
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT] : TEXCOORD11;
#endif
bool IsFrontFace : SV_IsFrontFace;
};
@@ -90,11 +82,9 @@ struct MaterialInput
float3 PreSkinnedNormal;
float3 InstanceOrigin;
float2 InstanceParams;
#if USE_INSTANCING
float3 InstanceTransform1;
float3 InstanceTransform2;
float3 InstanceTransform3;
#endif
#if USE_CUSTOM_VERTEX_INTERPOLATORS
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT];
#endif
@@ -115,6 +105,9 @@ MaterialInput GetGeometryMaterialInput(GeometryData geometry)
output.TBN = CalcTangentBasis(geometry.WorldNormal, geometry.WorldTangent);
output.InstanceOrigin = geometry.InstanceOrigin;
output.InstanceParams = geometry.InstanceParams;
output.InstanceTransform1 = geometry.InstanceTransform1;
output.InstanceTransform2 = geometry.InstanceTransform2;
output.InstanceTransform3 = geometry.InstanceTransform3;
return output;
}
@@ -152,6 +145,9 @@ GeometryData InterpolateGeometry(GeometryData p0, float w0, GeometryData p1, flo
output.WorldTangent.xyz = normalize(output.WorldTangent.xyz);
output.InstanceOrigin = p0.InstanceOrigin;
output.InstanceParams = p0.InstanceParams;
output.InstanceTransform1 = p0.InstanceTransform1;
output.InstanceTransform2 = p0.InstanceTransform2;
output.InstanceTransform3 = p0.InstanceTransform3;
return output;
}
@@ -168,17 +164,19 @@ MaterialInput GetMaterialInput(PixelInput input)
return output;
}
// Gets the local to world transform matrix (supports instancing)
#if USE_INSTANCING
// Gets the local to world transform matrix
#define GetInstanceTransform(input) float4x4(float4(input.InstanceTransform1.xyz, 0.0f), float4(input.InstanceTransform2.xyz, 0.0f), float4(input.InstanceTransform3.xyz, 0.0f), float4(input.InstanceOrigin.xyz, 1.0f))
// Extarcts the world matrix and instancce transform vector
#if USE_INSTANCING
#define CalculateInstanceTransform(input) float4x4 world = GetInstanceTransform(input); output.Geometry.InstanceTransform1 = input.InstanceTransform1.xyz; output.Geometry.InstanceTransform2 = input.InstanceTransform2.xyz; output.Geometry.InstanceTransform3 = input.InstanceTransform3.xyz;
#else
#define GetInstanceTransform(input) WorldMatrix;
#define CalculateInstanceTransform(input) float4x4 world = WorldMatrix; output.Geometry.InstanceTransform1 = world[0].xyz; output.Geometry.InstanceTransform2 = world[1].xyz; output.Geometry.InstanceTransform3 = world[2].xyz;
#endif
// Removes the scale vector from the local to world transformation matrix (supports instancing)
float3x3 RemoveScaleFromLocalToWorld(float3x3 localToWorld)
{
#if USE_INSTANCING
// Extract per axis scales from localToWorld transform
float scaleX = length(localToWorld[0]);
float scaleY = length(localToWorld[1]);
@@ -187,9 +185,6 @@ float3x3 RemoveScaleFromLocalToWorld(float3x3 localToWorld)
scaleX > 0.00001f ? 1.0f / scaleX : 0.0f,
scaleY > 0.00001f ? 1.0f / scaleY : 0.0f,
scaleZ > 0.00001f ? 1.0f / scaleZ : 0.0f);
#else
float3 invScale = WorldInvScale;
#endif
localToWorld[0] *= invScale.x;
localToWorld[1] *= invScale.y;
localToWorld[2] *= invScale.z;
@@ -331,7 +326,7 @@ VertexOutput VS(ModelInput input)
VertexOutput output;
// Compute world space vertex position
float4x4 world = GetInstanceTransform(input);
CalculateInstanceTransform(input);
output.Geometry.WorldPosition = mul(float4(input.Position.xyz, 1), world).xyz;
output.Geometry.PrevWorldPosition = mul(float4(input.Position.xyz, 1), PrevWorldMatrix).xyz;
@@ -370,11 +365,6 @@ VertexOutput VS(ModelInput input)
materialInput.SvPosition = output.Position;
materialInput.PreSkinnedPosition = input.Position.xyz;
materialInput.PreSkinnedNormal = tangentToLocal[2].xyz;
#if USE_INSTANCING
materialInput.InstanceTransform1 = input.InstanceTransform1.xyz;
materialInput.InstanceTransform2 = input.InstanceTransform2.xyz;
materialInput.InstanceTransform3 = input.InstanceTransform3.xyz;
#endif
Material material = GetMaterialVS(materialInput);
#endif
@@ -409,7 +399,11 @@ META_VS_IN_ELEMENT(ATTRIBUTE,3, R32G32B32_FLOAT, 3, ALIGN, PER_INSTANCE, 1, US
META_VS_IN_ELEMENT(ATTRIBUTE,4, R16G16B16A16_FLOAT,3, ALIGN, PER_INSTANCE, 1, USE_INSTANCING)
float4 VS_Depth(ModelInput_PosOnly input) : SV_Position
{
#if USE_INSTANCING
float4x4 world = GetInstanceTransform(input);
#else
float4x4 world = WorldMatrix;
#endif
float3 worldPosition = mul(float4(input.Position.xyz, 1), world).xyz;
float4 position = mul(float4(worldPosition, 1), ViewProjectionMatrix);
return position;
@@ -513,7 +507,7 @@ VertexOutput VS_Skinned(ModelInput_Skinned input)
float3x3 tangentToLocal = SkinTangents(input, data);
// Compute world space vertex position
float4x4 world = GetInstanceTransform(input);
CalculateInstanceTransform(input);
output.Geometry.WorldPosition = mul(float4(position, 1), world).xyz;
#if PER_BONE_MOTION_BLUR
float3 prevPosition = SkinPrevPosition(input);
@@ -594,13 +588,13 @@ void ClipLODTransition(PixelInput input)
// Pixel Shader function for Depth Pass
META_PS(true, FEATURE_LEVEL_ES2)
void PS_Depth(PixelInput input)
{
{
#if USE_DITHERED_LOD_TRANSITION
// LOD masking
ClipLODTransition(input);
#endif
#if MATERIAL_MASKED || MATERIAL_BLEND != MATERIAL_BLEND_OPAQUE
#if MATERIAL_MASKED || MATERIAL_BLEND != MATERIAL_BLEND_OPAQUE
// Get material parameters
MaterialInput materialInput = GetMaterialInput(input);
Material material = GetMaterialPS(materialInput);
@@ -615,4 +609,18 @@ void PS_Depth(PixelInput input)
#endif
}
#if _PS_QuadOverdraw
#include "./Flax/Editor/QuadOverdraw.hlsl"
// Pixel Shader function for Quad Overdraw Pass (editor-only)
[earlydepthstencil]
META_PS(USE_EDITOR, FEATURE_LEVEL_SM5)
void PS_QuadOverdraw(float4 svPos : SV_Position, uint primId : SV_PrimitiveID)
{
DoQuadOverdraw(svPos, primId);
}
#endif
@9
+15 -16
View File
@@ -2,6 +2,7 @@
// Version: @0
#define MATERIAL 1
#define USE_PER_VIEW_CONSTANTS 1
@3
// Enables/disables smooth terrain chunks LOD transitions (with morphing higher LOD near edges to the lower LOD in the neighbour)
#define USE_SMOOTH_LOD_TRANSITION 1
@@ -16,15 +17,7 @@
@7
// Primary constant buffer (with additional material parameters)
META_CB_BEGIN(0, Data)
float4x4 ViewProjectionMatrix;
float4x4 WorldMatrix;
float4x4 ViewMatrix;
float3 ViewPos;
float ViewFar;
float3 ViewDir;
float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
float3 WorldInvScale;
float WorldDeterminantSign;
float PerInstanceRandom;
@@ -276,24 +269,16 @@ float CalcLOD(float2 xy, float4 morph)
if ((xy.x + xy.y) > 1)
{
if (xy.x < xy.y)
{
lod = lodCalculated.w;
}
else
{
lod = lodCalculated.z;
}
}
else
{
if (xy.x < xy.y)
{
lod = lodCalculated.y;
}
else
{
lod = lodCalculated.x;
}
}
return lod;
@@ -458,4 +443,18 @@ void PS_Depth(PixelInput input)
#endif
}
#if _PS_QuadOverdraw
#include "./Flax/Editor/QuadOverdraw.hlsl"
// Pixel Shader function for Quad Overdraw Pass (editor-only)
[earlydepthstencil]
META_PS(USE_EDITOR, FEATURE_LEVEL_SM5)
void PS_QuadOverdraw(float4 svPos : SV_Position, uint primId : SV_PrimitiveID)
{
DoQuadOverdraw(svPos, primId);
}
#endif
@9
@@ -2,6 +2,7 @@
// Version: @0
#define MATERIAL 1
#define USE_PER_VIEW_CONSTANTS 1
@3
#include "./Flax/Common.hlsl"
@@ -11,17 +12,9 @@
// Primary constant buffer (with additional material parameters)
META_CB_BEGIN(0, Data)
float4x4 ViewProjectionMatrix;
float4x4 InverseViewProjectionMatrix;
float4x4 ViewMatrix;
float4x4 WorldMatrix;
float4x4 WorldMatrixInverseTransposed;
float3 ViewPos;
float ViewFar;
float3 ViewDir;
float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
float3 GridSize;
float PerInstanceRandom;
float Dummy0;
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -2
View File
@@ -1,5 +1,4 @@
%copyright%
#pragma once
%copyright%#pragma once
#include "Engine/Core/ISerializable.h"
#include "Engine/Core/Types/BaseTypes.h"
@@ -1,5 +1,4 @@
%copyright%
#include "%filename%.h"
%copyright%#include "%filename%.h"
#include "Engine/Core/Log.h"
void %class%::RunNativeAction(Vector4 data)
@@ -1,5 +1,4 @@
%copyright%
#pragma once
%copyright%#pragma once
#include "Engine/Scripting/Script.h"
#include "Engine/Core/Math/Vector4.h"
+1 -2
View File
@@ -1,5 +1,4 @@
%copyright%
#include "%filename%.h"
%copyright%#include "%filename%.h"
%class%::%class%(const SpawnParams& params)
: Script(params)
+1 -2
View File
@@ -1,5 +1,4 @@
%copyright%
#pragma once
%copyright%#pragma once
#include "Engine/Scripting/Script.h"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More