Commit Graph

30 Commits

Author SHA1 Message Date
kiaran ritchie
481762b232 Various fixes to skin paint tool
- improved brush falloff and strength rendering
- falloff updates in realtime in viewport when adjusted

#rb halfdan.ingvarsson, tyson.brochu
#JIRA UE-209447

[CL 32976766 by kiaran ritchie in ue5-main branch]
2024-04-15 17:07:34 -04:00
kiaran ritchie
cbf35d507a Backing out changelist 32526171 which was submitted accidentally.
#JIRA UE-210598, UE-210599

[CL 32527242 by kiaran ritchie in ue5-main branch]
2024-03-26 18:30:44 -04:00
kiaran ritchie
d5a1f3a4b9 Various fixes to skin paint tool
- improved brush falloff and strength rendering
- falloff updates in realtime in viewport when adjusted
- added multi-color bone support

#JIRA UE-210598, UE-210599

[CL 32527002 by kiaran ritchie in ue5-main branch]
2024-03-26 18:27:31 -04:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
roey borsteinas
62e4c45d92 Modified the tool requirements for VertexSculpt, DynamicSculpt, and Remesh so that they require DynamicMeshProvider/Commiter rather than MeshDescriptionProvider/Commiter. These tools operate on dynamic meshes internally and this currently blocks any tool targets that cannot provide also MeshDescriptions.
#rb Jimmy.Andrews

[CL 29959189 by roey borsteinas in ue5-main branch]
2023-11-28 09:41:37 -05:00
jimmy andrews
8dc5e94d80 Make the Sculpt Tool Base derived tools and the Dynamic Sculpt Tool use the LongTransactions utility to prevent undo while creating brush/sculpt changes
#rb matija.kecman
#jira UE-197380

[CL 29363186 by jimmy andrews in ue5-main branch]
2023-11-02 09:49:46 -04:00
jimmy andrews
6d14389953 Update comments to make it clear that fchange can be called inside other transactions, and move the dynamic sculpt close-transaction call to after the fchanges so we don't need to rely on the placeholder transaction being empty and deleting itself
#rb rinat.abdrashitov

[CL 28927667 by jimmy andrews in ue5-main branch]
2023-10-19 14:44:22 -04:00
jimmy andrews
d107c44f3a Fix crash on undo during dynamic mesh sculpt brush by creating a dummy transaction while the brush stroke is in progress
#rb tyson.brochu
#rb semion.piskarev

[CL 28779437 by jimmy andrews in ue5-main branch]
2023-10-13 19:26:49 -04:00
jimmy andrews
355aea3bd1 fix cancel drag being turned into accept on the MeshSurfacePointTool-derived classes
#rb semion.piskarev

[CL 28540282 by jimmy andrews in ue5-main branch]
2023-10-06 10:48:24 -04:00
semion piskarev
4cd83b4ef0 MeshModelingTools: Fix crash in dynamic sculpt tool due to preview component being attached to the target actor and being destroyed by blueprint recompiles.
#rb Lonnie.Li, Tyson.Brochu
#jira UE-192200

[CL 27080243 by semion piskarev in ue5-main branch]
2023-08-14 14:55:10 -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
ryan schmidt
9c440097d8 ModelingTools: Disable raytracing and shadows on brush indicators
#rb none
#preflight 632dc8bcd747fe52c8b91f92
#jira none

[CL 22164305 by ryan schmidt in ue5-main branch]
2022-09-23 20:19:15 -04:00
jimmy andrews
9cb743052d Move sculpt plane gizmo to the target object (as much as possible without changing the plane) if it's far from the mesh that is being sculpted
#jira UE-108233
#rb david.hill
#preflight 632a5f40826e0c2fe97b03b8

[CL 22118894 by jimmy andrews in ue5-main branch]
2022-09-21 14:39:25 -04:00
jimmy andrews
2592cedea8 Make sculpt tools focus on the brush w/ 'F'
#jira UE-157392
#preflight 6328d3730a4ad044de452059
#rb david.hill

[CL 22094434 by jimmy andrews in ue5-main branch]
2022-09-20 11:41:41 -04: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
tyson brochu
41c143b3e3 Fix a crash in DynaSculpt tool. Wait for async task to finish before starting a new one.
#jira UE-140897
#rnx
#preflight 61fade79c431b6aac0439b34
#rb jimmy.andrews
#lockdown aurel.cordonnier

#ROBOMERGE-AUTHOR: tyson.brochu
#ROBOMERGE-SOURCE: CL 18832888 in //UE5/Release-5.0/... via CL 18832902 via CL 18833092
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18833113 by tyson brochu in ue5-main branch]
2022-02-02 15:56:53 -05:00
tyson brochu
ed07d7e23a Dynamic sculpt tool: make sure to allow the async task that initializes the remsher to finish
#jira UE-140588
#rnx
#rb jimmy.andrews
#preflight 61f8837a68795b2f4590728a

#ROBOMERGE-AUTHOR: tyson.brochu
#ROBOMERGE-SOURCE: CL 18803064 in //UE5/Release-5.0/... via CL 18803071 via CL 18821572
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821655 by tyson brochu in ue5-main branch]
2022-02-02 01:48:37 -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
ryan schmidt
b5d3c01a65 ModelingTools: restore missing parameters in DynaSculpt Tool. No longer re-using the USculptBrushProperties from the base sculpt tool as it now has a DetailsCustomization that is not appropriate for DSculpt (which needs to be ported to base-sculpt-tool eventually)
#rb tyson.brochu
#rnx
#jira UE-134062
#preflight 61df5822ff67b6fe7ac4c6f1

#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 18591556 in //UE5/Release-5.0/... via CL 18591569 via CL 18591591
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18591609 by ryan schmidt in ue5-main branch]
2022-01-12 18:35:55 -05:00
jimmy andrews
57e17b390d fix brush size visualization not updating in DSclpt tool when brush size is changed via hotkeys
#rb tyson.brochu
#preflight 61b391f9a2562c8b1c3ec26f

#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 18435527 in //UE5/Release-5.0/... via CL 18437425
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18437914 by jimmy andrews in ue5-release-engine-test branch]
2021-12-10 21:24:31 -05:00
jimmy andrews
7bed3e0ebf make brush tools notify property sets of updates done by hotkey actions (to brush size/strength), so the reset arrow correctly updates in the details panels
#jira UE-114680
#rb rinat.abdrashitov
#preflight 61b2e5bac01c89f906d632b3

#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 18431318 in //UE5/Release-5.0/... via CL 18435335
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435573 by jimmy andrews in ue5-release-engine-test branch]
2021-12-10 17:49:08 -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
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
ryan schmidt
46a060555e ModelingTools: minor refactors to Sculpt Tools to support UI customization
- Added new FBrushToolRadius struct that provides a "radius" abstraction that supports adaptive and world parameters
- USculptBrushProperties no longer subclasses UBrushBaseProperties, most parameters were not being used, now uses new FBrushToolRadius
- added UMeshSculptToolBase::FBrushTypeInfo FFalloffTypeInfo, and track one for each registered brush type and falloff type. Allows external UI code to know about available brush and falloff types.
- UMeshVertexSculptTool now has functions to set active brush, falloff, and region filter type that can be used at UI level
- minor updates to various brush ops, dynamic and group paint tool for above refactoring and/or UI stuff

#rb none
#rnx
#jira none
#preflight 617abfa6adc16f00013b673c

#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 17965589 in //UE5/Release-5.0/... via CL 17965607
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v885-17909292)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17965615 by ryan schmidt in ue5-release-engine-test branch]
2021-10-28 13:24:28 -04:00
ryan schmidt
ce73cff681 ModelingTools: set restored wireframe state on DynamicMeshSculptTool startup
#rb none
#rnx
#jira UE-114342

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

[CL 17760393 by ryan schmidt in ue5-release-engine-test branch]
2021-10-08 10:28:45 -04:00