brandon schaefer
e64748d3de
Disable the top modules that are not currently set to enable AutoRTFM
...
#rb neil.henning
[CL 34015003 by brandon schaefer in ue5-main branch]
2024-05-30 17:59:48 -04:00
rinat abdrashitov
41b25c6b1d
Add an option to reindex existing skin weights when we are copying over a new set of bones.
...
#rb halfdan.ingvarsson
[CL 33981649 by rinat abdrashitov in ue5-main branch]
2024-05-29 14:30:43 -04:00
rinat abdrashitov
68dbb889b1
Geometry Script: Add ability to create a dynamic mesh from skeletal mesh render data ( used for auto-generated lods)
...
#rb Alexis.Matte, David.Hill
#ushell-cherrypick of 33372580 by David.Hill
[CL 33972065 by rinat abdrashitov in ue5-main branch]
2024-05-29 09:47:10 -04:00
rinat abdrashitov
d703ff7bb9
Added a geometry script node for writing morph target data into a skeletal mesh asset.
...
#rb Alexis.Matte, David.Hill, halfdan.ingvarsson
[CL 33925137 by rinat abdrashitov in ue5-main branch]
2024-05-27 12:07:30 -04:00
jimmy andrews
fb6126dfdd
Add helper geometry script methods for specifying loops and chains of edges, which can be passed to the constrained delaunay triangulation method
...
#rb tyson.brochu
[CL 33831153 by jimmy andrews in ue5-main branch]
2024-05-22 11:25:53 -04:00
lonnie li
1ad4ba7da7
GeometryScript: Added bHaveValidUVs output param to GetAllUVSeamEdges.
...
#jira UE-215334
[CL 33802648 by lonnie li in ue5-main branch]
2024-05-21 14:11:39 -04:00
lonnie li
3347562fe7
GeometryScript: Exposed GetAllUVSeamEdges and GetAllVertexPositionsAtEdges to MeshQueryFunctions.
...
#rb Jimmy.Andrews
#jira UE-215334
[CL 33795823 by lonnie li in ue5-main branch]
2024-05-21 10:55:25 -04:00
jimmy andrews
772f51b006
Add an open-boundary snapping algorithm, similar to 'resolve t-junctions' but just snapping without adding vertices
...
#rb david.hill
[CL 33697399 by jimmy andrews in ue5-main branch]
2024-05-16 15:41:10 -04:00
jimmy andrews
50a675fa97
Add geometry script method to set a custom complex collision mesh for a static mesh asset
...
#rb David.Hill
[CL 33697132 by jimmy andrews in ue5-main branch]
2024-05-16 15:31:32 -04:00
jimmy andrews
2d24871188
Add null checks for GeometryScript SceneUtilityFunctions.cpp on UDynamicMesh* inputs
...
#rb jimmy.andrews
[CL 33403089 by jimmy andrews in ue5-main branch]
2024-05-02 14:01:57 -04:00
jimmy andrews
0c7ff195bd
Fix backwards compat issue with material handling for static mesh -> dynamic mesh geometry script:
...
Revert the default behavior of CopyMeshFromStaticMesh to again use section material indices, rename it to make it clear that it does so, and make a CopyMeshFromStaticMeshV2 w/ the more-expected default behavior of using the regular material indices (and a new parameter to control the behavior)
+ add a method to more easily get the regular materials list off of a static mesh asset.
#rb David.Hill
[CL 33314364 by jimmy andrews in ue5-main branch]
2024-04-29 16:57:22 -04:00
jimmy andrews
cb41f843da
add a node to remap material IDs + construct a combined materials list, to help w/ workflows where you need multiple meshes to have consistent material IDs
...
+ fix crash in 'remap to new material ID by material' method when mesh has a material ID that points outside of the input materials list
#rb lonnie.li
[CL 33303594 by jimmy andrews in ue5-main branch]
2024-04-29 12:20:31 -04:00
jimmy andrews
266c1090b1
Make geometry script's compact material ID method optionally also remove duplicate materials
...
#rb lonnie.li
[CL 33283453 by jimmy andrews in ue5-main branch]
2024-04-26 19:24:46 -04:00
jimmy andrews
d66252744f
Add geometry script methods managing a global dynamic mesh pool (created on first access)
...
#rb lonnie.li
#virtualized
[CL 33263259 by jimmy andrews in ue5-main branch]
2024-04-26 10:08:35 -04:00
halfdan ingvarsson
cb798d58a3
Skeletal Mesh: Deprecate GetLODInfoArray and currently replace all uses of it with GetLODNum and/or GetLODInfo, as needed.
...
- All LOD info is going to get folded into FSkeletalMeshSourceModel. At that point all access to GetLODInfoArray will take place through a thread-local array which is a performance burden.
- Removed FSkeletalMeshObject::SkeletalMeshLODInfo and folded the two pieces of information needed from it into FSkelMeshObjectLODInfo.
#jira UE-207562
#rb Alexis.Matte, benoit.gadreau, pere.rifa
[CL 33127997 by halfdan ingvarsson in ue5-main branch]
2024-04-20 03:06:46 -04:00
jimmy andrews
ceba3641f4
Improvements to capsule generator (and corresponding add capsule tool and geometry script node):
...
+ Add a cylinder-section subdivision parameter, to control tesselation
+ Make UVs consistent across different subdivision / hemisphere step amounts
#rb David.Hill
[CL 33038867 by jimmy andrews in ue5-main branch]
2024-04-17 12:20:16 -04:00
jimmy andrews
7aa1a5d0d0
add more docstring comments for geometry script FGeometryScriptCopyMeshToAssetOptions, covering the replace mesh material options
...
#rb David.Hill
[CL 32981167 by jimmy andrews in ue5-main branch]
2024-04-15 20:32:54 -04:00
jimmy andrews
47ae36be3b
Fix issues in Geometry Script handling empty polygons and polygon lists -- AddPolygonVertex, AppendPolygonList not adding/appending, and AddPolygonToList crashing
...
#rb lonnie.li
[CL 32825109 by jimmy andrews in ue5-main branch]
2024-04-09 10:22:52 -04:00
benoit gadreau
17b52a63d7
Geometry Scripting: MeshBoneWeightFunctions: avoid invalid bone indices issues due to int to uint16 (FBoneIndexType) conversion
...
#jira UE-210521
#rb halfdan.ingvarsson
#rnx
[CL 32729175 by benoit gadreau in ue5-main branch]
2024-04-04 11:14:45 -04:00
jimmy andrews
08edead532
repopulate material section info when replacing materials in Geometry Script copy to static mesh method
...
#rb David.Hill
[CL 32622303 by jimmy andrews in ue5-main branch]
2024-03-29 16:00:28 -04:00
jimmy andrews
f078f45100
make mesh asset functions' static mesh to dynamic mesh conversion use the same conversion code as the scene component conversion
...
#rb David.Hill
[CL 32555211 by jimmy andrews in ue5-main branch]
2024-03-27 15:55:30 -04:00
jimmy andrews
942be710db
CIS fix for incorrect loop conditions on geometry script convex decomposition method + change the condition to guard against infinite loop
...
#rb jimmy.andrews
[CL 32491603 by jimmy andrews in ue5-main branch]
2024-03-25 19:15:32 -04:00
jimmy andrews
ff5c442a11
make all the (geometry script and geometry core) mesh transform methods consistently transform normals and tangents + add a RotateMesh to geometrycore to replace the incorrect implementation in geometry script
...
Note we make the normal/tangent transform optional for the Scale method, because the docs intentionally called it out as not transforming normals (but w/ the default behavior changed to correctly transform them)
#rb David.Hill
[CL 32482935 by jimmy andrews in ue5-main branch]
2024-03-25 16:35:10 -04:00
jimmy andrews
70c35cc2a7
add navigable convex decomposition method to geometry script collision functions
...
+ expand preprocessing options for convex decomposition algorithm
#rb David.Hill
[CL 32482079 by jimmy andrews in ue5-main branch]
2024-03-25 16:17:07 -04:00
jimmy andrews
3339831511
document Hull Mesh parameter for geometry script containment functions
...
#rb jimmy.andrews
[CL 32190653 by jimmy andrews in ue5-main branch]
2024-03-12 16:27:26 -04:00