Commit Graph

10 Commits

Author SHA1 Message Date
sebastien lussier
8bf6168221 World Partition HLODs - Rely on FISMComponentDescriptor to perform batching for Instanced HLODs
#rb richard.malo, jeanfrancois.dube, patrick.enfedaque

#ROBOMERGE-SOURCE: CL 16603616 via CL 16605096
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16605206 by sebastien lussier in ue5-release-engine-test branch]
2021-06-09 10:43:14 -04:00
sebastien lussier
4c88fc99af Approximate Actors HLOD
* Moved duplicated code that was constructing a IGeometryProcessing_ApproximateActors::FOptions from a FMeshApproximationSettings to FApproximateActorsImpl::ConstructOptions()
* Added mesh generation options
** bAllowDistanceField - on by default
** bSupportRayTracing - on by default
** bGenerateLightmapUVs - off by default

* Disable creation of physics body for HLOD

* Scale texture size based on grid promotion (higher z grid index -> higher area covered) - Only temporary, will probably switch to a texel density option instead

#rb ryan.schmidt, jeanfrancois.dube, luc.eygasier

#ROBOMERGE-SOURCE: CL 16538607 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v828-16531559)

[CL 16538620 by sebastien lussier in ue5-main branch]
2021-06-02 16:08:31 -04:00
sebastien lussier
86bb362ad2 World Partition HLOD - Add support for nanite meshes & generating virtual textures to the Actors Approximation merge method
* Use the global engine DefaultHLODFlattenMaterial, which expects virtual textures
* Propagate newly added mesh merge options to the IGeometryProcessing_ApproximateActors::FOptions struct
* Added "EmissiveHDRTexture" texture nodes and "UseEmissiveHDR" options to both FlattenMaterial & FlattenMaterial_VT - will be used by the Actor Approx. HLODs
#rb jeanfrancois.dube, ryan.schmidt

#ROBOMERGE-SOURCE: CL 16505841 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v826-16501804)

[CL 16505847 by sebastien lussier in ue5-main branch]
2021-05-29 21:45:35 -04:00
sebastien lussier
783b045f6f Copy PerInstanceData when creating instanced HLODs
#rb luc.eygasier
#preflight 60afb2473dce58000186efe1

#ROBOMERGE-SOURCE: CL 16486287 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v823-16466674)

[CL 16486301 by sebastien lussier in ue5-main branch]
2021-05-27 11:57:35 -04:00
sebastien lussier
81d6ae77dc Make sure all assets compilation have completed before building an HLOD
#rb patrick.enfedaque

#ROBOMERGE-SOURCE: CL 16484052 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v823-16466674)

[CL 16484321 by sebastien lussier in ue5-main branch]
2021-05-27 10:31:47 -04:00
julien lheureux
0aa52f6cc0 Fixed ISM component AddInstances call that were incorrectly replaced in CL 16329274.
#rb jamie.dale
#rnx

#ROBOMERGE-SOURCE: CL 16417474 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v811-16416015)

[CL 16417695 by julien lheureux in ue5-main branch]
2021-05-21 09:34:00 -04:00
Jamie Dale
ec9161823d Cleaned-up redundant include of UInstancedStaticMeshComponent
This was being included in a header that is included throughout the engine, resulting in any changes to UInstancedStaticMeshComponent triggering an extensive build (2,500-3,000 actions).
After this change it only triggers a build of ~140 actions (EngineTest).

Code that was relying on this implicit include has been updated to include the header if required.

#fyi Ryan.Schmidt
#preflight 60a298adfe43a700014dd14b

[CL 16359882 by Jamie Dale in ue5-main branch]
2021-05-17 17:49:46 -04:00
Jamie Dale
ed869fce3c Deprecated AddInstanceWorldSpace in favor of AddInstance or AddInstances with bWorldSpace set to true
#preflight 609da75922cce00001b3c1b3, 609dc020423c960001c81e10
#fyi Brooke.Hubert

[CL 16329274 by Jamie Dale in ue5-main branch]
2021-05-14 10:07:23 -04:00
Sebastien Lussier
fec9e8df17 WorldPartition HLOD - First pass at hooking MeshApproximation merge method to HLODs
#rb patrick.enfedaque

[CL 16254621 by Sebastien Lussier in ue5-main branch]
2021-05-10 16:13:14 -04:00
Sebastien Lussier
df9948004e Moved WP HLOD Builder to it's own module, WorldPartitionHLODUtilities
Necessary to avoid dragging more geometry tools directly in the Engine module when the new Mesh Approximation merge method will be integrated to HLOD
#rb jeanfrancois.dube

[CL 16207912 by Sebastien Lussier in ue5-main branch]
2021-05-05 11:27:05 -04:00