henrik karlsson
78ba369d2c
Fixed linker errors on some console platform when building modular builds. Fixes involves moving ctor/dtor and friends from header to cpp and dll import/export
...
[CL 35710553 by henrik karlsson in ue5-main branch]
2024-08-21 13:44:16 -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
lonnie li
a977b5398f
ModelingTools: Added UVShell BakeTexture option
...
#rb Jimmy.Andrews
#jira UE-174987
[CL 35570995 by lonnie li in ue5-main branch]
2024-08-15 14:18:42 -04:00
nathan mitchell
1d8d099a5b
GeometryProcessing: Added functionality to the UV Layout code to allow for preserving existing UV island's scale and orientation during layout operations.
...
Additionally cleaned up numerical logic within the UV Packer code and added comments for confusing areas of the code.
#jira UE-217881
#rb lonnie.li
[CL 35382850 by nathan mitchell in ue5-main branch]
2024-08-07 18:00:36 -04:00
semion piskarev
916be4ccd1
MeshModelingTools: Add integrated squared distance from line along a segment, for use as a similarity metric when finding a path corresponding to a straight line along a mesh.
...
#rb David.Hill, Jimmy.Andrews
[CL 35323242 by semion piskarev in ue5-main branch]
2024-08-05 19:13:05 -04:00
marc audy
35f9ed49f3
Eliminate MSVC vtable padding and other packing cleanup in the associated classes
...
#rnx
[CL 35238395 by marc audy in ue5-main branch]
2024-08-01 01:01:38 -04:00
jimmy andrews
b2a9547001
add edge selection support to geometry script
...
#rb David.Hill, semion.piskarev
[CL 34744582 by jimmy andrews in ue5-main branch]
2024-06-28 13:59:09 -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
8d5e2da3d6
make mesh local param compute vertex normals if they're not already computed on the mesh
...
#rb David.Hill
[CL 34606943 by jimmy andrews in ue5-main branch]
2024-06-24 12:27:30 -04:00
jimmy andrews
7d31f2f7ee
add conversions from FVector3i <-> FIntVector
...
#rb tyson.brochu
[CL 34465492 by jimmy andrews in ue5-main branch]
2024-06-18 12:23:15 -04:00
jimmy andrews
981e7ae006
support optional vector cellsize in sdf calculation and interpolation
...
#rb tyson.brochu
[CL 34388132 by jimmy andrews in ue5-main branch]
2024-06-14 19:00:39 -04:00
jimmy andrews
8bde76d0e2
add clamp method to axis aligned box2/3
...
#rb lonnie.li
[CL 34381691 by jimmy andrews in ue5-main branch]
2024-06-14 15:53:30 -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
jimmy andrews
bc3956feb7
make geometrycore grid interpolant support templated RealType rather than always running in double precision
...
+ add support for clamped value queries (+ fix old comment about clamping values)
+ fix bounds of interpolant to be the actual useful bounds -- i.e., don't include a cell's width of space that will just return the Outside value when queried
+ add a SafeLargeValue to geometrycore's math constants (to give a good default Outside value for float interpolant grid)
#rb David.Hill, tyson.brochu
[CL 34352923 by jimmy andrews in ue5-main branch]
2024-06-13 16:21:47 -04:00
frederic doll
07bb6c9abe
Add method to get the Unit value from a Distance on a Segment
...
#rb Jimmy.Andrews
[CL 34308429 by frederic doll in ue5-main branch]
2024-06-12 10:53:06 -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
289a672be9
Change MaxMiterScale to MiterLimit in C++ and BP sweep methods to reduce confusion and to match the naming for the same concept in CSS/SVG
...
#rb lonnie.li
[CL 34176049 by jimmy andrews in ue5-main branch]
2024-06-06 17:26:18 -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
mr0ptimist
394ac65e99
PR #11705 : Fixed redundant UV mesh spatial computation in modeling mode bake tools
...
#rb tyson.brochu
#jira UE-211209
#ushell-cherrypick of 32670342 by UnrealBot
[CL 34142726 by mr0ptimist in ue5-main branch]
2024-06-05 18:10:52 -04:00
lonnie li
9877de1d6a
ModelingTools: Fixed crash in lattice tool when deforming a mesh element selection with Deform Normals enabled.
...
#rb Jimmy.Andrews
#jira UE-216403
[CL 34122597 by lonnie li in ue5-main branch]
2024-06-05 09:32:48 -04:00
jimmy andrews
aeb06c2197
Add mitering support to generalized cylinder generator
...
#rb lonnie.li
[CL 34103308 by jimmy andrews in ue5-main branch]
2024-06-04 15:17:36 -04:00
jimmy andrews
a7a40090b5
fix quickhull initialization to never double-assign points, and remove the duplicate point filtering from the subsequent point insertion steps
...
#rb lonnie.li
[CL 34097799 by jimmy andrews in ue5-main branch]
2024-06-04 12:54:06 -04:00