121 Commits

Author SHA1 Message Date
evgenii babinets
8b253ecbd2 Fixed more ISPC per-kernel variables not having or not using the preprocessor define for the default value.
#rb jordan.cristiano

[CL 36246631 by evgenii babinets in 5.5 branch]
2024-09-12 17:30:45 -04:00
tiago costa
278827a78a [Ray Tracing Instance Gathering Refactor] Refactored dynamic ray tracing instance gathering.
- Deprecated FRayTracingMeshResourceCollector and FRayTracingMaterialGatheringContext.
- Instead GetDynamicRayTracingInstances(...) implementations should use the new FRayTracingInstanceCollector which extends FMeshElementCollector with ray tracing functionality (AddRayTracingInstance/AddReferencedGeometryGroup/AddRayTracingGeometryUpdate)
    - this is similar to GetDynamicMeshElements(...) using FMeshElementCollector.
    - FRayTracingInstanceCollector uses a dedicated RHI command list to gather instances, which is different than FRayTracingMaterialGatheringContext which used the immediate command list.
- Moved dynamic instance gathering logic in RayTracing.cpp into a new class FDynamicRayTracingInstancesContext laying the foundation of gathering dynamic instances in parallel threads on follow up changes.

#rb Kenzo.Terelst

[CL 36034312 by tiago costa in ue5-main branch]
2024-09-05 05:19:35 -04:00
kenzo terelst
11d1e11a61 Store SegmentIndex as int32 instead of uint8 (all code setting the segment index works with int32 and there are no checks on downcasts which can cause overflow with 256+ segments)
#rb Jason.Nadro

[CL 35767222 by kenzo terelst in ue5-main branch]
2024-08-23 04:44:50 -04:00
anousack kitisa
ad00c245ec Fixed missing call to Super::PreSave in GeometryCache::PreSave.
#jira UE-222336
#rnx

[CL 35737570 by anousack kitisa in ue5-main branch]
2024-08-22 09:30:13 -04:00
anousack kitisa
a87056bb80 USD: Added a stage option to handle when the geometry caches are imported when in stage workflow.
#jira UE-210538
#rb daniel.coelho

[CL 35664672 by anousack kitisa in ue5-main branch]
2024-08-20 15:19:18 -04:00
anousack kitisa
caa6dfd8f6 USD: Fixed streaming GeometryCache not updating frame in some situation.
Fixed USD.GeometryCache.ForceImport cvar not working.
Fixed GeometryCaches hashing to the same asset even with different timecodes.

#jira UE-190348
#rb daniel.coelho

[CL 35537071 by anousack kitisa in ue5-main branch]
2024-08-14 12:07:47 -04:00
vedang javdekar
8b3896b403 [BUGFIX] GeometryCacheAssetEditorToolkit - Localization Build Fails
#jira UE-221308
#rb JeanLuc.Corenthin

[CL 35369501 by vedang javdekar in ue5-main branch]
2024-08-07 11:04:22 -04:00
tiago costa
cfa3a09995 Fix FGeometryCacheSceneProxy not correctly handling ray tracing geometry being evicted.
- also change behavior so ray tracing geometry is released when it doesn't have any Segments/TotalPrimitiveCount is zero.

#jira UE-220478
#rb aleksander.netzel

[CL 35313037 by tiago costa in ue5-main branch]
2024-08-05 14:15:57 -04:00
marc audy
35f9ed49f3 Eliminate MSVC vtable padding and other packing cleanup in the associated classes
#rnx

[CL 35238395 by marc audy in ue5-main branch]
2024-08-01 01:01:38 -04:00
vedang javdekar
25feae5608 MLD - Preview for .abc files
- Custom Preview for .abc files.
- Ability to inspect animation with a timeline control
- Editor Viewport for Geometry Cache assets

#jira UE-177999
#rb Anousack.Kitisa

[CL 35090565 by vedang javdekar in ue5-main branch]
2024-07-25 14:36:40 -04:00
anousack kitisa
9e1065638f Fixed reimporting GeometryCache was adding new material slots each time it was reimported.
#jira UE-219883

[CL 34997086 by anousack kitisa in ue5-main branch]
2024-07-22 15:58:23 -04:00
zhenglin geng
e602add307 ChaosClothGenerator: support skeletal mesh with multiple parts
[FYI] charles.anderson

[CL 33731570 by zhenglin geng in ue5-main branch]
2024-05-17 14:34:53 -04:00
daniel coelho
4d97f09585 GeometryCache: Replace AssetActions usage with AssetDefinitions.
#jira UE-179527
#rb Anousack.Kitisa

[CL 33593518 by daniel coelho in ue5-main branch]
2024-05-11 05:49:30 -04:00
chris kulla
085005b226 Ray Tracing: Ensure that ReverseCulling does not depend on the matrix determinant and observe ReverseCulling where appropriate
The DXR specification states that backface culling is not affected by the transform, so there is no need to set this flag based on the transform determinant.

Additionally, update the creation of mesh batches to take into account the reverse culling flag on the primitive (when present) for consistency with the raster behavior.

#rb Krzysztof.Narkowicz

[CL 33212381 by chris kulla in ue5-main branch]
2024-04-24 16:43:23 -04:00
anousack kitisa
a826fa885d ISPC: GeometrySceneProxy optimizations
Submitting on behalf of Refik Karic (Intel)

#rb Anousack.Kitisa

[CL 31952100 by anousack kitisa in ue5-main branch]
2024-03-01 14:44:06 -05:00
tiago costa
e1e92e4284 Deprecate public access to RayTracingGeometryRHI in FRayTracingGeometry.
- use GetRHI() instead.

[FYI] aleksander.netzel

[CL 31843065 by tiago costa in ue5-main branch]
2024-02-27 11:57:07 -05:00
chris kulla
829871eed3 Fix holdout flag on GeometryCache primitives
Added function to set up dynamic UB parameters using the existing proxy BuildUniformShaderParameters function to avoid divergence in functionality. This pattern should eventually be used in the other dynamic primitives.

#jira UE-206282
#rb Juan.Canada

[CL 31731747 by chris kulla in ue5-main branch]
2024-02-22 15:10:24 -05:00
christopher waters
5a0e169c6d Getting more headers compiling solo on Win64.
#rb joe.kirchoff, henrik.karlsson

[CL 31663239 by christopher waters in ue5-main branch]
2024-02-20 18:57:35 -05:00
steve robb
f8d47335a4 Replaced RemoveAt(N, 1, EAllowShrinking::*) with RemoveAt(N, EAllowShrinking::*).
[CL 31626444 by steve robb in ue5-main branch]
2024-02-19 16:51:58 -05:00
anousack kitisa
9ddbeed9ac USD: Fixed possible crash due to USD GeometryCache with bad data.
#jira UE-198575
#rb daniel.coelho, JeanLuc.Corenthin

[CL 31563040 by anousack kitisa in ue5-main branch]
2024-02-16 09:20:17 -05:00
anousack kitisa
86ace04261 GeometryCache: Fixed crashes when rendering geometry cache due to parallelization of GDME.
#jira UE-201034, UE-203975
#rnx
#rb JeanLuc.Corenthin, zach.bethel

[CL 31447776 by anousack kitisa in ue5-main branch]
2024-02-13 16:51:06 -05:00
anousack kitisa
42edc833e0 GeometryCache: Fixed truncation warnings
#jira UE-173965
#rb JeanLuc.Corenthin

#changelist validated
#virtualized

[CL 31229817 by anousack kitisa in ue5-main branch]
2024-02-06 16:15:59 -05:00
jeanfrancois dube
5a313bdbf0 Property Coloration Revival:
- This functionality was lost at some point during UE4 and wasn't bound to anything in the engine since then.
- Removed all property coloration specific code and made it go through the new Actor Coloration Framework, and kept the original white color for non-matching objects and red for matching objects.
- In UE3, property coloration was bound to shift-click on a property, but this was replaced by copy/paste in UE4, so this is now bound to control-click instead.

#rb Sebastien.Lussier
[FYI] Brooke.Hubert, Aditya.RaviChandran

[CL 31084023 by jeanfrancois dube in ue5-main branch]
2024-02-01 08:04:34 -05:00
andrew rodham
c262d4f937 Sequencer: Outliner UX improvements
This change represents the final round of improvements to the Sequencer outliner UI per UX team's mockups. The notable changes are:

 - All widgets on the outliner are now properly aligned and maintained through a rich and extensible column management API. All columns can be toggled on and off as desired.
 - Previous/Add/Next key navigation buttons have updated icons and spacing and are consistent with the pin/lock/mute/solo icons
 - Labels and edit widgets will now forcibly overflow other, less important, widgets on hover if they are occluded because of a narrow overal outliner width
 - All rows now have a separator line
 - Track rows are now uniform heights
 - Lock camera button is now more prominent

#rb Max.Chen
#jira UE-200166

[CL 30976450 by andrew rodham in ue5-main branch]
2024-01-29 15:28:45 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00