Commit Graph

27 Commits

Author SHA1 Message Date
jimmy andrews
87679c1c76 Make draw polygon, draw polypath, and draw-and-revolve tools initialize with a 'reasonable' drawing frame instead of starting at the origin
#jira UE-185651

Where reasonable means centered on the selection (if available), or otherwise centered in the view.
If a geometry element is selected, we will also align to that (e.g., aligning to the plane of a selected triangle)
#rb David.Hill

[CL 33182868 by jimmy andrews in ue5-main branch]
2024-04-23 18:39:48 -04:00
steve robb
7da84c1d1b Replaced UE_NODISCARD with [[nodiscard]].
[CL 30593744 by steve robb in ue5-main branch]
2024-01-12 10:47:04 -05:00
jimmy andrews
b9e3dd10f1 fix 'extrude path' not generating a flat mesh if the user clicks 'complete' too early
#rb tyson.brochu
#preflight 640a2b10482188d710b379a2

[CL 24583907 by jimmy andrews in ue5-main branch]
2023-03-09 17:33:32 -05:00
bryan sefcik
50d4fac9e0 Updated ../Engine/Plugins/... to inline gen.cpp files
Before:
3548 unity files
Total CPU Time: 47343.578125 s
Total time in Parallel executor: 494.60 seconds

After:
3445 unity files
Total CPU Time: 46044.671875 s
Total time in Parallel executor: 468.51 seconds

#jira
#preflight 63336159b20e73a098b7f24f

[CL 22218213 by bryan sefcik in ue5-main branch]
2022-09-28 01:06:15 -04:00
jimmy andrews
c89d865b83 Account for MeshCenter when extracting boundary of mesh for preview in polypath tool
#jira UE-164191
#preflight 63288c443752284a3138c07d
#rb tyson.brochu

[CL 22087076 by jimmy andrews in ue5-main branch]
2022-09-19 21:58:18 -04:00
jimmy andrews
713456a6f0 LWC fixes for polyedit and polypath tools: Keep preview meshes centered near the origin, with translation on the transform rather than baked, because rendering stores the mesh vertices in floating point
#jira UE-158024
#jira UE-158002
#rb tyson.brochu
#preflight 631a4804ec45fbf3d741b365

[CL 21916252 by jimmy andrews in ue5-main branch]
2022-09-09 01:37:45 -04:00
Jimmy Andrews
68c7126a7c make more mesh creation tools generate tangents for their created meshes
(PolyExt, PathExt, PathRev, and BdryRev)

#jira UE-141656

#rb david.hill
#preflight 6307950c6f3401e0225dfa29

[CL 21566086 by Jimmy Andrews in ue5-main branch]
2022-08-25 11:51:02 -04:00
semion piskarev
0f00c39b97 MeshModelingTools: Fix duplicate Loctext entries in PolyExt and UVSelectTool and make Loctext keys in PolyExt clearer for localizers.
#rb Ryan.Schmidt, Tyson.Brochu
#rnx
#jira UE-141530
#preflight 61fdb9d6b145346c9e9484b8
#lockdown Aurel.Cordonnier

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 18877472 in //UE5/Release-5.0/... via CL 18877479 via CL 18878250
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18878276 by semion piskarev in ue5-main branch]
2022-02-04 20:17:09 -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
semion piskarev
5cab19da9c MeshModelingTools: Clarify that Shift only ignores snapping while drawing in PolyExt and PathExt.
#rb Jimmy.Andrews
#rnx
#jira UE-109267
#preflight 61f40853801201ab38889331

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 18771368 in //UE5/Release-5.0/... via CL 18771437 via CL 18771681
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18771699 by semion piskarev in ue5-main branch]
2022-01-28 10:35:32 -05:00
semion piskarev
d55f59f0a5 MeshModelingTools: numerous Path Extrude fixes and improvements:
- Fixed snapping not disabling with Shift key.
- Fixed inability to end path if enabling snapping after starting the path.
- Fixed some undo items being undoable in certain circumstances.
- Fixed 0 height paths being treated differently than what PolyExt does (now they are unextruded ribbons instead of 0 thickness extrusions).
- Fixed interactive width selection not aligning with actual sides of path.
- Made behavior more intuitive when using fixed height/width/radius parameters and switching between fixed and interactive modes, including making it possible to set the fixed parameters after leaving that step of creation.
- Made radius setting behavior similar to width setting behavior.
- Disallowed 0 width paths.
- Made 0 radius same as not having rounded corners.
- Made the tool complete a current mesh if exited while one is ready.

#rb Rinat.Abdrashitov, Matija.Kecman
#rnx
#jira UE-109267
#preflight 61dc940be67256ec41eec9fa

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 18564923 in //UE5/Release-5.0/... via CL 18564946
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18564959 by semion piskarev in ue5-release-engine-test branch]
2022-01-10 15:56:01 -05:00
tyson brochu
967261a396 Path extrude tool: add support for open curves in PolygonEdgeMeshGenerator
#jira UE-138665
#rnx
#rb rinat.abdrashitov semion.piskarev
#preflight 61dc756a676009ad46407407

#ROBOMERGE-AUTHOR: tyson.brochu
#ROBOMERGE-SOURCE: CL 18562400 in //UE5/Release-5.0/... via CL 18562412
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18562432 by tyson brochu in ue5-release-engine-test branch]
2022-01-10 13:21:53 -05:00
tyson brochu
dd9de5e98c PathExt tool: enable optional rounded corners. Replaces polygon corners with circular arcs. User can set desired uniform arc radius.
#jira UE-134041
#rb jimmy.andrews
#preflight 61b391f87d2defeffcb858be

#ROBOMERGE-AUTHOR: tyson.brochu
#ROBOMERGE-SOURCE: CL 18432099 in //UE5/Release-5.0/... via CL 18435384
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435889 by tyson brochu in ue5-release-engine-test branch]
2021-12-10 18:05:44 -05:00
ryan schmidt
db857d56b6 ModelingTools: convert various tools/mechanics/etc to use new SnappingManager functionality for scene hit-tests and snapping
#rb david.hill
#rnx
#jira none
#preflight 61b21920d308710b0c513796

#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 18419130 in //UE5/Release-5.0/... via CL 18422407
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18422664 by ryan schmidt in ue5-release-engine-test branch]
2021-12-09 14:46:09 -05:00
michael balzer
1e9353279c MeshModelingToolset: Smaller PolyExtrude and PathExtrude fixes
* fixed Flat extrude mode not generating a flat path
* the ExtrudeHeight property in PolyExt and the ExtrudeHeight and Width properties in PathExt are now reset to their original values after being modified by the respective interactive modes

#preflight 619c1d4df70a9e92db27c5cb

#ROBOMERGE-AUTHOR: michael.balzer
#ROBOMERGE-SOURCE: CL 18270385 in //UE5/Release-5.0/... via CL 18270390
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18270399 by michael balzer in ue5-release-engine-test branch]
2021-11-23 10:39:20 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
jimmy andrews
fd07763a78 remove UE::Geometry::TRay3 and replace usages with UE::Math::TRay
#rb tyson.brochu
#rnx
#preflight 6195872476668b37001d1141

#ushell-cherrypick of 18231220 by Jimmy.Andrews

#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 18232491 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)

[CL 18232527 by jimmy andrews in ue5-release-engine-test branch]
2021-11-17 21:06:46 -05:00
michael balzer
b8a1c9b6cf GeometryCore: Remove ExplicitUseGeometryMathTypes.h
#ROBOMERGE-AUTHOR: michael.balzer
#ROBOMERGE-SOURCE: CL 18227685 in //UE5/Release-5.0/... via CL 18229350
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 18231457 by michael balzer in ue5-release-engine-test branch]
2021-11-17 19:02:44 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
michael balzer
95386e265f MeshModelingToolset: Clenup PathRev and BdryRev tools
#rb jimmy.andrews
#preflight 617816264d94450001b4736a

#ROBOMERGE-AUTHOR: michael.balzer
#ROBOMERGE-SOURCE: CL 17929078 in //UE5/Release-5.0/... via CL 17929087
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v885-17909292)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17929104 by michael balzer in ue5-release-engine-test branch]
2021-10-26 13:33:36 -04:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
michael balzer
cf2b5f9108 MeshModelingToolset: Cleanup PathExt UI; remove EditConditionHides from previously cleaned up tools
#preflight 6171c6f44d6efa00017c071b
#rb jimmy.andrews

#ROBOMERGE-AUTHOR: michael.balzer
#ROBOMERGE-SOURCE: CL 17891464 in //UE5/Release-5.0/... via CL 17891472
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v883-17842818)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17891477 by michael balzer in ue5-release-engine-test branch]
2021-10-21 17:57:49 -04:00
ryan schmidt
ec1b67f51f ModelingTools: draw borders of planar polygon in DrawPolyPathTool, so that use can see what is happening when the path is obscured by scene geometry.
#rb rinat.abdrashitov
#rnx
#jira UE-131427
#preflight 6166dc8a5eae570001044e5b

#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 17800257 in //UE5/Release-5.0/... via CL 17801987
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v881-17767770)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17802099 by ryan schmidt in ue5-release-engine-test branch]
2021-10-13 12:32:03 -04:00
ryan schmidt
12f074e656 ModelingTools: optional path tracing support inside Modeling Tools
- Add new UModelingComponentsSettings which has settings for in-tool preview mesh rendering and emitted new mesh objects
- Add ToolSetupUtil::ApplyRenderingConfigurationToPreview() utility functions, most Tools now call this function to configure UPreviewMesh/DynamicMeshComponents they create for mesh editing preview rendering (uses Settings to make setup decisions like RT on/off)
- add PreviewMesh::NotifyWorldPathTracedOutputInvalidated(), forces invalidation of current path tracing result, call from various PreviewMesh internal functions
- UCreateMeshObjectTypeProperties::ConfigureCreateMeshObjectParams() now configures new-mesh-object parameters with RT and Collision from UModelingComponentsSettings
- DynamicMeshComponent now defaults to raytracing-enabled, usage in Editor is controlled by above settings

#rb rinat.abdrashitov
#rnx
#jira none
#preflight 615f376bf0ee840001cab0fc

#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 17753416 in //UE5/Release-5.0/... via CL 17758212
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v879-17706426)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17758266 by ryan schmidt in ue5-release-engine-test branch]
2021-10-07 22:25:54 -04:00
ryan schmidt
6437ecc4a1 GeometryCore: replace all usage of GeometryCore FVector3<T> with TVector<T>, remove FVector3<T> and GVector4<T>
#rb none
#rnx
#jira none
#preflight 614ce33574f7e70001ea822b

#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 17617027 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 17617043 by ryan schmidt in ue5-release-engine-test branch]
2021-09-23 19:38:55 -04:00