Commit Graph

431 Commits

Author SHA1 Message Date
henrik karlsson
b5164ac775 Fixes to make modules compile with IWYU. We've added to IWYU toolchain so it compiles "orphaned" headers which does not have a owning cpp file. This identified lots of headers that couldn't be compiled by themselves (or if they were to included first)
Change consist of only forward declaration and additional includes

#preflight 63789c1de30d438849c48188
#rb none

[CL 23218412 by henrik karlsson in ue5-main branch]
2022-11-21 03:22:23 -05:00
ryan schmidt
ddfa3ebbe8 ModelingTools: add option to visualize Tangent seams in Inspector Tool. Add action to AttributeEditorTool to reset/clear Tangents.
GeometryScripting: add new functions GetMeshHasTangents, DiscardTangents, GetMeshPerVertexTangents, SetMeshPerVertexTangents, SetMeshPerVertexNormals, UpdateVertexNormal
#rb david.hill
#preflight 63752617bf76990b71d37988

[CL 23179229 by ryan schmidt in ue5-main branch]
2022-11-17 13:01:04 -05:00
Nickolas Drake
e7eeb19816 PatternTool: Use a gizmo to allow users to modify extents/radius in the viewport visually.
A single gizmo whose position relative to the tool's construction plane mechanic's gizmo is used to define Extent/ExtentX & ExtentY/Radius. The gizmo's movement is restricted depending on the current shape, axis/plane, and the orientation of the tool's construction plane frame. The visual appearance of the gizmo is modified by subclassing the actor builder for the existing combined transform gizmo and registering a 'new' gizmo type with the gizmo manager which is based on the existing combined transform gizmo.

#jira none
#rb semion.piskarev
#preflight 6373f666b663683828d066fd

[CL 23155451 by Nickolas Drake in ue5-main branch]
2022-11-16 11:42:54 -05:00
matija kecman
3741003f3b RenderCaptureBaking: Improve performance when adding/removing capture channels
- When adding a new channel: Only the newly requested channel is captured, previously all enabled channels were (re)captured
- When removing an already captured channel: We no longer recompute all remaining channels, we just wipe the one that was removed


#rnx
#rb ryan.schmidt
#preflight 6372120fbf76990b71f17750

[CL 23115901 by matija kecman in ue5-main branch]
2022-11-14 05:09:53 -05:00
Jimmy Andrews
739139364a Add more consistent clarification to the bDiscardAttributes UPROPERTY in various places where it is exposed w/ comment
#rb david.hill
#preflight 636e873a0c74adb48b61a4c5

[CL 23100849 by Jimmy Andrews in ue5-main branch]
2022-11-11 12:41:41 -05:00
semion piskarev
50255452db MeshModelingTools: Fix bad merge resolution from 22901795 that broke PolyCut behavior downstream.
#rb Jimmy.Andrews
#jira UE-169510
#preflight 636a99ba4d3c1d9d92ded248

[CL 23040001 by semion piskarev in ue5-main branch]
2022-11-08 16:27:39 -05:00
ryan schmidt
af4b32d73d add missing headers to fix nonunity compile issue
#rb none
#preflight none

[CL 22994723 by ryan schmidt in ue5-main branch]
2022-11-04 16:40:49 -04:00
ryan schmidt
331ccb8668 add missing headers to fix nonunity error
#rb none
#preflight none

[CL 22994710 by ryan schmidt in ue5-main branch]
2022-11-04 16:40:16 -04:00
henrik karlsson
fadcfd5cee Fixed non-unity/pch errors
#rb none
#jira none
#preflight skipped

[CL 22993375 by henrik karlsson in ue5-main branch]
2022-11-04 15:36:52 -04:00
henrik karlsson
603ab8ead9 Fixed non-unity/pch errors
#rb none
#jira none
#preflight skipped

[CL 22992666 by henrik karlsson in ue5-main branch]
2022-11-04 15:03:42 -04:00
ryan schmidt
dc0b4ed0ac ModelingComponents: add FGroupVisualizationCache, this is a helper object that stores precomputed info about each polygroup in a mesh, used for visualization in various Tools
ModelingTools: add the ability to draw IDs of visible polygroups in UMeshGroupPaintTool, as well as draw the ID of the polygroup under the cursor. Add the ability to draw Tri/Edge/Vert/Group IDs in the Inspector Tool. Also expand the set of override render materials, and add a polygroup layer picker.
#rb none
#preflight 636454d9581dc906bca87c19

[CL 22990103 by ryan schmidt in ue5-main branch]
2022-11-04 13:06:17 -04:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
matija kecman
b39658d261 RenderCaptureBaking: Expose render capture baking function to geometry script blueprints
#rnx
#rb ryan.schmidt
#jira none
#preflight 63639fe054471d10be59b31a

[CL 22950334 by matija kecman in ue5-main branch]
2022-11-03 07:15:45 -04:00
Jimmy Andrews
7dc506b218 Add TriSel tool "By Material (All)" selection option and clarify that the previous "By Material" is "By Material (Connected)"
#jira UE-168997
#rb ryan.schmidt
#preflight 6362eb0e0c2e7c8f91b9c946

[CL 22930405 by Jimmy Andrews in ue5-main branch]
2022-11-02 18:51:40 -04:00
semion piskarev
c37a13faa6 MeshModelingTools: Don't consider open boundaries in PolyCut tool to be an unacceptable failure, though write out a warning. Don't try to fix holes by default, to be like MshBool and to avoid closing holes when cutting an open mesh.
#rb Jimmy.Andrews
#preflight 6361e50d6000216d2ed6acb6

[CL 22918067 by semion piskarev in ue5-main branch]
2022-11-02 11:49:19 -04:00
Nickolas Drake
f07a50121e PatternTool: Add support for relative transforms when using multiple source elements and add functionality to automatically adjust bounding boxes to accommodate relative transformations and Start Scale/Start Rotation
Previously, the pattern tool supported using multiple source elements under the assumption that they all had the same pivot, meaning that regardless of the relative positions of all of the source elements, they are all placed at the same position in the resulting pattern.

Jittering happens on a per pattern basis, meaning that the relative positions of all source elements are retained after jittering. Scaling and rotating are performed about the pivot of the first pattern element.

If Automatically Adjust is enabled, then the bounding box used for determining spacing in packed mode will be recomputed by baking the relative positions, start scale, and start rotations into the individual elements' bounding boxes and then computing a "CombinedPatternBounds" which contains all of the pattern elements and is used for determining spacing in packed mode.

Use Relative Transforms and Automatically Adjust (In Bounding Box dropdown when in Packed mode) allow all new functionality to be toggled.

#jira none
#rb Semion.Piskarev
#preflight 635fdafa1803be35c70f3282

[CL 22867319 by Nickolas Drake in ue5-main branch]
2022-10-31 13:51:53 -04:00
henrik karlsson
4a5e13525d Fixed non-unity non-pch compile errors
#preflight skipped
#rb none

[CL 22788359 by henrik karlsson in ue5-main branch]
2022-10-26 16:22:34 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
bryan sefcik
12da131a51 Fixed include paths in ../Plugins/Experimental/...
#jira
#preflight 634ee635837b59dd829139ac

[CL 22621686 by bryan sefcik in ue5-main branch]
2022-10-19 06:39:01 -04:00
nick darnell
954d29b9f5 Editor - Beginning the process to no longer make loading all assets you right click in the content browser. The first step, is setting up the code to have a deprecation flag DEPRECATE_ASSET_TYPE_ACTIONS_NEEDING_LOADED_OBJECTS, this will make it illegal to implement GetActions on all AssetTypeAction implementations. Checked in disabled, enable it locally to begin trying to implement the recommended method detailed in the IAssetTypeActions header. WIP. One of the things this change does is outlaw (regardless of deprecation) the HasActions() function, this function is no longer used at all, and so we may as well remove its implementation, it also works well as a canary in finding other samples and things that need to be upgraded.
#jira UE-165574
[REVIEW] [at]Rex.Hill, [at]Lauren.Barnes
#preflight 63483c43ad0f7e2f20e44910

[CL 22534452 by nick darnell in ue5-main branch]
2022-10-14 16:59:41 -04:00
David Hill
a22eef8ce2 GeometryTools: Convert Meshes - fix bug in materials when converting multiple meshes and also hide the transfer materials option when converting to a volume.
#jira UE-166618
#preflight 634587a4e7396f4e6ef4a74b
#rb lonnie.li

[CL 22530153 by David Hill in ue5-main branch]
2022-10-14 13:37:21 -04:00
Nickolas Drake
45ce45dee5 PatternTool: Fix several issues related to the behavior of Proportional scaling.
bUniform was renamed to bProportional

Proportional scaling behaves almost the same but when a value is entered numerically, previously the approach to scaling would change the just entered value by finding a vector of the new vectors magnitude in the old vectors direction while the new approach scales the other two components up, resulting in more predictable behavior.

The minimum value for a component for the fields StartScale, EndScale, or Jitter in the scale category only is now 0.001 to be consistent with the clamping behavior in ApplyElementTransforms() and to prevent issues with dividing by extremely small (or 0) values when computing ScaleFactor in ApplyProportionalScale.

When proportional scaling is enabled and the reset to default button is pressed for a vector property, it now properly resets to the default. Previously, the resulting vector would be the same length as the default vector but it would maintain the direction of the previous value.

#jira UE-166106 UE-166683
#rb Jimmy.Andrews
#preflight 6346f114fa31324bb14785fb

[CL 22481394 by Nickolas Drake in ue5-main branch]
2022-10-12 13:15:31 -04:00
Nickolas Drake
893d45994b PatternTool: Fix some UI elements.
Seed should have no revert to default option and some tooltips are wrong after updating UI in previous CL.

#jira UE-166105
#rb Jimmy.Andrews
#preflight 633f343962762f4a1b66519e

[CL 22458016 by Nickolas Drake in ue5-main branch]
2022-10-11 10:46:34 -04:00
Nickolas Drake
456825c6df PatternTool: Improved UI for Jitter (enabled inline, proportional jitter changes in scale settings with bUniform)
#jira none
#rb Semion.Piskarev
#preflight 6328bf2ff45b523a63b981db

[CL 22362758 by Nickolas Drake in ue5-main branch]
2022-10-05 16:30:37 -04:00
matija kecman
5fde098d97 Fix stall when starting the render capture baking (BakeRC) tool
This change makes the BakeRC tool start instantly on all platforms and also makes the tool consistent with the BakeAll tool in that on first startup the same no-results-computed-yet material is applied to the the target mesh.

#jira UE-164389
#preflight 633c30daeb5c295b4cea38dc
#rb lonnie.li
#rnx
#lockdown aurel.cordonnier

[CL 22342231 by matija kecman in ue5-main branch]
2022-10-04 19:34:59 -04:00