27 Commits

Author SHA1 Message Date
kriss gossart
f5b459f972 Datasmith - Remove the experimental Datasmith Clo json importer plugin, and deprecate unused Datasmith cloth code.
#rb JeanLuc.Corenthin

[CL 33259844 by kriss gossart in ue5-main branch]
2024-04-26 06:13:46 -04:00
Johan Duparc
7549a32b41 Datasmith: Cloth Serialization support
- native translator can load expoorted cloths
#rb JeanLuc.Corenthin
#preflight 6308f5363405456ee56fd221

[CL 21593552 by Johan Duparc in ue5-main branch]
2022-08-26 13:20:02 -04:00
Johan Duparc
8b05af9c05 Datasmith: Log the cause of a serialization issue
#rb none
#jira none
#preflight none

[CL 21539219 by Johan Duparc in ue5-main branch]
2022-08-24 09:23:49 -04:00
Johan Duparc
dac54deb5d Datasmith SDK: Rework handling of meshes exported without UVs data.
#jira UE-160820
#rb JeanLuc.Corenthin, Kerim
#preflight none

[CL 21407530 by Johan Duparc in ue5-main branch]
2022-08-16 12:53:38 -04:00
Johan Duparc
0656b65777 Datasmith SDK: Cleanup old export implementation
#jira UE-155360
#rb none
#preflight 62fb87a32265303c4b85ffa1

[CL 21403669 by Johan Duparc in ue5-main branch]
2022-08-16 08:22:50 -04:00
Johan Duparc
985b598c27 Datasmith: Mesh Exporter: add a way to silent the deprecation ensure
#jira UE-155625
#rb none
#rnx
#preflight 6298dd541941378d7c6ac718

[CL 20470794 by Johan Duparc in ue5-main branch]
2022-06-02 12:07:51 -04:00
Johan Duparc
426910d7c9 DatasmithSDK: Default to new mesh serialization
- requires 5.0.3+ to load
#jira UE-155360
#rb JeanLuc.Corenthin
#preflight 62972866841f5ba93cb3ff79

[CL 20450191 by Johan Duparc in ue5-main branch]
2022-06-01 05:10:48 -04:00
Johan Duparc
fed4755571 Datasmith: Mesh serialization cleanup
#rb JeanLuc.Corenthin
#preflight 6287ca238828ea88c8677f23

[CL 20324914 by Johan Duparc in ue5-main branch]
2022-05-23 08:40:15 -04:00
Johan Duparc
504dacddd3 Datasmith: minor cleanup
#rb none
#preflight none

[CL 20297940 by Johan Duparc in ue5-main branch]
2022-05-20 13:21:20 -04:00
Johan Duparc
429ce6d695 Datasmith: Add support for compressed mesh serialization
#preflight 6241ecd2c667881bf4cc5f18
#preflight 62471a74981a2c8eb49113d5

[CL 19589537 by Johan Duparc in ue5-main branch]
2022-04-01 11:50:17 -04:00
Johan Duparc
e6c8943f4c Datasmith: Large World Coordinate support
rules of thumb:
- Actor transforms are in doubles
- mesh internal data are in floats, except UVs that are in doubles
- compiled 3dsmax, archicad, navisworks, revit, rhino, sketchup, solidworks
#jira UETOOL-5070
#preflight 623f2ee47d49f37dfd3d599b
#rb Benoit.Deschenes

[CL 19533189 by Johan Duparc in ue5-main branch]
2022-03-28 16:55:59 -04:00
Johan Duparc
39dcada438 Datasmith: MeshSerialization refactor
#jira none
#rb JeanLuc.Corenthin
#preflight 623ccce513359b4c47f57db0
#preflight 623e04636d39f6b5a059b10c

[CL 19516593 by Johan Duparc in ue5-main branch]
2022-03-25 14:12:48 -04:00
Johan Duparc
9d196ada09 Datasmith: New mesh serialization, MeshDescription based
#rb JeanLuc.Corenthin
#jira none
#preflight 623b758ab3653cf6aff79b97

[CL 19485120 by Johan Duparc in ue5-main branch]
2022-03-23 16:31:37 -04:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
Marc Audy
cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Richard TalbotWatkin
51d4cb3f66 Fully deprecated old MeshDescription APIs.
Prepared direct attribute access for deprecation, preferring use of APIs to access static mesh attributes.
Fixed recently merged Enterprise code to comply with new APIs.
Changed all tools to use triangle-centric iteration where possible.
Added new MeshAttributeArray APIs for querying attribute flags, and added a new Mandatory flag.
Various bug fixes.
#rb Alexis.Matte

[CL 13873755 by Richard TalbotWatkin in ue5-main branch]
2020-07-16 08:23:15 -04:00
Richard TalbotWatkin
4884bf9d9a First pass of MeshDescription API and format refactor.
- Removed hardcoded element type arrays (Vertices, Edges, Triangles etc.). Mesh element types can now be arbitrarily added, with any number of channels.
- Mesh element containers have a much leaner format; instead of sparse arrays, they are now represented by a simple bitarray, determining whether an index is used or not. Consequently, mesh topology is now entirely described with the attribute system, e.g. edge start and end vertices, triangle vertices, etc.
- Support added for attributes of arbitrary dimensions, e.g. float[4] or int[2].
- Support added for attributes which index into another mesh element container.
- Added FMeshElementIndexer: this is an efficient container for maintaining backward references from one element type to another; for example, edges have an attribute specifying which vertices are at each end (an attribute of type FVertexID[2]). With an indexer, it is possible to look up which edges contain a given vertex, even though this is not explicitly stored. Indexers are designed to do minimal allocations and update lazily and in batch when necessary.
- Added support for preserving UV topology in static meshes. UVs are now a first-class element type which may be indexed directly from triangles.
- Added the facility to access the underlying array in an attribute array directly.
- Triangles now directly reference their vertex, edge and UV IDs. Vertex instances are to be deprecated.
- Changed various systems to be triangle-centric rather than polygon-centric, as this is faster. Triangles are presumed to be the elementary face type in a MeshDescription, even if polygons are still supported. The concept of polygons will be somewhat shifted to mean a group of triangles which should be treated collectively for editing purposes.
- Optimised normal/tangent generation and FBX import.
- Deprecated EditableMesh, MeshEditor and StaticMeshEditorExtension plugins - these are to be removed, but they still have certain hooks in place which need removing.
#rb

[CL 13568702 by Richard TalbotWatkin in ue5-main branch]
2020-05-28 10:56:57 -04:00
Matt Kuhlenschmidt
603a4119c5 Fix HAL/PlatformFileManager.h non-portable casing CIS issues
#rb none

[CL 13214257 by Matt Kuhlenschmidt in ue5-main branch]
2020-05-06 17:58:18 -04:00
benoit deschenes
fd6eb8bcea Integrating CL# 12246665 from Dev-Enterprise
Fix datasmith export collision mesh.

#jira UE-90598
#rb JeanMichel.Dignard

#ROBOMERGE-SOURCE: CL 12247205 in //UE4/Release-4.25/... via CL 12247208
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v668-12245121)

[CL 12247212 by benoit deschenes in Main branch]
2020-03-18 11:01:39 -04:00
benoit deschenes
3b89afbfb1 Integrating CL#11259478 from Dev-Enterprise
Fixing memory leak when GC is not called in datasmith mesh exporter

#jira UE-87989
JeanMichel.Dignard
#rb JeanMichel.Dignard

#ROBOMERGE-SOURCE: CL 11461470 in //UE4/Release-4.25/...
#ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218)

[CL 11461475 by benoit deschenes in 4.25-Plus branch]
2020-02-17 13:28:31 -05:00
JeanMichel Dignard
84facd6d15 Copy from dev-enterprise cl 11097196
#rb none
#rnx

[CL 11099277 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-23 16:28:59 -05:00