Commit Graph

305 Commits

Author SHA1 Message Date
lonnie li
890125f92d ModelingComponents: Expose LineSetComponent as a blueprint spawnable component.
#rb Jimmy.Andrews
#jira UE-215334

[CL 33807767 by lonnie li in ue5-main branch]
2024-05-21 16:17:13 -04:00
katie caputo
c9c94e18c0 Modeling Tools: Updates the visual display of Mesh Element Selection so that only applicable components are displayed depending on the selection mode
#JIRA UE-206070
#rb lonnie.li

[CL 33732970 by katie caputo in ue5-main branch]
2024-05-17 15:06:29 -04:00
katie caputo
e1fb5dfb17 Modeling Tools: Resolves flickering which happened when hovering over a selected element in MeshElementSelection
#JIRA UE-214897
#rb lonnie.li

[CL 33729003 by katie caputo in ue5-main branch]
2024-05-17 13:17:01 -04:00
katie caputo
d51c81777b Modeling Tools: light cleaning up functions relating to selection, no functionality change
#rb lonnie.li

[CL 33727981 by katie caputo in ue5-main branch]
2024-05-17 12:51:01 -04:00
benoit gadreau
77adc25814 DynamicMeshProvider: full support for MeshDescription LODs when converting to DynamicMesh
a FGetMeshParameters parameter is now used to request a specific LOD, as well as the option of requesting tangents
    this will also allow further customization in the future, if required, by adding attributes to the FGetMeshParameters struct


#rb halfdan.ingvarsson, Jimmy.Andrews
#rnx

[CL 33681647 by benoit gadreau in ue5-main branch]
2024-05-16 04:43:12 -04:00
kiaran ritchie
ab4ff07e7d Added ability to select edges and faces in skin paint tool.
Adds Grow/Shrink/Flood ability to both edges and faces in UPolygonSelectionMechanic

#rb halfdan.ingvarsson
#JIRA UE-209462

[CL 33673217 by kiaran ritchie in ue5-main branch]
2024-05-15 18:12:58 -04:00
katie caputo
d2d550ceb1 Modeling Tools: Replaces the existing PDI implementation of MeshElementSelection to use PreviewGeometry
#JIRA UE-189444
#rb lonnie.li

[CL 33610721 by katie caputo in ue5-main branch]
2024-05-13 18:32:09 -04:00
lonnie li
a746e676fb ModelingTools: Added a new cvar (modeling.CapturePostEditChangeInTransactions, default=true). When set to false, PostEditChange will be excluded from tool-target based modeling tool transactions.
#rb David.Hill, semion.piskarev
#jira UE-209978

[CL 33496407 by lonnie li in ue5-main branch]
2024-05-07 17:25:47 -04:00
jimmy andrews
852f4ebae9 Fix incorrect initialization of section index -> material index mapping to fix crash in copy mesh to static mesh geometry script method + add additional validation of polygon group IDs
#rb David.Hill

[CL 33343520 by jimmy andrews in ue5-main branch]
2024-04-30 13:14:18 -04:00
katie caputo
a7bd886565 Modeling Tools: Implement the selection Mapping Flags for MeshElementSelection and clarify its related code
#JIRA UE-212714
#rb lonnie.li

[CL 33334853 by katie caputo in ue5-main branch]
2024-04-30 09:10:14 -04:00
jimmy andrews
0c7ff195bd Fix backwards compat issue with material handling for static mesh -> dynamic mesh geometry script:
Revert the default behavior of CopyMeshFromStaticMesh to again use section material indices, rename it to make it clear that it does so, and make a CopyMeshFromStaticMeshV2 w/ the more-expected default behavior of using the regular material indices (and a new parameter to control the behavior)

+ add a method to more easily get the regular materials list off of a static mesh asset.
#rb David.Hill

[CL 33314364 by jimmy andrews in ue5-main branch]
2024-04-29 16:57:22 -04:00
jimmy andrews
91f66a42f6 fix gizmo not showing up for modeling mode geometry selection after selection element type / topology mode change
#rb jimmy.andrews

[CL 33214061 by jimmy andrews in ue5-main branch]
2024-04-24 17:33:01 -04:00
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
jimmy andrews
558c86d50b Make modeling mode element selections auto-convert when user changes the active selection mode (if a conversion is implemented)
#rb rinat.abdrashitov

[CL 33116028 by jimmy andrews in ue5-main branch]
2024-04-19 16:41:11 -04:00
katie caputo
87533ccde8 Modeling Tools: Add support for customizing colors in Mesh Element Selection, add support for different between hovering over a selected vs non-selected elements, fix issues with EnumerateSelectionEdges
#JIRA UE-209421 UE-206063
#rb nickolas.drake

[CL 33070091 by katie caputo in ue5-main branch]
2024-04-18 09:20:08 -04:00
david hill
b6b8fe44a4 Expose mehtods that create and update FMeshRenderBufferSets from FDynamicMesh3 so this can be used outside the DynamicMeshSceneProxy.
#rb Jimmy.Andrews

[CL 33008830 by david hill in ue5-main branch]
2024-04-16 14:28:43 -04:00
jimmy andrews
d746768753 add a nullptr check to component collision util's ConvertSimpleCollisionToMeshes, method, fixing consistent crash in Geometry Script's CopyCollisionMeshesFromObject method
#rb jimmy.andrews

[CL 33005098 by jimmy andrews in ue5-main branch]
2024-04-16 12:52:30 -04:00
steve robb
bd31b2021c Fixed miscelleneous potentially uninitialized FVectors.
#jira UE-87511

[CL 32980682 by steve robb in ue5-main branch]
2024-04-15 20:17:01 -04:00
jimmy andrews
f078f45100 make mesh asset functions' static mesh to dynamic mesh conversion use the same conversion code as the scene component conversion
#rb David.Hill

[CL 32555211 by jimmy andrews in ue5-main branch]
2024-03-27 15:55:30 -04:00
katie caputo
9170a72472 Modeling Tools: Adds Geometry Selection Support for the Smooth Tool
#JIRA UE-181659
#rb lonnie.li

[CL 32507530 by katie caputo in ue5-main branch]
2024-03-26 09:48:04 -04:00
jimmy andrews
beb2de44e2 fix crash if trying to convert a cooked-for-editor geometry collection
#rb lonnie.li

[CL 32384802 by jimmy andrews in ue5-main branch]
2024-03-20 18:18:17 -04:00
katie caputo
ae362b0c01 Modeling Tools: Adds Geometry Selection Support for the Split Tool
#JIRA UE-181657
#rb lonnie.li

[CL 32336604 by katie caputo in ue5-main branch]
2024-03-19 15:45:02 -04:00
lonnie li
8412050e52 ModelingTools: Disable Convert tool on bIsCookedForEditor StaticMesh and SkeletalMesh assets again to prevent crashes when running the tool on read-only cooked assets in UEFN.
#rb Jimmy.Andrews

[CL 32057046 by lonnie li in ue5-main branch]
2024-03-06 12:02:31 -05:00
jimmy andrews
faeb30bea8 make tools use a more consistent path to get dynamic meshes from tool targets
#jira UE-200228
#rb David.Hill

[CL 32004665 by jimmy andrews in ue5-main branch]
2024-03-04 18:35:47 -05:00
jimmy andrews
f79612960d make static mesh <-> dynamic mesh conversion be aware of section (polygon group ID) to material index mappings
#jira UE-200228
#rb David.Hill

[CL 32004596 by jimmy andrews in ue5-main branch]
2024-03-04 18:33:07 -05:00