Commit Graph

66 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
steve robb
7da84c1d1b Replaced UE_NODISCARD with [[nodiscard]].
[CL 30593744 by steve robb in ue5-main branch]
2024-01-12 10:47:04 -05:00
marc audy
a61593568e Fix PVS warnings - V591: Non-void function should return a value.
Add return values for static_assert cases to placate PVS
Fix copy operators not returning this
Fix a handful of other cases

[CL 28955609 by marc audy in ue5-main branch]
2023-10-20 01:28:06 -04:00
kriss gossart
3cdee84464 Chaos Cloth Asset - Severed the Datasmith Importer dependencies to the Chaos Cloth Asset, and allowed for more cloth object types to also use the importer.
#rb JeanLuc.Corenthin
#jira UE-182085
#rnx

[CL 27235710 by kriss gossart in ue5-main branch]
2023-08-21 07:11:19 -04:00
kerim borchaev
76fdc88bd0 [Datasmith] Geolocation api supports 'unset' value
-  Sketchup doesn't provide elevation so not setting elevation won't have it in .udatasmith file and imported into Unreal as metadata

#jira UE-184935
#preflight 645bd5ea46411bde95200aba
#rb JeanLuc.Corenthin

[CL 25450390 by kerim borchaev in ue5-main branch]
2023-05-12 11:28:56 -04:00
kerim borchaev
4a54bdf4f4 [3ds Max] RailClone/ForestPack mesh sharing
#jira UE-161107
#preflight 643e4791a35280ed4f0fdd34
#rb benoit.deschenes

[CL 25160498 by kerim borchaev in ue5-main branch]
2023-04-24 01:16:02 -04:00
kerim borchaev
3248b6c4c5 Add support to geolocation to Datasmith API
#jira UE-180009
#preflight 642e78e7da7f9583702b9cff
#preflight 642e790df376ab43d22a9e35
#rb benoit.deschenes

[CL 24962394 by kerim borchaev in ue5-main branch]
2023-04-07 00:37:27 -04:00
Charles deRousiers
1c6fe73ece Add exposure as new light unit.
#rb chris.kulla
#jira none
#preflight 63f7e43e1206d91a2b6c4121

[CL 24519541 by Charles deRousiers in ue5-main branch]
2023-03-06 04:43:25 -05:00
bryan sefcik
16d68d7b4e Updated UHT to support parsing "#if WITH_COREUOBJECT" statements to resolve issues with generated.h includes not being found.
#[fyi] tim.smith

#ushell-cherrypick of 24060136 by bryan.sefcik
#preflight 63e2da35c2257e56f4157b7e

[CL 24062920 by bryan sefcik in ue5-main branch]
2023-02-07 18:40:43 -05:00
Charles deRousiers
9f9607a23f Add IsThinSurface on root node for flagging surface with thin shell (i.e., hollow interrior).
The defines a clear semantic for how thickness of a bottom layer should be handled with Strata. This CL only pipes the data for the various parts. A following CL will add a thickness property on the root node.

#rb none
#jira none
#preflight 638672dd4004f73f62ea9600
#fyi sebastien.hillaire

[CL 23324261 by Charles deRousiers in ue5-main branch]
2022-11-30 02:10:42 -05:00
Johan Duparc
2395827b7c DatasmithCloth: import Sewing info
- fix reimport data keeping old patterns
- fix usage of reference skeleton API
- skip import of empty clothes (with no patterns) as it causes crashes on asset build
#preflight 6374f53f953c19d435f8f48b

[CL 23153779 by Johan Duparc in ue5-main branch]
2022-11-16 09:54:57 -05:00
marc audy
927adb79be Correct deprecation versions
#preflight trivial
#rnx

[CL 22573046 by marc audy in ue5-main branch]
2022-10-17 15:13:35 -04:00
Johan Duparc
acf52ab206 Datasmith: cloth importer code is now part of the importer plugin
#jira UE-166642
#preflight 6344232be166160bb55fd787

[CL 22429832 by Johan Duparc in ue5-main branch]
2022-10-10 10:52:22 -04:00
johan duparc
2032a810a0 DatasmithSDK support for pattern parameters
#rb none
#preflight 632c3918e23e50651b32082b

[CL 22144735 by johan duparc in ue5-main branch]
2022-09-22 16:54:16 -04:00
kerim borchaev
fd3bfd942e [SketchUp] Image fixes
- Datasmith: WorldPositionOffset input added to Datasmith UePbr material
- Datasmith: DatasmithCSharpFacade - added ClearCoat/ClearCoatRoughness/WorldPositionOffset
- Fixed z-fighting - Image Geometry is offset along local Z axis. PositionOffset param of image's material can be used to control amount of offset
- Enabled transparency on image material when it contains transparent pixels

#jira UE-160640
#preflight 6329dcf50a4ad044de9b8dd5
#rb benoit.deschenes

[CL 22100273 by kerim borchaev in ue5-main branch]
2022-09-20 15:39:39 -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
JeanLuc Corenthin
cf41705c54 [Non-inclusivity] Removed banned words from Datasmith API and code using the API
- IDatasmithMasterMaterialElement has become IDatasmithMaterialInstanceElement
 - EDatasmithMasterMateriallType has become EDatasmithReferenceMaterialType
 - IDatasmithMasterMaterialElement is signaled as deprecated and not supported in 5.2
 - The MasterMaterial tag is replaced by MaterialInstance, reading and writing. Reading the MasterMaterial tag is supported for previous versions.
 - Clients should still be able to compile against Datasmith SDK without changing anything. However, warnings of deprecation will be logged.
 - Directories, files and assets which named contained  banned words have been renamed too. Redirect directives in the DatasmithContent module have been added for existing assets

#jira none
#rb johan.duparc
#preflight 6307c702aa0fda29197c01fd

[CL 21570510 by JeanLuc Corenthin in ue5-main branch]
2022-08-25 15:29:37 -04:00
Johan Duparc
5de689b73b Datasmith: Better handling of non-compact material ids
#jira UE-161204
#rb JeanLuc.Corenthin
#preflight 62ff9f34626e8b11b633204f

[CL 21458891 by Johan Duparc in ue5-main branch]
2022-08-19 12:16:04 -04:00
David Lesage
c1ea79bca5 Use FVector3f for mesh vertex coordinates, normal, and UV as staticMesh works with float.
#preflight 62fcdaa33f75602b2fb473b1

[CL 21423443 by David Lesage in ue5-main branch]
2022-08-17 08:14:25 -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
d0e038cd9d Datasmith: cloth : introduce a scale option, and an option to skip pannels without physic properties.
Automatically skip pannels with too many problematic triangles in order to avoid hangs and log spam afterward.
#preflight none
#preflight 62f28a77461e862154ff18d7

[CL 21291097 by Johan Duparc in ue5-main branch]
2022-08-09 12:40:35 -04:00
Johan Duparc
e4e7f12573 Datasmith: Fix missing CL info when building plugins on build machines
#rb JeanLuc.Corenthin, Jerome.Delattre
#jira UE-159865
#preflight 62d99a0fac71f3a225823892

[CL 21214975 by Johan Duparc in ue5-main branch]
2022-07-22 01:05:58 -04:00
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
Johan Duparc
e1f9772559 Datasmith: Add support for cloth actor
#jira UE-153756, UE-153775
#rb JeanLuc.Corenthin
#preflight 62d6d2e21062f2e6303d3ccc

[CL 21163477 by Johan Duparc in ue5-main branch]
2022-07-19 12:01:38 -04:00
Robb Surridge
0a5a02c5b2 Coding standard fixes: gender-inclusive language
#jira UE-156429
#preflight 62b32e826a25ba6ae52f94bd
#rb jason.walter

[CL 20795375 by Robb Surridge in ue5-main branch]
2022-06-23 11:14:07 -04:00