- Max materials are not changing names anymore by the plugin
- Fixed export/sync for Multisubobj submaterials with same name
- Fixed crash for Blend material with null input material
#jira UE-154116
#preflight 62a0872d521254896f9e623e
#rb benoit.deschenes
[CL 20598266 by kerim borchaev in ue5-main branch]
- Changes to Texmaps are synced(bitmap and other types, bakeable or not)
- No unused textures left in the udatasmith file(any situation when texture was used but not anymore)
- Only textures referenced in converted material are exported. This is an improvement over old exporter where it exported all texmaps referenced by source Max material and then cleaned up scene.
#jira UETOOL-4391
#preflight 6239ee8b7b69b01ec152cc1e
#rb benoit.deschenes
[CL 19495448 by kerim borchaev in ue5-main branch]
---
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
[CL 17595504 by kerim borchaev in ue5-main branch]