Commit Graph

61 Commits

Author SHA1 Message Date
kerim borchaev
d44b39f9a6 3ds Max: Corona Physical Material to UEPbr
- Scope: Pure Metallic, Thin(as ThinTranslucent), Transparent/Refractive material(including volumetric transmittance for PathTracer), simple opaque, emissive materials

- Roughness(with Glossiness mode) converted linearly. So that it's invertible same as in Max - e.g. 0.5 Roughness is same as 0.5 Gloss

- Specular/Ior conversion suported for both Ior and Disney modes. Ior is properly converted(to Specular). And Disney Specular to refraction Ior.

#jira UETOOL-4970
#preflight 6215b8ea0f71e491ccea8460
#rb benoit.deschenes

[CL 19083835 by kerim borchaev in ue5-main branch]
2022-02-22 23:46:32 -05:00
benoit deschenes
dccf1147e6 DatasmithMax - Fixing DirectLink serialization corruption caused by copy of a PbrMaterialExpression.
#jira UE-142822
#rb Kerim.Borchaev
#preflight 620e7249e8554a6f64e4bfc8

[CL 19035665 by benoit deschenes in ue5-main branch]
2022-02-17 11:13:24 -05:00
emil kirichev
ec3e994a2d [3ds Max Exporter] Add support for 3ds Max 2023
#jira UETOOL-4974
#rb JeanLuc.Corenthin
#preflight 620bb3b201253d2e19dc4a9a
#lockdown jeanmichel.dignard

#ROBOMERGE-AUTHOR: emil.kirichev
#ROBOMERGE-SOURCE: CL 18995656 in //UE5/Release-5.0/... via CL 18995868 via CL 18995938
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 19001136 by emil kirichev in ue5-main branch]
2022-02-15 14:41:48 -05:00
kerim borchaev
e48e163ada 3ds Max DirectLink: fixed RailClone overwriting own meshes
#jira none
#rb trivial
#preflight none
#fyi antoine.guillo

[CL 18997044 by kerim borchaev in ue5-main branch]
2022-02-15 11:23:46 -05:00
kerim borchaev
6bf8720252 3ds Max DirectLink: XRefMat and VRayBlendMtl to UEPbr
- also simplified conversion code(removed redundand checks)

#jira UETOOL-4931 UETOOL-4966
#rb benoit.deschenes
#preflight 620406688e53010a186e6001

[CL 18921851 by kerim borchaev in ue5-main branch]
2022-02-09 13:43:44 -05:00
kerim borchaev
09142c253d 3ds Max DirectLink: MentalRay Arch & Design and VRay Light Materials to UEPbr
#jira UETOOL-4924 UETOOL-4930
#preflight 620203b5445d334c040af6e8
#rb benoit.deschenes

[CL 18903465 by kerim borchaev in ue5-main branch]
2022-02-08 11:48:52 -05:00
kerim borchaev
9cc42fb5fe 3ds Max DirectLink: Corona Light Material to UEPbr
- Emission and Opacity Mask
- Added "Unlit" ShadingModel to Datasmith core/importer

#jira UETOOL-4923
#preflight 61fa7d781d7ca8ed2d78ec32
#rb benoit.deschenes

[CL 18840457 by kerim borchaev in ue5-main branch]
2022-02-03 01:02:52 -05:00
kerim borchaev
94d7329fdc 3ds Max DirectLink: Physical Material with ClearCoat to UEPbr
- Converted Max Physical Material to Datasmith UEPbr, including Clear coat

- Testcases:
- Opaque
- Simple Transparent Max material exported as simple transparency(no refraction, ior)
- Advanced Transparent Max material exported as refractive material
- ClearCoat(ior, roughness used)
- Added ThinTranslucent variant(when Max material is ThinWalled or IOR it 1.0)
- Reflection converted to Specular

- Additionally: Fixed transparency color map, emission map/color map that was broken

#jira UETOOL-4571 UETOOL-4900
#preflight 61f7d274e55232619f81a549
#rb benoit.deschenes

[CL 18791909 by kerim borchaev in ue5-main branch]
2022-01-31 12:14:34 -05:00
kerim borchaev
9563ddaef7 3ds Max: Fixed node deletion with AutoSync
- handling deletion of nodes moved to Update, not only fixing autosync but also ensuring that this potentially heavy work(in case of many removed nodes) doesn't happen when user is editing the scene

#jira UE-139068
#preflight 61e837c8da16597a1f39965d
#rb benoit.deschenes

[CL 18660619 by kerim borchaev in ue5-main branch]
2022-01-19 13:02:26 -05:00
kerim borchaev
9898e5996f 3ds Max DirectLink: installed Datasmith Attributes to use by the plugin
- installed and loaded pre-startup(so it can be used by macroscripts)
- plugin was previously dependent on the Datasmith Attributes code loaded by the old Datasmith exporter

#jira UE-137622
#rb benoit.deschenes
#preflight 61e5069d006b17a6864737cc

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18630830 in //UE5/Release-5.0/... via CL 18630836 via CL 18630838
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18630839 by kerim borchaev in ue5-main branch]
2022-01-17 01:20:46 -05:00
Marc Audy
c43360f47c Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#[fyi] Aurel.Cordonnier

#ushell-cherrypick of 18448630 by Marc.Audy
#preflight none

[CL 18483677 by Marc Audy in ue5-main branch]
2021-12-17 03:41:59 -05:00
kerim borchaev
2183e34e77 3ds Max DirectLink: Messages Dialog, crash on exit fix
- Messages dialog first iteration - modeless, realtime update

#jira UETOOL-4774 UE-136837
#rb benoit.deschenes
#preflight 61bae374dc58e54b332b5311

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18477255 in //UE5/Release-5.0/... via CL 18481382 via CL 18481480
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18481736 by kerim borchaev in ue5-main branch]
2021-12-16 19:51:08 -05:00
kerim borchaev
b93f25fa9c 3ds Max DirectLink: Messages Dialog, crash on exit fix
- Messages dialog first iteration - modeless, realtime update

#jira UETOOL-4774 UE-136837
#rb benoit.deschenes
#preflight 61bae374dc58e54b332b5311

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18477255 in //UE5/Release-5.0/... via CL 18481382
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18481480 by kerim borchaev in ue5-release-engine-test branch]
2021-12-16 19:33:40 -05:00
Marc Audy
f512a6d461 Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#fyi Aurel.Cordonnier

[CL 18448630 by Marc Audy in ue5-release-engine-test branch]
2021-12-13 15:59:48 -05:00
kerim borchaev
bc40b4cb35 3ds Max DirectLink: export options stored in an external file
-  'ini' file located in standard Max user 'plugcfg' folder e.g. for 3ds Max 2022 it's %localappdata%\Autodesk\3dsMax\2022 - 64bit\ENU\en-US\plugcfg\UnrealDatasmithMax.ini

- loaded on startup and saved every time an option is changed

#jira UETOOL-4771

#rb benoit.deschenes

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18444072 in //UE5/Release-5.0/... via CL 18445322
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18445499 by kerim borchaev in ue5-release-engine-test branch]
2021-12-13 13:43:25 -05:00
kerim borchaev
d3b235ca6e 3ds Max DirectLink: ribbon panel icons and Attributes Modifier
- Datasmith icons are displayed when ribbon in 'collapsed'(minimized) state
- Add Datasmith Attributes modifier works

#rb none
[FYI] PierreFelix.Breton

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18431821 in //UE5/Release-5.0/... via CL 18435357
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435596 by kerim borchaev in ue5-release-engine-test branch]
2021-12-10 17:50:30 -05:00
kerim borchaev
d187d209b6 3ds Max DirectLink: export options
- options are affecting only Export To File, not DirectLink Sync

- also fixed options exclusive for Selected/Visible and Animation/NoAnim

#jira UETOOL-4768 UE-136809
#rb benoit.deschenes

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18431537 in //UE5/Release-5.0/... via CL 18435351
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435593 by kerim borchaev in ue5-release-engine-test branch]
2021-12-10 17:50:12 -05:00
kerim borchaev
d99a12542f 3ds Max DirectLink: fixed initial DL connection
- crash opening Connections and syncing when done on initial Max scene

#jira UE-136774 UE-136776
#rb none

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18395735 in //UE5/Release-5.0/... via CL 18395737
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18395749 by kerim borchaev in ue5-release-engine-test branch]
2021-12-07 11:39:10 -05:00
kerim borchaev
53fc146910 3ds Max DirectLink: fixes for sync/tracking and cache
- don't sync/start change tracking for new/loaded scene before Sync/AutoSync is pressed
- set Cache Dir on new/reset/load
- disable autosync after reset/load
- scene vendor in udatasmith
- fixed ProgresBar messed stage index
- retired maxscript dialog
- extra AutoSync maxscript functions - Datasmith_IsAutoSyncEnabled, Datasmith_SetAutoSyncIdleDelay

#jira UETOOL-4744 UETOOL-4377
#rb benoit.deschenes

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18386539 in //UE5/Release-5.0/... via CL 18386549
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18386557 by kerim borchaev in ue5-release-engine-test branch]
2021-12-06 14:48:33 -05:00
kerim borchaev
1a0c19f7b1 3ds Max DirectLink: install Ribbon with icon images
- Ribbon installed to Extensions so it's loaded on Max startup
- Large icons for Ribbons used, images installed into Max where they are available for the ribbon

#jira UETOOL-4744
#rb benoit.deschenes

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18340547 in //UE5/Release-5.0/... via CL 18340559
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18340564 by kerim borchaev in ue5-release-engine-test branch]
2021-12-01 12:07:44 -05:00
kerim borchaev
29a6b3d9b0 3ds Max DirectLink: AutoSync fixes
- Full Update when AutoSync was just enabled
- Don't send redundant(with no changes) DirectLink update
- added Datasmith_SetAutoSyncDelay maxscript method for experimenting

#jira UETOOL-4377
#rb benoit.deschenes

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18328711 in //UE5/Release-5.0/... via CL 18328782
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18328848 by kerim borchaev in ue5-release-engine-test branch]
2021-11-30 14:26:56 -05:00
kerim borchaev
d808aa378c 3ds Max DirectLink: warning fix
#rb trivial

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18322947 in //UE5/Release-5.0/... via CL 18322961
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18322966 by kerim borchaev in ue5-release-engine-test branch]
2021-11-30 05:54:10 -05:00
kerim borchaev
16c914a365 3ds Max DirectLink: actions icons
- icons available in max for all existing actions(Sync, AutoSync, Export, Collections, Messages)
- icons are visible in Customize UI actions list and when assigned to a custom toolbars or ribbon
- added example Ribbon from Pierr-Felix (only modified to use icons from actions, not files). Installing to "C:\Program Files\Autodesk\3ds Max 2022\en-US\UI\Ribbon\Extensions" would work

#jira UETOOL-4533
#rb benoit.deschenes

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18321824 in //UE5/Release-5.0/... via CL 18321845
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18321848 by kerim borchaev in ue5-release-engine-test branch]
2021-11-30 00:44:32 -05:00
kerim borchaev
8825ac2e83 3ds Max DirectLink: fixed crash on File/New
- also scene is not parsed/updated until first Sync command

#jira UE-135343
#rb benoit.deschenes JeanLuc.Corenthin

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18295671 in //UE5/Release-5.0/... via CL 18295683
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18295692 by kerim borchaev in ue5-release-engine-test branch]
2021-11-25 12:45:05 -05:00
kerim borchaev
fda7ab4482 3ds Max DirectLink: Animation export
#jira UETOOL-4376
#rb benoit.deschenes

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18271811 in //UE5/Release-5.0/... via CL 18271833
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18271849 by kerim borchaev in ue5-release-engine-test branch]
2021-11-23 12:30:55 -05:00