Commit Graph

53 Commits

Author SHA1 Message Date
Anousack Kitisa
fd53366855 Alembic:
* Added material slot names to Geometry Cache and related functions on the component. In particular,calling SetMaterialByName on the component in Blueprint will now work.
* Face set names are now imported from Alembic as material slot names for GeometryCache (and static and skeletal meshes).

#jira UE-149340
#jira UE-172806
#rb Johan.Duparc
#preflight 6408af796e1dadfcda051a57

[CL 24560605 by Anousack Kitisa in ue5-main branch]
2023-03-08 11:05:23 -05:00
michael galetzka
3a26fedce8 Fixed a bug where component renderers were still visible when another emitter was running isolated
#jira UE-173238
#rb stu.mckenna
#preflight 63f6350a9129b42b2555a56b

[CL 24370903 by michael galetzka in ue5-main branch]
2023-02-22 17:27:03 -05:00
henrik karlsson
28e0ff4360 Fixed non unity/pch errors found when building UnrealGame and UnrealEditor without unity/pch
#preflight 63d195abbe435f17b407c589
#rb none
#jira none

[CL 23857972 by henrik karlsson in ue5-main branch]
2023-01-25 17:06:14 -05:00
henrik karlsson
9a1d5b1ad4 [Engine/Plugins]
* Ran IWYU on ~170 plugins to remove includes not needed. Public api still keep old includes inside #if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_2

#preflight 63d09351574ab9cae4670216
#rb none

[CL 23844750 by henrik karlsson in ue5-main branch]
2023-01-25 02:42:36 -05:00
Stu McKenna
a56b8adb14 - Move common IsSupportedVariableForBinding into base renderer
- Ensure we handle IsRendererEnabled consistently

#rb rob.krajcarski
#jira UE-167810
#preflight 63c9df23894b6403145dd216

[CL 23793641 by Stu McKenna in ue5-main branch]
2023-01-20 13:28:41 -05:00
George Rolfe
1cf37c5e8d GeometryCacheStreamingManager fix to not deadlock MapChunk
#jira UE-174505
#jira UE-172304
#rb anousack.kitisa
#preflight 63c8e53c9f0d23c15aac70a2

[CL 23782411 by George Rolfe in ue5-main branch]
2023-01-19 17:39:18 -05:00
henrik karlsson
9183978e29 [Engine/Plugins]
* Removed includes (using IWYU) in private files

#preflight 63c79978ac35a0e9dabbe408
#rb none

[CL 23770038 by henrik karlsson in ue5-main branch]
2023-01-19 00:48:07 -05:00
daren cheng
5d8250f0ec Add support for multiple thumbnail render frequencies.
Preparation changing default thumbnail render frequency.

#jira UE-169079
#preflight 63c08bc902024f93d8c1a650
#rb lauren.barnes, patrick.boutot, brooke.hubert

[CL 23673011 by daren cheng in ue5-main branch]
2023-01-12 20:50:24 -05:00
Andrew Rodham
4ff7bab147 Slate: Initial phase of FVector2D deprecation
- Expanded FDeprecateSlateVector2D to provide structs for parameters, return types and member variables that use FVector2f, while still allowing conversion to/from FVector2d with optional per-module deprecation mechanisms.
  - Many of the high-traffic SlateCore types like FSlateBrush, FGeometry and FSlateLayoutTransform have been converted to use these deprecation mechanisms.
  - Some legacy FGeometry::ToPaintGeometry and MakeChild overloads have been explicitly deprecated since they cause ambiguous overloads with FSlateLayoutTransform if it were to support implicit construction.
  - Deprecated ULocalPlayer::GetPixelBoundingBox and GetPixelPoint to prefer FVector2f for OptionalAllotedSize parameter since this parameter is expected to come from FGeometry
  - Exposed FVector2f members to blueprints

#jira none
#rb Andy.Davidson, Dave.Jones, Vincent.Gauthier, Patrick.Boutot
#preflight 63bc6fd068068a8bd6027c9f

[CL 23631073 by Andrew Rodham in ue5-main branch]
2023-01-10 14:46:43 -05:00
christopher waters
8fd10b0e13 Dependency cleanup around some Rendering headers.
#preflight 63b893e547321b9d895924b0

[CL 23605570 by christopher waters in ue5-main branch]
2023-01-06 18:57:09 -05:00
christopher waters
f8abec7a8e Material header dependency cleanup
- Removing MaterialAttributeDefinitionMap and MaterialRenderProxy from MaterialShared.h
- Removing MaterialShared from Material.h

#preflight 639cbb35776b61ba3b82f03e

[CL 23541603 by christopher waters in ue5-main branch]
2022-12-16 16:24:02 -05:00
christopher waters
7215f7d4ec Fully moving MaterialDomain to its own header.
#jira none
#preflight 639b4dc335203bc7aa695078

[CL 23531533 by christopher waters in ue5-main branch]
2022-12-15 16:01:51 -05:00
tiantian xie
70c2dba8c0 Move RayTracingInstance.h and RayTracingInstance.cpp from Engine module the Renderer module.
* Remove the need to call BuildInstanceMaskAndFlags(), BuildRayTracingInstanceMaskAndFlags() manually in GetXXRayTracingInstance(). They will be called in the renderer module. All functions manually called has been removed.
* Remove the RENDER_API public api for those functions, as they cause link error in the Engine module (where the header is included in the Engine build file for static library link. the RENDERER_API is interpreted as dllimport, which will not link the functions in RayTracingInstance.cpp) and there is no need to call them outside of renderer module.
* A callback function is added to FRayTracingInstance, use it for RaytracingInstanceMaskandFlags caching.

Note: this is a first step to separate the instance mask between RayTracing and PathTracing, where PathTracing uses a totally different instance mask. This cleanup is un-avoidable if we want to keep rendering related code in the renderer module.

#rb Yuriy.ODonnell
#jira UE-172742
#preflight 6399002f2960b732202acc7c

[CL 23514248 by tiantian xie in ue5-main branch]
2022-12-14 13:16:33 -05:00
christopher waters
6e30ddb01e Dependency cleanup around DataDrivenShaderPlatformInfo and a few other headers.
#preflight 63921e6a67018b14b5925197

[CL 23454104 by christopher waters in ue5-main branch]
2022-12-08 15:35:35 -05:00
christopher waters
6ae040165a Moving FRayTracingGeometry into its own header+source files. FRayTracingGeometry can't forward declare its RHI members yet, so we need it in its own header to remove those dependencies from RenderResource.h
#rb tiago.costa
#preflight 63897bc0976b1644cb2f7450

[CL 23377483 by christopher waters in ue5-main branch]
2022-12-02 15:09:41 -05:00
Anousack Kitisa
5b211560ba USD: GeometryCache from USD now use tracks in LevelSequence instead of the Time property to drive their animations. Added USD.DisableGeoCacheTracks cvar to revert to the previous behavior.
#jira UE-169285
#rb Daniel.Coelho
#preflight 637ba06af514e1ded9943eea

[CL 23221681 by Anousack Kitisa in ue5-main branch]
2022-11-21 11:03:40 -05:00
henrik karlsson
2b3ad519a5 Fixed compile error surfaced when orphaned headers got compiled (they were never included in their own module so compiler warning settings was never applied)
Changes include
* Removed #pragma once in cpp files
* Removed dll export on templated types
* Fixed code in headers that didn't compile (probably never included anywhere
* Added casting for code going from int to float. Header was never compiled in the owning module that had warnings as errors

#preflight 637b10c6fa348e848054bd0d
#rb none (devin.doucette for a couple files)

[CL 23218414 by henrik karlsson in ue5-main branch]
2022-11-21 03:22:34 -05:00
henrik karlsson
b5164ac775 Fixes to make modules compile with IWYU. We've added to IWYU toolchain so it compiles "orphaned" headers which does not have a owning cpp file. This identified lots of headers that couldn't be compiled by themselves (or if they were to included first)
Change consist of only forward declaration and additional includes

#preflight 63789c1de30d438849c48188
#rb none

[CL 23218412 by henrik karlsson in ue5-main branch]
2022-11-21 03:22:23 -05:00
Michael Galetzka
09e1182688 Improved geometry cache default asset
#jira UE-166572
#rb none
#preflight skip

[CL 23176163 by Michael Galetzka in ue5-main branch]
2022-11-17 10:40:12 -05:00
Juan Portillo
102027393f Geometry Cache Track:
- Export Geometry Cache Track Editor (done similar to other Track Editors such as FMediaTrackEditor)

#jira none
#rb Anousack.Kitisa
#preflight 6374b9641c114bec05f09d91

[CL 23163196 by Juan Portillo in ue5-main branch]
2022-11-16 16:42:39 -05:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
bryan sefcik
117472780d Fixed include paths.
#jira
#preflight 634ee62fe746026e48eb077e

[CL 22621687 by bryan sefcik in ue5-main branch]
2022-10-19 06:39:08 -04:00
nick darnell
954d29b9f5 Editor - Beginning the process to no longer make loading all assets you right click in the content browser. The first step, is setting up the code to have a deprecation flag DEPRECATE_ASSET_TYPE_ACTIONS_NEEDING_LOADED_OBJECTS, this will make it illegal to implement GetActions on all AssetTypeAction implementations. Checked in disabled, enable it locally to begin trying to implement the recommended method detailed in the IAssetTypeActions header. WIP. One of the things this change does is outlaw (regardless of deprecation) the HasActions() function, this function is no longer used at all, and so we may as well remove its implementation, it also works well as a canary in finding other samples and things that need to be upgraded.
#jira UE-165574
[REVIEW] [at]Rex.Hill, [at]Lauren.Barnes
#preflight 63483c43ad0f7e2f20e44910

[CL 22534452 by nick darnell in ue5-main branch]
2022-10-14 16:59:41 -04:00
frank fella
cff8d13da1 Naigara - Reimplement renderer class filtering to work with the new renderer creation info paradigm.
#jira UE-165740
#rb mateo.egey
#preflight 63409b8062762f4a1bbeeeb6

[CL 22437458 by frank fella in ue5-main branch]
2022-10-10 15:43:50 -04:00
Brian Karis
1b845f1def Remove doubles from mesh processing
#rb graham.wihlidal
#preflight 633b662e842f0d4c55e4b3d9

[CL 22319966 by Brian Karis in ue5-main branch]
2022-10-03 19:39:31 -04:00