jimmy andrews
961bfeea01
Add cvar geometry.DynamicMesh.MaxComplexCollisionTriCount to prevent dynamic mesh components with many triangles from auto-generating complex collision.
...
+ Make complex collision wireframe only render on the base dynamic mesh proxy if the complex collision is provided.
+ add helper to update physics/etc consistently after mesh changes
#rb rinat.abdrashitov
[CL 32003960 by jimmy andrews in ue5-main branch]
2024-03-04 18:02:09 -05:00
jimmy andrews
3931400baa
Add option for dynamic mesh component to use static render path instead of dynamic
...
#rb David.Hill
[CL 31949704 by jimmy andrews in ue5-main branch]
2024-03-01 13:43:42 -05:00
tiago costa
03f7f8f626
Call FRayTracingGeometry::IsValid() instead of just checking that RayTracingGeometryRHI is not null
...
[FYI] aleksander.netzel
[CL 31840561 by tiago costa in ue5-main branch]
2024-02-27 10:26:42 -05:00
jimmy andrews
956359aede
add UVs to dynamic mesh component's physics mesh
...
#rb David.Hill
[CL 31772380 by jimmy andrews in ue5-main branch]
2024-02-23 14:43:16 -05:00
jimmy andrews
a49f583f54
add physics materials to dynamic mesh component's physics mesh
...
#rb david.hill
[CL 31703778 by jimmy andrews in ue5-main branch]
2024-02-21 18:46:48 -05:00
halfdan ingvarsson
27d3ae1e47
Geometry Framework: Only mark auto-generated tangents as valid if we actually produced any.
...
#jira UE-207249
#rb David.Hill, lonnie.li
#rnx
[CL 31588216 by halfdan ingvarsson in ue5-main branch]
2024-02-16 19:01:54 -05:00
david hill
1d888edcb8
Geometry Framework. allow SetMaterial() to trigger a immediate visual update.
...
#jira UE-202801
#rb Jimmy.Andrews
[CL 31339426 by david hill in ue5-main branch]
2024-02-09 10:13:22 -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
roey borsteinas
e168d21835
Exposed a new property bIsEditable on UDynamicMeshComponent to allow them to block any modifications done through EditMesh/SetMesh. Additionally, when this flag is set to false, the UDynamicMeshToolTarget is blocked from being created for the dynamic mesh component so modeling tools can't edit the mesh either.
...
#rb Ryan.Schmidt
[CL 29959323 by roey borsteinas in ue5-main branch]
2023-11-28 09:50:36 -05:00
jimmy andrews
d194498f95
Make the dynamic mesh debug collision rendering cache the collision shapes on the dynamic mesh scene proxy, to make sure there is not a race condition if the collision shapes are being updated on the game thread while collision rendering is enabled
...
#rb matija.kecman
[CL 28393018 by jimmy andrews in ue5-main branch]
2023-10-02 16:29:12 -04:00
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
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
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
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
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
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
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
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
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
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