Commit Graph

53 Commits

Author SHA1 Message Date
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
kerim borchaev
571ac3a244 3ds Max DirectLink: AutoSync(prototype)
- toggle AutoSync from action/toolbar
- every 500 ms check that user was idle and in that case Update(with progress bar not shown)

#jira UETOOL-4377
#rb benoit.deschenes

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

[CL 18271817 by kerim borchaev in ue5-release-engine-test branch]
2021-11-23 12:29:41 -05: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
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
kerim borchaev
e3483475a3 3ds max: Instances tracking
#jira UETOOL-4386
#rb JeanLuc.Corenthin

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 17718170 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17718179 by kerim borchaev in ue5-release-engine-test branch]
2021-10-05 01:59:25 -04:00
jeanluc corenthin
32fd076fdc Fixed build breakage introduced by CL 17614269
#jira UE-127954
#rb none
#preflight 61531be57498d300011c8890

#ROBOMERGE-AUTHOR: jeanluc.corenthin
#ROBOMERGE-SOURCE: CL 17646035 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v875-17642767)

[CL 17646053 by jeanluc corenthin in ue5-release-engine-test branch]
2021-09-28 10:50:42 -04:00
kerim borchaev
722b3d5fb9 3DS MAX DirectLink plugin - very WIP
---
Ho to use.

Build with environment variable set:

DATASMITH_3DSMAX_PLUGIN_WITH_DIRECTLINK=1

Note - it should build DatasmithMax2022.gup in Engine\Binaries\Win64\3DSMax\2022

Add that ..Engine\Binaries\Win64\3DSMax\2022 folder to Max pluging paths. Max menu - Customize/Configure User and System Paths/3rd Party Plugins

Execute Engine\Source\Programs\Enterprise\Datasmith\DatasmithMaxExporter\Extras\3dsMaxScripts\UI\DatasmithDialog.ms

    This will activate the plugin and create UI

Sync/Connections/Export buttons should work
---


Review disclaimer:

- This is very preliminary review!

- All in one file for now
- Some code duplicated from baseline - like exporting hierarchy. Syncing is quite different from straight export!
- Some baseline plugin code changed to be able to reuse - one which seemed to need little interference, less chance to break.

- Export - most hierarchy export, with transforms, refscene; geometry - basic GeomObj only, materials - already using full existing plugin's export code
- Missing export(to be on par with existing) - a lot! Other object types, collision, pivots, instances, forest..
- Change tracking - geometry/transforms/material assignment/material changes basically working. But lot to add/fix(e.g. hacky material re-export)
- Slate UI working
- Key functions exported to MaxScript

- Built/tested only in 2022

#rb JeanLuc.Corenthin
#jira UETOOL-3895

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 17595504 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17595522 by kerim borchaev in ue5-release-engine-test branch]
2021-09-22 10:22:19 -04:00