Commit Graph

2546 Commits

Author SHA1 Message Date
Wojtek Figat
dc59a38b64 Merge branch 'Visject-BendingPreviewConnectionFix' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-Visject-BendingPreviewConnectionFix 2023-10-08 11:16:38 +02:00
Wojtek Figat
a9231d5e08 Merge branch 'Visject-ContextSensitiveParameterSupport' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-Visject-ContextSensitiveParameterSupport 2023-10-08 11:15:26 +02:00
Christopher Rothert
5e85fa2c0c Merge branch 'master' into feat/improved-camera-settings 2023-10-08 01:41:05 +02:00
Christopher Rothert
966e5cdda2 Update some comments 2023-10-08 01:40:50 +02:00
Christopher Rothert
997c442e69 Update movement speed formatting
* add property for movement speed text format
* add additional checks to camera speed progress calculation
* round movement speed to make it visually more appealing in the context menu
2023-10-08 01:07:36 +02:00
Nils Hausfeld
d41ec15606 - Implemented support for surface parameters 2023-10-07 13:57:05 +02:00
Christopher Rothert
00aa54cde8 Update camera speed stepping and easing
* remove complex curve function
* update camera easing feature to use Mathf.Pow instead
* add total camera speed steps to ViewportOptions
* change default value for max camera speed from 64 to 32
* update ViewportOptions ordering and grouping
* update string format for movement speed
2023-10-07 02:40:52 +02:00
NoriteSC
d7095957d0 Update Source/Editor/Surface/Archetypes/Material.cs
Co-authored-by: stefnotch <stefnotch@users.noreply.github.com>
2023-10-06 23:07:00 +02:00
Nils Hausfeld
e4bd84bd6a - Fixed items in Surface Paramter Group getting duplicated over and over again 2023-10-06 23:02:00 +02:00
NoriteSC
4e2870e90c Update Source/Editor/Surface/Archetypes/Material.cs
Co-authored-by: stefnotch <stefnotch@users.noreply.github.com>
2023-10-06 22:56:16 +02:00
NoriteSC
1736aaeb6a Update Source/Editor/Surface/Archetypes/Material.cs
Co-authored-by: stefnotch <stefnotch@users.noreply.github.com>
2023-10-06 22:54:26 +02:00
NoriteSC
d5c0ad0487 Merge branch 'FlaxEngine:master' into Nodes 2023-10-06 22:15:35 +02:00
Nils Hausfeld
78c0e1dd92 - Visual fix to preview connection when pulling out of an input box or a reroute node 2023-10-06 18:16:04 +02:00
Nils Hausfeld
c4136dcaa9 Merge branch 'master' into AnimationSampleNode-AnimationAssetReferencePort 2023-10-06 17:50:36 +02:00
Nils Hausfeld
63d57151d0 - Minor cleanup 2023-10-06 17:50:19 +02:00
Wojtek Figat
5cf1d2b46e Code format 2023-10-06 17:06:17 +02:00
NoriteSC
d07a5e9823 Merge branch 'FlaxEngine:master' into Nodes 2023-10-06 17:03:32 +02:00
Wojtek Figat
f1557554ab Merge branch 'pos-camera' of https://github.com/Tryibion/FlaxEngine into Tryibion-pos-camera 2023-10-06 17:02:51 +02:00
Wojtek Figat
bc291f592e Merge branch 'improved-scrolling' of https://github.com/ontrigger/FlaxEngine into ontrigger-improved-scrolling 2023-10-06 16:58:36 +02:00
Wojtek Figat
e041a2d006 Merge branch 'scene-scroll-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-scene-scroll-fix 2023-10-06 16:07:45 +02:00
Wojtek Figat
2cac149741 Code cleanup for #1377 2023-10-06 15:58:23 +02:00
Nils Hausfeld
ea355dd560 - Title of Animation sample node gets updated when connection of animation reference box changes 2023-10-06 15:30:52 +02:00
Wojtek Figat
58552afc40 Merge branch 'viewlayer' of https://github.com/Withaust/FlaxEngine into Withaust-viewlayer 2023-10-06 15:26:15 +02:00
Wojtek Figat
ae308ab27a Minor code cleanup #1619 2023-10-06 15:25:25 +02:00
Nils Hausfeld
e07ae33040 - Added input box to animation sample node to receive animation assets
- AssetSelect not gets shown or hidden depending on if the box has a connection
- Animation asset reference box now overrides asset picker
2023-10-06 15:23:43 +02:00
Wojtek Figat
b1e6e6a8d1 Merge branch 'Visject-AutomaticCasting' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-Visject-AutomaticCasting 2023-10-06 14:38:58 +02:00
Wojtek Figat
92e28f66af Fix various issues with audio clip data buffers to reduce artifacts (especially when using 24-bit data) 2023-10-06 14:19:22 +02:00
Wojtek Figat
e29d3d02a2 Refactor audio clip import settings to use auto-generated bindings via AudioTool 2023-10-06 14:08:48 +02:00
Wojtek Figat
9870d162e4 Fix creating prefabs directly from prefab objects
#1432
2023-10-06 10:07:57 +02:00
Christopher Rothert
fd94cfb469 Update how camera settings widget is displayed
* add option to force a certain text width to ViewportWidgetButton
* force camera settings widget to fit longest possible speed value
* changed displayed camera speed using string.Format
* changed some lines to always correctly display the camera speed
* switched from Mathf.Clamp to Mathf.Saturate for values between 0 and 1
2023-10-05 20:04:09 +02:00
Chandler Cox
233eb8a39d Fix prefab window tree 2023-10-05 12:13:41 -05:00
Chandler Cox
544ff3d5f0 Fix HScroll bar from covering nodes in scene window. 2023-10-05 12:10:49 -05:00
Nils Hausfeld
dc6a2d4d25 - Cleanup and comments 2023-10-05 18:11:08 +02:00
Nils Hausfeld
d7ade326a9 - Implemented automatic casting to visject 2023-10-05 18:04:55 +02:00
Christopher Rothert
3a9fdd8b52 Add possibility to disable camera easing
* add camera easing setting to camera settings widget
* add camera easing default setting to ViewportOptions
* update some settings in ViewportOptions
2023-10-05 13:10:02 +02:00
Wojtek Figat
546553b82d Add some new splash quotes 2023-10-05 11:44:14 +02:00
Wojtek Figat
cd2f03d8ef Tweaks 2023-10-05 10:48:52 +02:00
Wojtek Figat
e6c45fccb3 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Engine/Level/Actors/AnimatedModel.cpp
2023-10-05 10:44:03 +02:00
Christopher Rothert
4b78d5e39e Orthographic/perspective mode toggle
Note: missing dedicated icon!
2023-10-04 23:30:51 +02:00
Christopher Rothert
1f2d665654 Add camera speed easing based on Mathf.InterpEaseInOut
* change camera move speed method to use easing curve
* add methods for inversion of Mathf.InterpEaseInOut (might have better alternative)
* add setting for easing curve degree in ViewportOptions

* update camera speed adjustments to use easing curve
* remove unused camera speed values array
* update some comments and namings
2023-10-04 23:30:51 +02:00
Christopher Rothert
ccf37e9d68 Add saving and loading of cached values for camera settings
* remove "Default" from all settings in ViewportOptions as they are shown in the "Defaults" group anyway
2023-10-04 23:30:51 +02:00
Christopher Rothert
a280ce3dc7 Add reset button to camera settings widget 2023-10-04 23:30:51 +02:00
Christopher Rothert
4f93a0d9c9 Add default camera settings to editor options
* update ViewportOptions to include new default camera settings
* update existing default settings in ViewportOptions
* extract viewport options setup into own method
* initialize new camera settings with default settings in EditorViewport
2023-10-04 23:30:50 +02:00
Christopher Rothert
67536f04e9 Improve camera panning
* add camera panning speed option to camera settings context menu
* add relative panning speed based on distance to camera target to camera settings context menu
* add relative panning option to camera settings context menu

* fix float comparisons
* remove invert panning entry from view widget
* remove unused show/hide method for camera widget
2023-10-04 23:30:50 +02:00
Christopher Rothert
3dcd1a5ffb Improve viewport camera settings
* remove fixed camera speed buttons from camera speed scale widget
* change camera speed scale widget to general camera settings widget
* move all camera-related settings from view mode widget to camera settings widget
* fix some typo

* add possibility to set camera speed manually
* add min/max camera speed options
2023-10-04 23:30:50 +02:00
Wojtek Figat
1838c7bba7 Minor cleanup 2023-10-04 23:21:40 +02:00
Wojtek Figat
a6e9637442 Merge branch 'editor-font' of https://github.com/Tryibion/FlaxEngine into Tryibion-editor-font 2023-10-04 23:15:29 +02:00
Chandler Cox
b586b5fe41 Ensure editor font is sent as something. 2023-10-04 15:57:28 -05:00
Wojtek Figat
92f677f238 Codestyle formatting #1522 2023-10-04 22:25:27 +02:00
Wojtek Figat
2e6fa8fc25 Merge branch 'Visject-ContextSensitiveNodes' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-Visject-ContextSensitiveNodes 2023-10-04 22:15:31 +02:00