Commit Graph

13 Commits

Author SHA1 Message Date
tyson brochu
2cd7a4943d AutoLOD: don't run UV packing if the input mesh is empty
#jira UE-139236
#rnx
#rb ryan.schmidt
#preflight 61e1f70200246899a950be81

#ROBOMERGE-AUTHOR: tyson.brochu
#ROBOMERGE-SOURCE: CL 18624665 in //UE5/Release-5.0/... via CL 18624697 via CL 18624731
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18624746 by tyson brochu in ue5-main branch]
2022-01-14 17:54:30 -05:00
tyson brochu
d4e84148eb AutoLOD: prevent a hard crash if a node input mesh doesn't have attributes
#rnx
#rb ryan.schmidt
#preflight 61df6677ff67b6fe7ac81ca9

#ROBOMERGE-AUTHOR: tyson.brochu
#ROBOMERGE-SOURCE: CL 18592140 in //UE5/Release-5.0/... via CL 18592157 via CL 18592170
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18592176 by tyson brochu in ue5-main branch]
2022-01-12 19:14:04 -05:00
tyson brochu
9c5894b63b AutoLOD: Pass EvaluationInfo to node ProcessMesh functions. Make GenerateUVs and GenerateConvexHullMesh cancellable.
#rnx
#rb rinat.abdrashitov
#robomerge[starship] 5.0
#preflight 614cb58d88dbdb000179f1cf

[CL 17611355 by tyson brochu in ue5-main branch]
2021-09-23 14:24:45 -04:00
tyson brochu
19a91497ec Add Convex Hull mesh generator option to AutoLOD
#jira UETOOL-2871
#rb jimmy.andrews
#preflight 61450a4a11925a00011c4043

[CL 17560267 by tyson brochu in ue5-main branch]
2021-09-17 19:30:40 -04:00
michael balzer
621afc71a7 GeometryFlow: Resolve PVS-Studio warnings in FMeshMakeCleanGeometry
#jira UE-126635
#rb trivial

[CL 17505807 by michael balzer in ue5-main branch]
2021-09-14 12:28:55 -04:00
Ryan Schmidt
5a316da68c AutoLOD: make mesh computation type configurable using new GeometryFlow Switch node, and expose Normals calculation settings in Graph/Process/Tool
GeometryFlow:
Add TSwitchNode node, uses internal integer to select one of N inputs (N is currently defined in template type, so number of inputs is fixed). Add custom util function UpdateSwitchNodeInputIndex() to simplify changing switch integer.
Add FMeshMakeCleanGeometryNode/Settings, strips out undesired attribute sets and fills small holes, to create better input mesh for simplification
Add FSimpleInPlaceProcessMeshBaseNode, just runs some basic geometry operation, makes it easier to make new nodes. Converted FComputeMeshPerVertexOverlayNormalsNode to this base class and added FComputeMeshPerVertexNormalsNode.
Fixed attribute set handling issue in FSimplifyMeshNode

MeshLODToolset:
Added ECoreMeshGeneratorMode enum to FGenerateMeshLODGraph. This setting drives a Switch node that picks between Vox, Vox+Closure, and Simplify-only mesh generation paths.
Added SourceMeshHint to BuildGraph, allows for variable graph construction. Use to skip MaterialID transfer in single-material case.
Change default collision type to aligned boxes (fast and low visual complexity)
Exposed top-level Mesh Generation type, Normals settings in Graph/Process/Tool, minor UI and default changes

#rb tyson.brochu
#rnx
#jira none
#preflight 61391fa89c40ec00012ddec0

[CL 17466797 by Ryan Schmidt in ue5-main branch]
2021-09-08 21:44:50 -04:00
Ryan Schmidt
e196c256e4 GeometryProcessing: remove forwarding headers used in GeometryCore transition, and update all affected includes.
#rb none
#rnx
#jira none
#preflight 60c52c5db9446100014da02d

[CL 16653115 by Ryan Schmidt in ue5-main branch]
2021-06-13 00:35:22 -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
tyson brochu
49d64a7e11 Add a Thicken node to GeometryFlow. Accepts vertex weights and a scalar and moves vertices in the normal direction accordingly.
#jira UETOOL-2943
#rb jimmy.andrews

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

[CL 15426283 by tyson brochu in ue5-main branch]
2021-02-16 19:58:02 -04:00
tyson brochu
a1e18ff827 Move AutoLOD computation to background thread(s). Make GeometryFlow graph execution cancellable.
#jira UETOOL-2947 UETOOL-2979
#rnx

[CL 15273200 by tyson brochu in ue5-main branch]
2021-02-01 14:43:20 -04:00
tyson brochu
799cdb9c44 Fix static analysis by adding ".0f" to a literal.
#rb trivial
#jira UE-104571

[CL 14932134 by tyson brochu in ue5-main branch]
2020-12-15 12:52:30 -04:00
tyson brochu
73b66dadad Geometry flow: add a normal flow remesher node
#jira UETOOL-2811
#rnx
#rb ryan.schmidt

[CL 14919711 by tyson brochu in ue5-main branch]
2020-12-14 15:51:14 -04:00
Ryan Schmidt
029115b18f GeometryProcessing: add new prototype GeometryFlow plugin for implementing expensive geometry processing operations in a node-graph style. Add MeshLODToolset plugin that implements a GeometryFlow graph for processing a high-resolution source mesh+materials into a game-ready staticmesh asset + material instances + collision geometry. GenerateStaticMeshLODAssetTool exposes this process in a Modeling Mode tool.
#rb none
#rnx
#jira none

[CL 14808819 by Ryan Schmidt in ue5-main branch]
2020-11-24 01:17:27 -04:00