Commit Graph

6 Commits

Author SHA1 Message Date
sebastien lussier
320ff53c05 Added MeshAutoUV to GeometryProcessingInterface
* Required for future changes to improve the mesh merging capability to cope with missing/invalid UVs when trying to perform material baking.
#rb ryan.schmidt

[CL 26014245 by sebastien lussier in ue5-main branch]
2023-06-15 10:37:22 -04:00
ryan schmidt
e995540d36 CombineMeshInstances: Add support for merging faces after removing hidden faces. Provide a mechanism for external calling code to prevent this merging based on external "Grouping ID" (eg color index, etc). Add CVar geometry.CombineInstances.Verbose, when enabled, multi-threaded LOD generation is disabled and various log info is printed during the process.
#preflight 64077b295515f4f57b490fe0

[CL 24546957 by ryan schmidt in ue5-main branch]
2023-03-07 15:37:16 -05:00
ryan schmidt
cd615fdc43 Add initial version of new CombineMeshInstances geometry processing Modular Feature and initial implementation. This modular feature is used to construct a 'merged' mesh for a large number of input mesh instances, with the idea that simplifying or abstracting each instanced base mesh (ie unique "part") before appending will produce a better (ie more accurate + lower polycount) combined mesh than trying to combine first and then do standard simplification technqiues on the merged mesh. Currently only per-part simplification and fitting oriented boxes is supported. This is a functional checkpoint of work in progress.
#preflight 63fba7bedd78dd50f633a33a

[CL 24419571 by ryan schmidt in ue5-main branch]
2023-02-26 21:00:47 -05:00
semion piskarev
d965552bcf UVEditor: Cleanup having to do with the modeling tools button. Clarify comments, remove UV editor from IGeometryProcessingInterfacesModule interface since it shouldn't have multiple implementations and isn't a processing algorithm, rename classes that sound like they are asset editors in themselves.
#rb Nathan.Mitchell, Ryan.Schmidt
#jira none
#preflight 6377f29c2a05dabce9561a39

[CL 23206945 by semion piskarev in ue5-main branch]
2022-11-18 17:14:55 -05:00
nathan mitchell
7b4deab5ed UVEditor: Add support for new launcher button to appear in the Modeling Mode UV tools category. Introduces a new GeometryProcessingInterface to connect Modeling Mode to the UV Editor plugin while allowing the UV Editor plugin to be optional still.
#rb Ryan.Schmidt
#preflight 63052b2b0061f895d02a06f2

[CL 21518175 by nathan mitchell in ue5-main branch]
2022-08-23 16:01:30 -04:00
Ryan Schmidt
946b918d4a Add GeometryProcessingInterfaces module in /Developer. This module exists to define abstract interfaces to high-level geometry operations, which the core Engine/Editor can see, but which can be implemented by plugins. Currently only ApproximateActors interface is defined, which will allow the ProxyLOD and HLOD systems to use implementations that depend on the MeshModelingToolset and GeometryProcessing plugins.
Add GeometryProcessingAdapters module to MeshModelingToolset, this is an Editor-only module that implements GeometryProcessingInterfaces APIs

Add ApproximateActors implementation in GeometryProcessingAdapters that uses GeometryProcessing (FastWindingNumber / MeshMorphology / Simplify / UVGen / Tangents) and a new material-baking process based on render captures to generate a new StaticMesh Asset / Material / Textures that approximate the input Actor set.

#rb none
#rnx
#jira none
#preflight 608b25ced4026b0001cbe9c4

[CL 16162961 by Ryan Schmidt in ue5-main branch]
2021-04-29 18:12:32 -04:00