Commit Graph

480 Commits

Author SHA1 Message Date
steve robb
92463911c8 Fixed mismatched printf format arguments.
#rb brandon.schaefer

[CL 33264801 by steve robb in ue5-main branch]
2024-04-26 11:02:47 -04:00
steve robb
20e93ad90b Fixed potentially uninitialized variables.
#jira UE-87511

[CL 33146357 by steve robb in ue5-main branch]
2024-04-22 14:54:14 -04:00
jimmy andrews
32d044eec3 Set a default value for dynamic mesh CanCollapse edge parameter + note that it doesn't affect the result
#rb David.Hill

[CL 33109210 by jimmy andrews in ue5-main branch]
2024-04-19 13:39:30 -04:00
jimmy andrews
bb9c60e7bd remove unreferenced local variables to fix geometry processing tests build
#rb jimmy.andrews

[CL 33049165 by jimmy andrews in ue5-main branch]
2024-04-17 17:02:58 -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
9d950d0a08 add a 'cut outside' option to the polycut tool
#rb David.Hill

[CL 33037818 by jimmy andrews in ue5-main branch]
2024-04-17 11:34:05 -04:00
jimmy andrews
e10d52f492 Specify the ConvexDecomposition3 thicken hull after failure parameter in world space, not local space, to match other parameters on that class
#rb rinat.abdrashitov

[CL 33003082 by jimmy andrews in ue5-main branch]
2024-04-16 11:53:12 -04:00
jimmy andrews
c1b291f89a Add an Enumerate method to PointHashGrid3 to reduce the need to build temp arrays, and support optional early out
+ Make the vertex connected components dist-threshold method use the new enumerate method, and early out if there is only one component
#rb David.Hill

[CL 32981760 by jimmy andrews in ue5-main branch]
2024-04-15 21:00: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
john huelin
7121101cd8 SDK (1): Changes in common code needed to support SDK changes on some platforms
#rb Wojciech.Krywult

[CL 32855114 by john huelin in ue5-main branch]
2024-04-10 09:49:42 -04:00
jimmy andrews
e56817e2be convex decomposition robustness improvements -- pick good offset directions for degenerate cases where normals are not available, and do non-solid plane cuts for parts where the plane cut gave unreliable results (created holes)
#rb David.Hill, tyson.brochu

[CL 32842681 by jimmy andrews in ue5-main branch]
2024-04-09 18:27:14 -04:00
joe kirchoff
c34f3c99bb Fix clang 18 errors
#rnx

[CL 32747804 by joe kirchoff in ue5-main branch]
2024-04-04 19:05:47 -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
0dd83809c8 fix checkSlow when traversing through empty root cells to occupied children of sparse dynamic point octree
#rb David.Hill

[CL 32482759 by jimmy andrews in ue5-main branch]
2024-03-25 16:31:00 -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
frederic doll
c38ab1eb44 Add distance method for Segment2/Line2 to Box2 in geometry
#rb Jimmy.Andrews

[CL 32475037 by frederic doll in ue5-main branch]
2024-03-25 13:26:11 -04:00
jimmy andrews
0e2d5261f8 fix issue where point sampling would compute incorrect mesh triangle areas for non-compact meshes
#rb David.Hill

[CL 32369676 by jimmy andrews in ue5-main branch]
2024-03-20 12:20:55 -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
3ae6387365 make geometrycore's box types cast to/from float as well as double engine box types
#rb lonnie.li

[CL 31919710 by jimmy andrews in ue5-main branch]
2024-02-29 14:57:24 -05:00
jimmy andrews
5e5d976da3 fix unreachable implicit "++iterator" in cases where a for-loop was used to just grab the first element of a set or map
#rb lonnie.li
#lockdown michael.balzer

[CL 31880424 by jimmy andrews in ue5-main branch]
2024-02-28 14:51:06 -05:00
jimmy andrews
a645b04994 make convex decomposition negative space default behavior more consistent to the previous version
#rb jimmy.andrews

[CL 31638046 by jimmy andrews in ue5-main branch]
2024-02-19 22:48:36 -05:00
steve robb
f8d47335a4 Replaced RemoveAt(N, 1, EAllowShrinking::*) with RemoveAt(N, EAllowShrinking::*).
[CL 31626444 by steve robb in ue5-main branch]
2024-02-19 16:51:58 -05:00
jimmy andrews
d37cdbd6ae remove older deprecated code from GeometryCore (FTransformSRT3's Inverse and legacy ExactPredicates methods)
#rb jimmy.andrews

[CL 31499495 by jimmy andrews in ue5-main branch]
2024-02-14 18:26:27 -05:00
jimmy andrews
4701412a75 move the convex decomposition algorithm's MergeBest function arguments into a struct, and add:
a callback to report merges,
 a callback to prevent merges, and
 a bool to control whether the error tolerance allows merges below the target number of parts requested.
#rb rinat.abdrashitov

[CL 31487645 by jimmy andrews in ue5-main branch]
2024-02-14 14:34:19 -05:00