Commit Graph

26 Commits

Author SHA1 Message Date
christopher waters
15bede992d Entire engine compiling with -DisableUnity -IncludeHeaders
[CL 31778133 by christopher waters in ue5-main branch]
2024-02-23 16:51:32 -05:00
jimmy andrews
5c8db45f2c fix bug where clipper ellipse could request more than max_int steps for an ellipse and crash
+ make the one place that calls that ellipse method use its own logic to specify the number of steps per radian, so it will request many fewer steps per ellipse
#rb David.Hill

[CL 30987939 by jimmy andrews in ue5-main branch]
2024-01-30 00:05:28 -05:00
marc audy
763a611985 Fix C4072 warnings
#rnx

[CL 29852844 by marc audy in ue5-main branch]
2023-11-20 17:26:53 -05:00
bryan sefcik
8169fa1501 Disabled multithread support in xatlas. This change saves roughly 2 secs when generating a model.
#jira

[CL 28065782 by bryan sefcik in ue5-main branch]
2023-09-20 19:30:10 -04:00
jimmy andrews
65f56db50c add polygon and path offset functions to GeometryScript
+ some fixes to clipper offset methods, and additional controls over the number of vertices at round joins

#rb david.hill
#preflight 6430d1e7b306e98c639e68a8

[CL 24984017 by jimmy andrews in ue5-main branch]
2023-04-10 17:09:53 -04:00
henrik karlsson
9183978e29 [Engine/Plugins]
* Removed includes (using IWYU) in private files

#preflight 63c79978ac35a0e9dabbe408
#rb none

[CL 23770038 by henrik karlsson in ue5-main branch]
2023-01-19 00:48:07 -05:00
Jimmy Andrews
e969984892 fix duplicate loctext key in floattetwild.cpp
#rb trivial
#preflight skip

[CL 23425601 by Jimmy Andrews in ue5-main branch]
2022-12-07 00:40:58 -05:00
Jimmy Andrews
77b15b8f44 Add initial (very coarse-grained) progress reporting to ftetwild code via FProgressCancel
#rb ryan.kautzman
#preflight 638a89034c3ce8ae5d41e30a

[CL 23416579 by Jimmy Andrews in ue5-main branch]
2022-12-06 16:17:14 -05:00
Jimmy Andrews
3bb6b018b1 Add third party include guard for eigen include in fTetWild to fix warning for some compiler configurations
#preflight 6389214db36822f1c34f250c

[CL 23363696 by Jimmy Andrews in ue5-main branch]
2022-12-01 17:02:03 -05:00
Jimmy Andrews
ad6b3f5afe Fix Issue 240997 -- Static analyzer warnings from fTetWild code
#rb trivial
#preflight 6388d90eb36822f1c336969c

[CL 23356134 by Jimmy Andrews in ue5-main branch]
2022-12-01 13:26:40 -05:00
Jimmy Andrews
e93066ef38 change ftetwild headers to use pragma once instead of include guards
#rb trivial
#preflight 63883134917a16aecd9d117f

[CL 23346928 by Jimmy Andrews in ue5-main branch]
2022-12-01 00:00:48 -05:00
Jimmy Andrews
7c175bb387 Add fTetWild (adapted to work with UE) as a new third party library in GeometryAlgorithms
#rb ryan.kautzman
#preflight 6387ba677b4bd3f05727dbaf

[CL 23346740 by Jimmy Andrews in ue5-main branch]
2022-11-30 23:16:34 -05:00
jimmy andrews
7d14aaf2ee add a pragma so msvc will use precise math when compiling xatlas.cpp, to get consistent results across builds
#jira UE-164543
#rb semion.piskarev
#preflight 632e0abae23e50651ba35f72

[CL 22165439 by jimmy andrews in ue5-main branch]
2022-09-23 20:47:22 -04:00
george rolfe
8be5c99ee7 Clipper library precision fix
#jira UE-164425
#rb jimmy.andrews
#preflight 632cf394d747fe52c87af584

[CL 22152063 by george rolfe in ue5-main branch]
2022-09-22 23:50:43 -04:00
michael balzer
b7c701b8e7 Clipper2 TPS library: Disable "Dereferencing NULL pointer" warnings
#jira UE-161452
#preflight 6309141a66150c7b753a0a28

[CL 21596120 by michael balzer in ue5-main branch]
2022-08-26 15:04:00 -04:00
Joe Kirchoff
fa80772aea Fix undefined symbols when running clang analyzer in xatlas.cpp
Add check to CollisionConvexMesh.h to supress null reference warning by request
Suppress cplusplus.NewDeleteLeaks warnings in Chaos by request

#rnx
#rb trivial
#jira UE-160884
#preflight 630676ac0061f895d04b88fe

[CL 21549010 by Joe Kirchoff in ue5-main branch]
2022-08-24 15:16:09 -04:00
george rolfe
bf0f26478e Clipper non-unity fix and commenting out of functions containing exceptions, both of which aren't used at all
#jira none
#rb none
#preflight 62fee73c9835a27d8d7b4c04

[CL 21453524 by george rolfe in ue5-main branch]
2022-08-18 21:46:55 -04:00
Jimmy Andrews
5c1c2c6670 cis fix for geometryalgorithms / clipper library: remove all throws from clipper library, rather than try to fix them with defines
#preflight 62feb8bd3f75602b2f227d22

[CL 21451916 by Jimmy Andrews in ue5-main branch]
2022-08-18 18:58:11 -04:00
George Rolfe
533740707f Clipper cis fix
#jira none
#rb none
#preflight 62fe47bd0f2aefc97af89e28

[CL 21442990 by George Rolfe in ue5-main branch]
2022-08-18 11:32:10 -04:00
George Rolfe
fd9eafdc4b GeometryProcessing clipper lib integration and exposed functionality
#jira UE-161308
#rb jimmy.andrews
#preflight 62fe3d930f2aefc97af68d16

[CL 21441167 by George Rolfe in ue5-main branch]
2022-08-18 09:40:40 -04:00
David Hill
9f5eeac1e3 Geometry: Suppress type conversion warnings in third party on clang
#preflight 62d6fdcdd54af4b9a29176a2
#rnx

[CL 21185144 by David Hill in ue5-main branch]
2022-07-20 14:04:32 -04:00
David Hill
3feeb2386c Geometry: fix clang warning on android with 3rd party code.
#preflight none
#rnx

[CL 21165207 by David Hill in ue5-main branch]
2022-07-19 14:27:26 -04:00
David Hill
612f70bd55 GeometryCore, GeometryProcessing: Add pragmas to suppress implicit type conversion warnings when compiling third party code.
Predicates.cpp and  xaltas.cpp

#preflight 62d6cf9d1133256db6e4624a
#rb Jimmy.Andrews

[CL 21164760 by David Hill in ue5-main branch]
2022-07-19 13:53:50 -04:00
Jimmy Andrews
5214f714b5 Add a new FitOrientedBox3 algorithm
+ fixes to the similar Gte algorithm and to FitOrientedBox2
+ Add a Contain(Array) for TAxisAlignedBox3
+ Add option to save triangle adjacencies on computed 3D convex hull (since we already compute them)
+ Fix plane returned for degenerate convex hull result when Dimension=2
+ Let FitOrientedBox2 functions take a custom best-fit function, so that they can be used in the inner loop of FitOrientedBox3 when searching for the best-fit surface area

#rb david.hill
#preflight 62d56a783c3df32390b32263

[CL 21149570 by Jimmy Andrews in ue5-main branch]
2022-07-18 12:17:27 -04:00
Jimmy Andrews
ab97b27e36 make GteMinimumVolumeBox3 robust to failing to find a convex projection for some faces
also fix bug where ProcessEdges results were always ignored and, in light of that bug, add an option to skip ProcessEdges

#jira UE-156689
#rb david.hill
#preflight 62aa0006273ce16835c369d7

[CL 20671337 by Jimmy Andrews in ue5-main branch]
2022-06-15 12:08:38 -04:00