Commit Graph

2 Commits

Author SHA1 Message Date
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
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