Commit Graph

83 Commits

Author SHA1 Message Date
zach bethel
2dca0749cd Fixed deprecation warning.
[CL 27814175 by zach bethel in ue5-main branch]
2023-09-12 18:42:31 -04:00
zach bethel
29f735f4a3 Modified scene proxy GetDynamicMeshElements calls to take a local command list instead of relying on the immediate command list and defer uniform expression cache invalidations.
- Calls to FRHICommandListImmediate::Get() replaced with Collector.GetRHICommandList()

#jira UE-194426

[CL 27813729 by zach bethel in ue5-main branch]
2023-09-12 18:32:22 -04:00
tiago costa
bdd2a715c3 Refactor RayTracingGeometry initalization in a few proxies to not modify FRayTracingGeometry::Initializer directly.
- some foundation work towards making FRayTracingGeometry::Initializer private.

#rb aleksander.netzel

[CL 27688695 by tiago costa in ue5-main branch]
2023-09-07 17:03:52 -04:00
jimmy andrews
421af56339 Add support for collision rendering showflags to BaseDynamicMeshSceneProxy
#rb rinat.abdrashitov

[CL 27657859 by jimmy andrews in ue5-main branch]
2023-09-06 18:57:28 -04:00
zach bethel
28be363548 Resubmitted render command pipe CL's: 27048554, 27048589, 27048615, 27049788, 27049950, 27050314, 27050334.
- Niagara dynamic data
 - Cable component
 - Skinned mesh

[CL 27076836 by zach bethel in ue5-main branch]
2023-08-14 13:39:43 -04:00
bob tellez
9a6ca97f78 [Backout] - CL27048554, 27048589, 27048615, 27049788, 27049950, 27050314, 27050334
[FYI] zach.bethel
First Original CL Desc
-----------------------------------------------------------------
Moved volumetric volume to RHICmdList.

[CL 27054300 by bob tellez in ue5-main branch]
2023-08-11 20:13:53 -04:00
zach bethel
1925f2a4a3 Fixed ensure due to enqueuing render command in scene proxy destructor off the render thread.
#rb none

[CL 27049808 by zach bethel in ue5-main branch]
2023-08-11 18:14:02 -04:00
jimmy andrews
e492ad203e Fix ensure when ExternallyProvided tangents are requested on a DynamicMeshComponent but the DynamicMesh does not have tangents. Fall back to the no-tangents case.
#jira UE-192574
#rb ryan.schmidt

[CL 27042996 by jimmy andrews in ue5-main branch]
2023-08-11 16:02:30 -04:00
bryan sefcik
64f140d78d Added shader.build.cs file.
Updated build.cs files to use new shader module.

#jira
#rb Joe.Kirchoff and guillaume.abadie

[CL 26664107 by bryan sefcik in ue5-main branch]
2023-07-27 22:53:25 -04:00
jimmy andrews
04473acfc8 make Dynamic Mesh Components show vertex colors when the corresponding ShowFlag is set
#jira UE-190003
#rb ryan.schmidt

[CL 26446150 by jimmy andrews in ue5-main branch]
2023-07-18 16:25:05 -04:00
jimmy andrews
3f483bd95f Change the default TangentsType for all new DynamicMeshComponent and expose TangentsType to the UI
Make TangentsType have an explicit 'Default' value, which will currently map to ExternallyProvided. ExternallyProvided is also renamed to "From Dynamic Mesh" in the UI.

#jira UE-187523
#rb ryan.schmidt

[CL 26433246 by jimmy andrews in ue5-main branch]
2023-07-18 10:07:19 -04:00
jimmy andrews
8d426365d3 fix dll export names somehow winding up in blueprint function display name strings during semi-automated dllexport conversion for UDynamicMesh.h
#rb trivial
[FYI] henrik.karlsson

[CL 26432738 by jimmy andrews in ue5-main branch]
2023-07-18 09:42:25 -04:00
zach bethel
9b43e90545 Fixed render thread check crash.
[CL 26284686 by zach bethel in ue5-main branch]
2023-06-28 10:27:14 -04:00
zach bethel
61a256b156 More command list conversions. Streaming buffers, vertex factories, and TUniformBufferRef.
[CL 26217320 by zach bethel in ue5-main branch]
2023-06-23 16:03:17 -04:00
zach bethel
aa1b0c680f Deprecated non-command list RHI methods.
- RHICreate{Vertex, Index, Structured}Buffer
 - RHICreate{ShaderResource, UnorderedAccess}View
 - RHIUpdateUniformBuffer
 - Various initialization / locking methods for helper buffer types in RHIUtilities.h

The goal is to continue to force resource creation through command lists to avoid surprises with moving things off the render thread.

#rb christopher.waters

[CL 26183242 by zach bethel in ue5-main branch]
2023-06-22 11:08:27 -04:00
henrik karlsson
5db685f97d [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082269 by henrik karlsson in ue5-main branch]
2023-06-17 18:13:06 -04:00
henrik karlsson
b8482b44dd [Engine]
* Changed type dllexport to method/staticvar dll export. Various changes for code that upgrade script get wrong

[CL 26082043 by henrik karlsson in ue5-main branch]
2023-06-17 16:57:38 -04:00
ryan schmidt
1a69e04b7e GeometryScript: Add DynamicMeshComponent NotifyMeshModified and NotifyMeshVertexAttributesModified functions (functions are called 'Updated' in BP, via DisplayName, because NotifyMeshUpdated already exists as C++ function). These allow a DynamicMeshComponent's rendering to be updated after the underlying DynamicMesh has been modified with deferred notifications (eg while setting many vertex positions, etc).
Add RecomputeNormalsForMeshSelection, allows subset of normals to be recomputed. Add bDeferChangeNotifications option to RecomputeNormals.

Add ComputeMeshLocalUVParam, computes expmap parameterization on bounded-geodesic-radius area of mesh

#rb none

[CL 26034446 by ryan schmidt in ue5-main branch]
2023-06-15 22:53:04 -04:00
zach bethel
a9a5fa39db Deprecated non-command list variant of InitResource and UpdateResource. Patched the engine to pass command lists through. Follow-up CL's will refactor individual locations to thread command lists through the various callstacks, but that was done very judiciously in this CL to reduce risk.
#rb mihnea.balta, christopher.waters

[CL 25953623 by zach bethel in ue5-main branch]
2023-06-13 11:46:40 -04:00
ryan schmidt
384857e703 GeometyFramework: Add support for controlling vertex color space transform/conversion in BaseDynamicMeshComponent. Add support for custom color remapping function in DynamicMeshComponent.
#rb david.hill
#preflight 6464d64b2d446eac96c253c3

[CL 25507838 by ryan schmidt in ue5-main branch]
2023-05-17 11:12:48 -04:00
ryan schmidt
c8acfc09b0 ModelingTools: add support for DynamicMeshComponent Simple Collision in Mesh to Collision Tool, Convert Tool, and Transfer Tool.
ModelingComponents: Add ShapeSet member for passing simple collision shapes in FCreateMeshObjectParams, support in relevant functions in UEditorModelingObjectsCreationAPI. Add UE::Geometry::GetCollisionShapes() functions in ComponentCollisionUtil.h, and update various functions to support DynamicMeshComponent

DynamicMeshComponent: change signature of GetSimpleCollisionShapes() to return const ref

#rb david.hill
#preflight 6421ca54973e609670a408c7

[CL 24819452 by ryan schmidt in ue5-main branch]
2023-03-28 11:19:32 -04:00
ryan schmidt
7e039b0a5f fix nonunity build error
#rb none
#preflight none

[CL 24471406 by ryan schmidt in ue5-main branch]
2023-03-01 16:55:26 -05:00
ryan schmidt
9d6d1e8a38 DynamicMesh: resolve issue w/ wireframe not rendering for DynamicMeshComponent in shipping builds
[REVIEW] [at]semion.piskarev
#preflight 63ff6243a134e0b059009fc9
#rb jimmy.andrews, semion.piskarev

#localization none
#tests preflight and fix verified in shipping build locally

[CL 24469623 by ryan schmidt in ue5-main branch]
2023-03-01 15:45:50 -05:00
ryan schmidt
07bfc6f77c GeometryFramework: resolve issue w/ UDynamicMeshComponent::SetDynamicMesh() where the incoming mesh may not be Outered to the Component, so it won't necessarily be serialized, leading to potential situations where the DynamicMesh is null on level load. Also updated UDynamicMeshComponent::PostLoad() to handle this case instead of just check()ing.
#rb none
#preflight  63bf118c763c6c10643dcd56

[CL 23658504 by ryan schmidt in ue5-main branch]
2023-01-11 20:55:38 -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