177 Commits

Author SHA1 Message Date
tiago costa
0643056ce1 Fixed linking error.
#jira none

[CL 36012924 by tiago costa in ue5-main branch]
2024-09-04 12:29:16 -04:00
tiago costa
3a32fe0ed2 Light Grid - Fix rect light culling due to incorrect culling plane calculation.
Issue:
- adjusting barn door corners for both horizontal and vertical barn doors simultaneously leads to wrong results.
- intersection between shadow boundary lines and bounding sphere was also incorrectly approximated because calculation was using radius as intersection distance, however that is not far enough since it doesn't account for the size of the rect source.

Fix:
- calculate culling planes for horizontal and vertical barn doors separately and properly calculating intersection between shadow boundary line and bounding circle.

Extra debug functionality:
- r.Forward.LightGridDebug.RectLightBounds to disable tight rect light culling
- r.RectLight.VisualizeCullingBarnDoors to visualize culling planes of the selected light

#rb Sebastien.Hillaire
#jira none

[CL 36009009 by tiago costa in ue5-main branch]
2024-09-04 10:34:51 -04:00
yoan stamant
c8ae788872 [Navigation] updated some StaticMeshComponent to never affect navigation (or set it before setting up the mesh) to eliminate useless processing
#rb sigurdur.gunnarsson

[CL 34982635 by yoan stamant in ue5-main branch]
2024-07-22 09:42:54 -04:00
jimmy andrews
90d0274aa9 make spline component visualizer and details customization call the owner actor's posteditmove method to make sure the construction script can re-run as expected
#jira UE-213520
#rb brooke.hubert

[CL 33463287 by jimmy andrews in ue5-main branch]
2024-05-06 14:08:37 -04:00
steve robb
9c7affb850 Removed unused variables.
[CL 32969776 by steve robb in ue5-main branch]
2024-04-15 08:49:28 -04:00
quinn hovey
51f0a883cc [SplineComponentVisualizer]
* Removed default of A-Key from Add Spline Point keyboard shortcut

[REVIEW] Brooke.Hubert

[CL 31137847 by quinn hovey in ue5-main branch]
2024-02-02 15:28:56 -05:00
quinn hovey
f4395509fe [SplineComponentVisualizer]
* Added new commands:
- ToggleSnapTangentAdjustments, StraightenToNext, StraightenToPrevious, ToggleClosedLoop

#jira UE-205518, UE-205517, UE-205516
[REVIEW] [at]Brooke.Hubert
#rb brooke.hubert

[CL 31073304 by quinn hovey in ue5-main branch]
2024-01-31 19:04:38 -05:00
brooke hubert
6ba881a341 [Component Visualizer] Fix an issue where spline component visualizer was not correctly re-evaluating and clearing in some cases for viewport selections
#jira UE-204023
#rb ronald.koppers

[CL 30693118 by brooke hubert in ue5-main branch]
2024-01-18 14:53:33 -05:00
danny chapman
d48d328fc7 Add option to show in PhAT when a pose violates the joint limits
#rb nick.brett

[CL 30179765 by danny chapman in ue5-main branch]
2023-12-07 10:25:28 -05:00
brooke hubert
01a92c528f [Spline Component Visualizer] Fix a few issues with selection of component visualizers
Selecting the actor in the outliner would cause component visualizers to stop drawing for the selection

When dragging and dropping something containing a spline component to the viewport, a double selection was occurring which was clearing the component visualizers to draw.

Fix an issue where the spline component visualizer being active didn't select the component, which could result in loss of the editing state when selecting the component in the component tree view. This feature is on by default, but toggle-able by the cvar Editor.ComponentVisualizer.AutoSelectComponent

#Jira UE-201470
#rb roey.borsteinas

[CL 30097141 by brooke hubert in ue5-main branch]
2023-12-04 17:15:25 -05:00
sebastien hillaire
682217af43 LFV - changed the base size to something reasonable so that scaling LFVs is also easier.
#rb none
#prelfight none

[CL 28313462 by sebastien hillaire in ue5-main branch]
2023-09-28 07:07:26 -04:00
roey borsteinas
60e23db5c7 Added localization macro for Spline Generation panel title.
#jira FORT-648836
#rb trivial

[CL 27604068 by roey borsteinas in ue5-main branch]
2023-09-05 13:51:12 -04:00
sebastien hillaire
56425c1802 LFV - force uniform scaleing as of today while we figure out the problem with non uniform scaling.
#rb none

[CL 27484152 by sebastien hillaire in ue5-main branch]
2023-08-30 10:31:34 -04:00
semion piskarev
2c0ced639c SplineComponent: Support surface snapping when dragging a single spline point by the ball of the gizmo.
#rb Nathan.Mitchell
#jira UE-191682

[CL 26763135 by semion piskarev in ue5-main branch]
2023-08-01 21:00:13 -04:00
sebastien hillaire
b6879a2b60 Rename from LocalHeightFog to LocalFogVolume in code
#rb none
#jira UE-187077

[CL 26545239 by sebastien hillaire in ue5-main branch]
2023-07-24 12:00:44 -04:00
sebastien hillaire
90e9834931 Rename/move file(s) from LocalHeightFog to LocalFogVolume
#rb none
#jira UE-187077

[CL 26543667 by sebastien hillaire in ue5-main branch]
2023-07-24 11:29:58 -04:00
brooke hubert
2c7776b03c [Splines] Rework component visualizer visibility to key off draw debug variable.
When this is disabled, the component visualizer will still draw if the component is directly selected, and will allow editing this way.

Supports "helper" splines for PCG workflows that are intended to be hidden by default to the user.

#Jira UE-186081
#rb jonathan.bard ronald.koppers
#preflight 64640d742d446eac96781167

[CL 25507489 by brooke hubert in ue5-main branch]
2023-05-17 10:55:01 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
juan canada
2705dcda29 Fixed non unity build error
#rb none
#preflight none
[FYI] sebastien.hillaire

[CL 25475805 by juan canada in ue5-main branch]
2023-05-15 12:51:10 -04:00
sebastien hillaire
256b3e8ba4 First simple LocalHeightFog volume component support.
Lots of missing bits but that is a good first step for iterations.

#rb none
#preflight https://horde.devtools.epicgames.com/job/645e51146b4bdec267ea31cf

[CL 25472344 by sebastien hillaire in ue5-main branch]
2023-05-15 09:23:13 -04:00
charles bloom
ffe45866e0 clean up code using GetMipData without checking return value
GetMipData can return false on textures that have no sources
Textures without source is common now in UEFN
also comment about some code that is broken or more fragile than necessary

#preflight https://horde.devtools.epicgames.com/job/6423434d710ec8400fe83bd6
#rb fabian.giesen,dan.thompson

[CL 24831862 by charles bloom in ue5-main branch]
2023-03-29 02:28:14 -04:00
David Lesage
a8afa64741 #jira UE-65072: Improve accuracy of getting the nearest point on a spline to a given position.
Rename FInterpCurve<T>::InaccurateFindNearest into FInterpCurve<T>::FindNearest

https://docs.google.com/presentation/d/1ktMLMfY-pgjqwLMBERA1NJkEAB_jlyMt9ni99QdTdl0/edit?usp=sharing
This document is an analysis of the current algorithm, a presentation of the improvements and some tests

#rb richard.talbotwatkins
#preflight 63fe27c8437ce3e7f396e449

[CL 24443724 by David Lesage in ue5-main branch]
2023-02-28 11:31:02 -05:00
David Lesage
4a7db214a6 #jira UE-100136: add hotkey to add spline point at the current mouse point
#rb lauren.barnes
#preflight 63f4dcb2cf37615300e876b3

[CL 24339241 by David Lesage in ue5-main branch]
2023-02-21 10:08:59 -05:00
David Lesage
edd89bd227 #jira UE-114536 : fix Spline context menu Reset To Default
#rb Lauren.Barnes
#preflight 63e3ba3d786751d1e014489a

[CL 24072657 by David Lesage in ue5-main branch]
2023-02-08 10:14:49 -05:00
Max Chen
d4bb2fc540 Splnes: Added checks for valid widget path
#jira UE-173388
#rb matt.hoffman
#preflight none

[CL 23603015 by Max Chen in ue5-main branch]
2023-01-06 16:05:30 -05:00