Commit Graph

29 Commits

Author SHA1 Message Date
jimmy andrews
ce01672929 make most primitives not apply xy bounds centering, since they are already centered and the bounds center can be slightly off the 'true' center especially at very low sample counts
#jira UE-214274
#rb David.Hill

[CL 36755486 by jimmy andrews in 5.5 branch]
2024-10-01 19:08:18 -04:00
semion piskarev
f20a852f4e MeshModelingTools: Change some primitive creation tools to default to PerQuad, and make LatLong sphere PerFace not be the same as PerShape (and be same as PerQuad).
#rb Jimmy.Andrews

[CL 36440969 by semion piskarev in 5.5 branch]
2024-09-19 13:28:12 -04:00
jimmy andrews
ceba3641f4 Improvements to capsule generator (and corresponding add capsule tool and geometry script node):
+ Add a cylinder-section subdivision parameter, to control tesselation
 + Make UVs consistent across different subdivision / hemisphere step amounts
#rb David.Hill

[CL 33038867 by jimmy andrews in ue5-main branch]
2024-04-17 12:20:16 -04:00
jimmy andrews
632ff3a002 add capsule primitive tool
#rb jimmy.andrews

[CL 32937140 by jimmy andrews in ue5-main branch]
2024-04-12 14:06:16 -04:00
katie caputo
6c6188c40d Modeling Tools: Adding AtOrigin functionality to AddPrimitiveTool placement
#JIRA UE-202897
#rb lonnie.li

[CL 30842810 by katie caputo in ue5-main branch]
2024-01-24 10:03:07 -05:00
jimmy andrews
70d6c4e96f stop primitives being placed behind the camera when user hovers/clicks the sky in any of the Add Box/Sphere/Cylinder/etc tools
#rb semion.piskarev

[CL 28779942 by jimmy andrews in ue5-main branch]
2023-10-13 19:38:47 -04:00
jimmy andrews
cca27c2cdc Make the Modeling Tools Rounded Rectangle primitive preserve its Width/Depth by default as the Corner Radius changes. Add an option to enable the old behavior, where the Corner Radius extends beyond the Width/Depth.
#jira UE-191353
#rb rinat.abdrashitov

[CL 26791594 by jimmy andrews in ue5-main branch]
2023-08-02 18:43:44 -04:00
joe pribele
ad678baa9d compile fix for deprecation warnings of TObjectPtr.IsNull
[CL 22388057 by joe pribele in ue5-main branch]
2022-10-06 19:51:02 -04: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
david hill
5bbbb78af0 AddPrimitiveTool - Disc primitive, Punctured Disc. Don't let the inner radius exceed the outer
#jira UE-109022
#preflight 63235b73600516561b0d4c85
#rb Tyson.Brochu

[CL 22052305 by david hill in ue5-main branch]
2022-09-16 12:46:36 -04:00
rinat abdrashitov
088dd11b8e Fixed a bug where the number of the vertical slices being generated is always off by one in the Sphere Primitive Tool.
#rb david.hill
#jira UE-155964
#preflight 6320aed8bc40358fa2a35ad5

[CL 21991971 by rinat abdrashitov in ue5-main branch]
2022-09-13 16:37:27 -04:00
Jimmy Andrews
d1ef80c8e0 add F-to-focus support to 'add primitive' tools
#rb semion.piskarev
#preflight 630fa99a501b64ba336d6963

[CL 21725843 by Jimmy Andrews in ue5-main branch]
2022-08-31 15:03:06 -04:00
michael balzer
87434d10c7 MeshModelingTools: Remove redundant bSnapToGrid property
#preflight 6306abfe03520e063c1286d3
#jira UE-152108

[CL 21566278 by michael balzer in ue5-main branch]
2022-08-25 11:56:30 -04:00
Leon Huang
19877e39c5 Fix for duplicate localization key warnings and missing localization defines/undefines in various files.
#rnx
#rb: Vincent.Gauthier
#jira: UE-151614
#preflight: 628fc4a98c23e52ef0fdfa7d

[CL 20384450 by Leon Huang in ue5-main branch]
2022-05-26 16:11:10 -04:00
semion piskarev
7ef7ce975b MeshModelingTools: Make the Add Primitive tools accept/cancel so that the initial click can place the mesh and then the settings can be modified before accepting the tool.
#rb Lonnie.Li
#jira none
#preflight 621e1b99ca28c55634269d9e

[CL 19197245 by semion piskarev in ue5-main branch]
2022-03-01 08:45:05 -05:00
ryan schmidt
f5d5ecc309 ModelingTools: fix LWC issues in scene snapping and AddPrimitiveTool. Convert MeshDebugDraw grid-drawing functions to use double instead of float, and update call sites.
#rb jimmy.andrews
#jira UE-142391
#preflight 620ab60d583261b0a665cdc2
#rnx

#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 18985048 in //UE5/Release-5.0/... via CL 18985896 via CL 18987678
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18988038 by ryan schmidt in ue5-main branch]
2022-02-14 18:32:46 -05:00
fred kimberley
7fbfaf57c8 Require explicit constructors/casts when converting between FVector, FVector3d, and FVector3f.
#jira UE-122078
#rb Andrew.Davidson, Colin.McGinley
#preflight standard build

#ROBOMERGE-AUTHOR: fred.kimberley
#ROBOMERGE-SOURCE: CL 18817999 in //UE5/Release-5.0/... via CL 18818012 via CL 18822871
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824721 by fred kimberley in ue5-main branch]
2022-02-02 07:59:31 -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
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
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
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
35cb7ccf8f ToolsFramework: move support for scene location/angle snapping from ToolContextInterfaces/IContextQueriesAPI to USceneSnappingManager, a context store object that different modes may wish to implement.
USceneSnappingManager currently only provides the current snapping interface and a no-op implementation.
Move existing EdModeInteractiveToolsContext snapping implementation to ModelingSceneSnappingManager in ModelingComponents module.
Add IContextQueriesAPI::GetCurrentSnappingSettings to allow ITF Host to specify snapping settings, implement in EdModeInteractiveToolsContext.
Update affected Tools/Gizmos, register ModelingSceneSnappingManager instance in Modeling EdMode.

#rb semion.piskarev
#rnx
#jira none
#preflight 6171b7654d6efa00017a0450

#ROBOMERGE-OWNER: ryan.schmidt
#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 17890511 in //UE5/Release-5.0/... via CL 17890705
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v883-17842818)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17890711 by ryan schmidt in ue5-release-engine-test branch]
2021-10-21 16:57:00 -04:00
michael balzer
3caf3146fe MeshModelingTools: Cleanup Shapes tools
#rb ryan.schmidt, matija.kecman
#preflight 616a6d0fbbadb30001ca74dd

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

[CL 17849400 by michael balzer in ue5-release-engine-test branch]
2021-10-18 14:21:53 -04:00
michael balzer
3b2db86a02 MeshModelingToolset: Generate tangents in UAddPrimitiveTool via new function to calculcate tangents in UPreviewMesh
#jira UE-131425
#rb ryan.schmidt, lonnie.li, jimmy.andrews
#preflight 6168a740855ebb000198e232
#rnx

#ROBOMERGE-AUTHOR: michael.balzer
#ROBOMERGE-SOURCE: CL 17824560 in //UE5/Release-5.0/... via CL 17824593
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v881-17767770)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17824596 by michael balzer in ue5-release-engine-test branch]
2021-10-14 20:20:28 -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