Commit Graph

32 Commits

Author SHA1 Message Date
rinat abdrashitov
e289ca61d0 Initialize bone attributes from the transform hierarchy when performing Skin Binding Operation.
Store bone transform in the transform hiearchy as well.


#rb halfdan.ingvarsson
#preflight 6408c1998832f48a4daf0eac

[CL 24564498 by rinat abdrashitov in ue5-main branch]
2023-03-08 14:27:21 -05:00
jimmy andrews
0eb3c4be0a Expose simplification along cut/mirror plane as an option in the mirror and plane cut tools
#preflight 63e55764bb1d8ca8cf13f166
#rb trivial

[CL 24110681 by jimmy andrews in ue5-main branch]
2023-02-09 19:37:30 -05:00
ryan schmidt
227ac3d087 ModelingTools: Add OffsetMeshSelectionTool and RetriangulateGeometrySelectionCommand
#preflight 63cb1d78574ab9cae448312c
#rb none

[CL 23803436 by ryan schmidt in ue5-main branch]
2023-01-21 13:02:53 -05:00
Jimmy Andrews
cf210c12d2 Add background compute of voronoi diagrams
Add background compute of the noise-deformed cutting meshes
+ add previews using background computes

Move the noise preview controls (previously just in the plane fracture tool) over to common fracture settings

#rb cedric.caillaud
#preflight 639a574d8c64c74ac8245d6f

[CL 23540040 by Jimmy Andrews in ue5-main branch]
2022-12-16 13:51:36 -05:00
ryan schmidt
0e4ddc8e1a ModelingTools: add new modeling-mode Tool/Operator for extruding Mesh Selections
Add UE::ToolTarget::SupportsIncrementalMeshChanges() and ::ApplyIncrementalMeshEditChange(), these allow a Tool to directly edit a DynamicMeshComponent in the level (and emit corresponding MeshChange) so that a Tool can emit multiple undoable edits on a DynamicMesh
Add new USingleTargetWithSelectionTool base tool class, this is a USingleSelectionTool that can receive a FGeometrySelection. USingleTargetWithSelectionToolBuilder configures this type of Tool as necessary.
Add new LinearExtrusionOp dynamic mesh operator, provides linear-extrusion API to FOffsetMeshRegion using new Operator design (mesh shared via FSharedConstDynamicMesh3, CalculateResultInPlace() function to simplify direct usage in geometry script/etc)
Add new ExtrudeMeshSelectionTool, subclass of USingleTargetWithSelectionTool, exposes new LinearExtrusionOp, uses above ToolTarget functions to directly edit DynamicMeshComponent where possible
Enable new Tool in Modeling Mode

Add a few new functions to UMeshOpPreviewWithBackgroundCompute to simplify configuring InProgress and Secondary materials
Small additions to USingleSelectionTool

#preflight 639a3e250a671525500d8a7e
#rb none

[CL 23520421 by ryan schmidt in ue5-main branch]
2022-12-14 17:43:16 -05:00
michael balzer
d1f1e7c0b6 MeshModelingToolset: Fix inconsistencies in "PolyGroup" strings in UI and tooltips
#jira UE-170574
#preflight 63913e505624e6da5eb53b89

[CL 23440331 by michael balzer in ue5-main branch]
2022-12-07 20:45:27 -05:00
halfdan ingvarsson
04d78f9b09 Move the skin binding op to a shared location in ModelingOps. Placed the implementation of the occupancy grid into its own helper header, as FOccupancyGrid3.
#preflight 6381cedffa053c489a910673
#rb ryan.schmidt
#rnx

[CL 23301139 by halfdan ingvarsson in ue5-main branch]
2022-11-28 20:24:14 -05:00
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
nathan mitchell
be8e0074e5 UVEditor: Merge and unify the RecomputeUVs codebases with the UVEditor and Modeling Mode.
#rb Jimmy.Andrews
#preflight 635c0d7cae6840072d339bd4

[CL 22831760 by nathan mitchell in ue5-main branch]
2022-10-28 13:26:45 -04:00
nathan mitchell
a95124d72e ModelingMode: Merge and unify the Layout codebases between the UV Editor and Modeling Mode.
#rb rinat.abdrashitov
#preflight 634ed9bfac7f102b31e5cb58

[CL 22704078 by nathan mitchell in ue5-main branch]
2022-10-21 19:03:38 -04:00
jimmy andrews
be1fbcd313 Fix VoxBlnd, VoxMrph, and VoxWrap not showing preview at LWC
#jira UE-157984
#rb david.hill
#preflight 6328b74a826e0c2fe9f7aa9c

[CL 22087345 by jimmy andrews in ue5-main branch]
2022-09-19 22:28:04 -04:00
Ryan Schmidt
9943ce59ca ModelingTools: add support for specifying polygroup layer in EditNormalsTool
#rb none
#preflight 630d870b98103d4521980289

[CL 21704413 by Ryan Schmidt in ue5-main branch]
2022-08-30 13:02:59 -04:00
Ryan Schmidt
050edd4706 Geometry: Expose Remesh function in Geometry Script, and add basic convergence check to queue remesher
- add FQueueRemesher::MinActiveEdgeFraction. If fraction of modified/total edges in remesh pass is below this parameter (default 1%), consider result converged.
- Expose as option in FRemeshMeshOp, and add sane defaults for all parameters of Op
- move CalculateTargetEdgeLength function from RemeshMeshTool to static function in FRemeshMeshOp, update Tool
- add Geometry Script function ApplyUniformRemesh
#rb jimmy.andrews
#preflight 62a0f1923f1e313c6ad23c21

[CL 20562425 by Ryan Schmidt in ue5-main branch]
2022-06-08 15:29:16 -04:00
Jimmy Andrews
1541b0eb2f Add progress tracking to FProgressCancel, with nested scopes and messages
Add FAsyncTaskExecuterWithProgressCancel to allow the progress to be reported back to the calling thread

Implement initial usage in Voronoi fracture, using an FSlowTask to handle the progress bar and cancel button UI

#rb semion.piskarev
#preflight 629a68d8d204bca667d2e578

[CL 20516367 by Jimmy Andrews in ue5-main branch]
2022-06-05 21:25:04 -04:00
Jimmy Andrews
b95ec506ae Make voronoi fracture run in a background thread w/ a regularly-sampled progress/cancel UI
#rb david.hill
#rb rinat.abdrashitov
#preflight 6291238b6d1aaeda58f92d18

[CL 20397644 by Jimmy Andrews in ue5-main branch]
2022-05-27 15:42:05 -04:00
tyson brochu
087f3b0d0f Remesh Tool: initial implementation of (optional) boundary constraint projection:
- Constrained edges along a boundary are allowed to collapse, and vertices are allowed to move, but they are projected back to the original boundary curve geometry
- Additionally, vertices at boundary "corners" (defined using an angle threshold criterion) are constrained to not move or be deleted


#jira UE-149616
#rb rinat.abdrashitov
#preflight
#preflight 6262dc97e87284a93cd6bd44

[CL 19867177 by tyson brochu in ue5-main branch]
2022-04-22 12:56:47 -04:00
semion piskarev
f4faae3551 MeshModelingTools: Change how HoleFillOp assigns UV's to single trianges to avoid an unnecessary connected component search for the whole mesh. Also make it work in the presence of unset UV's though this currently can't happen inside the HoleFill Tool because it passes everything through a MeshDescription conversion.
#rb Jimmy.Andrews, Tyson.Brochu
#jira UE-147181
#preflight 62602a4add47b4ad2173633f

[CL 19831940 by semion piskarev in ue5-main branch]
2022-04-20 12:00:18 -04:00
rinat abdrashitov
744e9ee8c8 Added the Spectral conformal parameterization option for unwrapping UVs.
Refactored existing LSCM/DNCP UV unwrapping since a lot of code is shared with the Spectral method.

#rb david.hill
#rb nathan.mitchell
#jira None
#preflight 62433f4de434babd8ad4ca34

[CL 19547023 by rinat abdrashitov in ue5-main branch]
2022-03-29 15:03:12 -04:00
tyson brochu
c3e5842382 Add a "prevent tiny triangles" option to Remesher. Currently the area threshold matches the threshold used when creating a cloth simulation mesh.
#rb jimmy.andrews
#preflight 623211d35932902f93551e4d

[CL 19407366 by tyson brochu in ue5-main branch]
2022-03-16 12:41:13 -04:00
semion piskarev
8f0169fb91 MeshModelingTools: CubeGrid improvements.
- Fix bugs with how the tool deals with materials.
- Make UV's always stay aligned in the same orientation.
- Make UV's be contiguous when performing multiple steps with the same selection.
- Make sides maintain same groups with repeated steps of the same selection.
- Add support for scaling UV's.
- Add support for focus hotkey.
Also change how frame is chosen when subtracting to avoid some weird flipping logic.

#rb Matija.Kecman, Lonnie.Li
#jira none
#preflight 622b58e032749f363c82087b

[CL 19353955 by semion piskarev in ue5-main branch]
2022-03-11 09:28:29 -05:00
ryan schmidt
6ad26b69f0 rename UE::Geometry::TTransform3 to TTransformSRT3, update references
#rb none
#rnx
#jira UE-139757
#preflight 61f572d9e52a8a4a910990f1

#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 18784197 in //UE5/Release-5.0/... via CL 18784203 via CL 18784222
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18784226 by ryan schmidt in ue5-main branch]
2022-01-29 14:37:53 -05:00
nathan mitchell
a25fa64667 ModelingTools: Fix handling of UV Unwrap tool to correctly take into account user selection for PolyGroup layer. Additionally fixes issue for the UV Unwrap tool in the UV Editor as well as cleaning up tooltip language about the option.
#rb semion.piskarev
#rnx
#jira UE-137942
#preflight 61e53d580c34e9a5ae5f4642

#ROBOMERGE-AUTHOR: nathan.mitchell
#ROBOMERGE-SOURCE: CL 18695310 in //UE5/Release-5.0/... via CL 18695322 via CL 18695346
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18695382 by nathan mitchell in ue5-main branch]
2022-01-21 15:43:07 -05:00
semion piskarev
80f86dd481 MeshModelingTools: Fix normals not being transferred to overlays in Remesh and Simplify when discarding attributes at start. Fix CompactCopy to properly copy vertex normals/uvs.
#rb Ryan.Schmidt
#rnx
#jira UE-139241
#preflight 61e1eb164b4bd12cbee7bb0a

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 18629628 in //UE5/Release-5.0/... via CL 18629633 via CL 18629637
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18629639 by semion piskarev in ue5-main branch]
2022-01-16 10:42:36 -05:00
michael balzer
7834f7999a MeshModelingToolset: Cleanup AutoUV tool
#preflight 61d63f62430de36baa437636
#rb jimmy.andrews, ryan.schmidt

#ROBOMERGE-AUTHOR: michael.balzer
#ROBOMERGE-SOURCE: CL 18540029 in //UE5/Release-5.0/... via CL 18540031
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18540032 by michael balzer in ue5-release-engine-test branch]
2022-01-07 00:14:44 -05:00
matija kecman
21059d3604 UV Editor: Add some analytics to UV Editor tools
#rb lonnie.li, michael.balzer
#rnx
#jira none
#preflight 61b7ce47fc5708913396b563

#ROBOMERGE-AUTHOR: matija.kecman
#ROBOMERGE-SOURCE: CL 18453391 in //UE5/Release-5.0/... via CL 18453397
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v898-18417669)

[CL 18453406 by matija kecman in ue5-release-engine-test branch]
2021-12-14 06:39:08 -05:00