Commit Graph

17 Commits

Author SHA1 Message Date
lonnie li
71d5092007 ModelingTools: Refactor SingleSelectionTool to ToolTargets (pt.2)
#rb ryan.schmidt jimmy.andrews
#jira none
#rnx
#preflight 605a54c0e8944a0001585162

[CL 15799514 by lonnie li in ue5-main branch]
2021-03-24 11:11:02 -04:00
Ryan Schmidt
9495a8a112 GeometryProcessing: remove FTransform3f/d and FPlane3f/d from ExplicitUseGeometryMathTypes.h and clean up fallout
#rb none
#rnx
#jira none

[CL 15739090 by Ryan Schmidt in ue5-main branch]
2021-03-18 12:46:27 -04:00
David Hill
6faeada6b9 Mesh Modeling : Move restore visiblity to before transaction in Subd, Lattice, Tangents, ParameterizeMesh tools so the orginal mesh will be visible (not hidden) if we undo after exiting the tool.
#fyi ryan.schmidt

[CL 15683909 by David Hill in ue5-main branch]
2021-03-11 21:27:23 -04:00
Ryan Schmidt
ffe3b401cd GeometryProcessing: move all public types in GeometryProcessing plugin into UE::Geometry:: namespace, as well as some code in MeshModelingToolset. Fix fallout in Water, Paint Mode, ChaosEditor, DataPrep, Text3D, Unit Tests, internal projects.
#rb jimmy.andrews, semion.piskarev
#jira none

[CL 15661651 by Ryan Schmidt in ue5-main branch]
2021-03-09 19:33:56 -04:00
ryan schmidt
7509dd9dcb ModelingMode UX: add display of active tool icon to Viewport Overlay, fix up missing/incorrect tool display names
#rb none
#rnx
#jira none

#ROBOMERGE-OWNER: ryan.schmidt
#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 15567074 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)
#ROBOMERGE-CONFLICT from-shelf

[CL 15567090 by ryan schmidt in ue5-main branch]
2021-03-02 03:12:39 -04:00
tyson brochu
91859c599d Deform mesh normals in FFDLattice. Computes the Jacobian of the trilinear or tricubic interpolation functions and rotates the original normals by the inverse Jacobian transpose times the determinant of the Jacobian.
#rb jimmy.andrews david.hill
#rnx
#jira none

[CL 15454087 by tyson brochu in ue5-main branch]
2021-02-18 13:06:34 -04:00
Jimmy Andrews
6c699a2ce3 change all the modeling / geometry tools shared pointers to thread safe mode, because they're often used in background threads
#rb ryan.schmidt
#rnx

[CL 15435521 by Jimmy Andrews in ue5-main branch]
2021-02-17 11:50:23 -04:00
ryan schmidt
47311d8f7e ModelingTools UX: change tool names so that label now visible in the main viewport corresponds to icon name. Update accept/cancel/complete tooltips and button styles.
#rb none
#rnx
#jira none

#ROBOMERGE-OWNER: ryan.schmidt
#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 15348621 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)
#ROBOMERGE-CONFLICT from-shelf

[CL 15360215 by ryan schmidt in ue5-main branch]
2021-02-08 17:02:09 -04:00
semion piskarev
c58d14bad3 MeshModelingTools: Added ability to speed up tool preview mesh updates when mesh topology remains constant. Used it in LatticeDeformer tool. Also made preview object move the result mesh rather than do a copy.
#rb Jimmy.Andrews
#rnx
#jira none

[CL 15066690 by semion piskarev in ue5-main branch]
2021-01-13 10:21:41 -04:00
semion piskarev
ddeea7059e MeshModelingTools: Added marquee select of vertices and edges in PolyEdit tool. Also refactored the selection mechanic to handle its own behaviors and adusted the using tools.
#rb Jimmy.Andrews, Tyson.Brochu
#jira UETOOL-2393
#rnx

[CL 14744531 by semion piskarev in ue5-main branch]
2020-11-13 12:09:55 -04:00
tyson brochu
d6e27cd538 Split out the rectangle marquee selection code from LatticeControlPointsMechanic so it can be used by other mechanics.
#jira UETOOL-2395
#rb semion.piskarev jimmy.andrews
#rnx

[CL 14549552 by tyson brochu in ue5-main branch]
2020-10-22 17:33:40 -04:00
tyson brochu
2eab64d767 - Support world and local space modes for lattice deformer gizmos.
- Make gizmo transform change due to point selection change undoable.
- Add a "set pivot" mode to lattice deformer tool.
- Use either ctrl or shift to append points to the current selection.

#jira UETOOL-2356
#rb ryan.schmidt michael.daum david.hill
#rnx

[CL 14504902 by tyson brochu in ue5-main branch]
2020-10-15 16:58:52 -04:00
tyson brochu
e59c05689f Replace a boolean parameter with an enum class. I think it's clearer to pass in "Linear" than "false".
Also some code formatting fixes.

#jira UETOOL-2222
#rb michael.daum jimmy.andrews
#rnx

[CL 14398178 by tyson brochu in ue5-main branch]
2020-09-25 13:58:13 -04:00
tyson brochu
dfb9f06020 Lattice deformer: only draw the marquee selection rectangle in the focused viewport.
#jira UETOOL-2373
#rnx
#rb david.hill michael.daum

[CL 14378439 by tyson brochu in ue5-main branch]
2020-09-23 13:26:50 -04:00
michael daum
6d663c6489 InteractiveToolsFramework: Add render query information to tell if a viewport is hovered and/or focused
#rb ryan.schmidt
#rb tyson.brochu

[CL 14345629 by michael daum in ue5-main branch]
2020-09-18 09:25:18 -04:00
tyson brochu
9e4da11359 Add a user-editable relative Padding property to ULatticeDeformerToolProperties to give the user a bit of control over the lattice size. We were just padding by a hardcoded absolute value.
#jira UETOOL-2362
#rnx
#rb ryan.schmidt

[CL 14314126 by tyson brochu in ue5-main branch]
2020-09-14 19:05:54 -04:00
tyson brochu
69458919ab Simple free-form deformation (FFD) lattice tool. Create a hexahedral grid (lattice) around the mesh, allow the user to move the lattice, and deform the mesh accordingly. Cubic and linear interpolation from lattice control points to mesh vertices are both supported, as is user-defined lattice resolution. Control points can be selected individually or with a rectangle selection.
#jira UETOOL-2222 UETOOL-2355
#rb semion.piskarev

[CL 14311916 by tyson brochu in ue5-main branch]
2020-09-14 15:35:20 -04:00