jimmy andrews
583c4a50f3
serialize the bones in dynamic mesh attribute sets
...
#jira UE-202248
#lockdown marc.audy
#rb Marc.Audy, tyson.brochu
[CL 36754833 by jimmy andrews in 5.5 branch]
2024-10-01 19:02:45 -04:00
kiaran ritchie
b293d1129d
Skin weight tool: Fixes crash stemming from CleanMesh operation due to invalid non-manifold vertex mapping
...
Also fixes issue where material assignment can be scrambled after exiting the tool.
#rb halfdan.ingvarsson
#JIRA UE-224313, UE-223602
#swarm https://p4-swarm.epicgames.net/reviews/36490505
[CL 36753585 by kiaran ritchie in 5.5 branch]
2024-10-01 18:51:55 -04:00
halfdan ingvarsson
df166cdbe7
Geoscripting: Add an option to reconstruct non-manifold meshes
...
#rb David.Hill
[CL 36212041 by halfdan ingvarsson in 5.5 branch]
2024-09-11 17:57:34 -04:00
Ryan Hummer
4af2fd066d
Updating Dev-Release-5.5 from Main at CL #36144969
...
#okforversepublic
[CL 36146571 by Ryan Hummer in Dev-5.5 branch]
2024-09-10 10:26:02 -04:00
henrik karlsson
277f0cf7fa
Removed dllexported template instantiations when building with merged modules. Reason is because some of the console platform compilers don't handle this properly.
...
[CL 35832838 by henrik karlsson in ue5-main branch]
2024-08-27 14:41:00 -04:00
semion piskarev
2626879753
DynamicMesh: Allow more permissive options for edge collapse.
...
#rb Jimmy.Andrews
[CL 35806890 by semion piskarev in ue5-main branch]
2024-08-26 15:15:52 -04:00
jimmy andrews
a8ca7e826b
add a details string to the mesh difference info struct, so we can report more specific information about differences when it's useful to do so (e.g., the triangle counts for both meshes, if the triangle count was what differed)
...
#rb David.Hill
#jira UE-178598
[CL 35773605 by jimmy andrews in ue5-main branch]
2024-08-23 12:20:27 -04:00
jimmy andrews
6f067213bc
make dynamic mesh IsSameAs method also report the kind of difference it found (if any) and the mesh element that was different (if applicable)
...
+ similarly change the equivalent geometry script method
#jira UE-178598
#rb David.Hill
[CL 35747815 by jimmy andrews in ue5-main branch]
2024-08-22 13:46:41 -04:00
david hill
2548a0ca06
Dynamic Mesh - fix an algorithmic comment
...
#rb Jimmy.Andrews
[CL 35661985 by david hill in ue5-main branch]
2024-08-20 14:06:38 -04:00
nick edwards
4ff5a8e33b
[Build Health] TDynamicMeshOverlay, TDynamicMeshVectorOverlay & TDynamicMeshAttributeChange: Add missing explicit instantiation declarations and add appropriate dllapi for them. Addresses "attribute 'dllexport' cannot be applied to member of 'dllexport' class" error.
...
[FYI] henrik.karlsson
[CL 35593737 by nick edwards in ue5-main branch]
2024-08-16 10:15:40 -04:00
henrik karlsson
2dc722078e
[Engine]
...
* Moved dllapi from types to functions/static vars
* Changed so extern template instantiation is based on clang or not instead of if linux and mac since we also build windows using clang
* Added dllapi on some member functions inside template types where the code is in the cpp file. This is needed to tell the compiler these functions will be dll exported (clang does not accept only adding it on the instantiation
[CL 35586891 by henrik karlsson in ue5-main branch]
2024-08-15 23:55:51 -04:00
halfdan ingvarsson
b1b88b7836
Geometry Scripting: Multiple improvements.
...
- Add an option to CopyBonesFromMesh to only retain some parts of the skeleton.
- Add a function to blend between two skin weight arrays.
- Add a function to copy weights from one profile to another on the same mesh.
#rb David.Hill, Jimmy.Andrews
[CL 34662264 by halfdan ingvarsson in ue5-main branch]
2024-06-25 18:56:05 -04:00
jimmy andrews
d20139f1ae
Compact small list sets during dynamic mesh CompactInPlace
...
#rb David.Hill, tyson.brochu
[CL 34353052 by jimmy andrews in ue5-main branch]
2024-06-13 16:24:47 -04:00
kiaran ritchie
4b89bc10dc
Fixes skin paint issue where vertex flood does not work on some meshes.
...
Added CleanMesh() to skin paint tool.
#rb halfdan.ingvarsson
#JIRA UE-205991
[CL 34177890 by kiaran ritchie in ue5-main branch]
2024-06-06 18:08:32 -04:00
jimmy andrews
47b3902fa3
better fix for dynamic mesh merge edges, to not prevent edge merges for edge pairs that share a vertex
...
#rb jimmy.andrews
[CL 34159579 by jimmy andrews in ue5-main branch]
2024-06-06 11:49:28 -04:00
jimmy andrews
e3f7cd01ca
fix issue with dynamic mesh edge merges where we could create a non-manifold mesh by trying to merge edge AB to edge CD when edge AD also existed in the mesh; resulting in the tris originally connected to edges AB, CD and AD all having edge AB after the merge.
...
With this change, we now refuse to merge the edges in this case.
#rb tyson.brochu
[CL 34146156 by jimmy andrews in ue5-main branch]
2024-06-05 21:27:09 -04:00
jimmy andrews
f80268aac0
Make the dynamic mesh copy-from-shape-generator build faster, by building attributes after appending the base triangles + inlining AddEdgeInternal
...
#rb David.Hill
[CL 33372899 by jimmy andrews in ue5-main branch]
2024-05-01 10:50:57 -04:00
steve robb
9c7affb850
Removed unused variables.
...
[CL 32969776 by steve robb in ue5-main branch]
2024-04-15 08:49:28 -04:00
david hill
87c1878d5b
Geometry Script. Fix a bug in MeshTransforms that caused a crash if the mesh had normals attributes but no tangents.
...
#jira UE-211824
#rb semion.piskarev
[CL 32891238 by david hill in ue5-main branch]
2024-04-11 11:10:50 -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
katie caputo
a9865f1df6
Modeling Tools: Adds Geometry Selection Support for the Weld Tool
...
#JIRA UE-181652
#rb lonnie.li
[CL 32327946 by katie caputo in ue5-main branch]
2024-03-19 12:04:31 -04:00
jimmy andrews
a4182e8dfb
fix incorrect invalid-ID check in SplitInteriorVertexTrianglesIntoSubsets (to fix crash in bevel code)
...
#jira UE-206344
#rb David.Hill
[CL 31359015 by jimmy andrews in ue5-main branch]
2024-02-09 17:34:40 -05:00
jimmy andrews
8ac5fc9fc0
improve performance for merging coincident edges and fix test coverage
...
#rb David.Hill
[CL 30982908 by jimmy andrews in ue5-main branch]
2024-01-29 20:32:28 -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
steve robb
f70478d4f0
Moved some bool-taking container wrappers over to using EAllowShrinking.
...
FGraphAStar::PopIndex() isn't passing on its argument to the container - that existing behavior has been retained.
#rb james.hopkin
[FYI] Yoan.StAmant
[CL 30712410 by steve robb in ue5-main branch]
2024-01-19 05:12:44 -05:00