Commit Graph

10 Commits

Author SHA1 Message Date
kerim borchaev
df3f3289e3 [3ds Max Exporter] Fixed Very long material name causes Importer to crash
- names exceeding FName max length are shortened

#rb benoit.deschenes
#jira UE-170633
#preflight 637e1d9d4364ef8d146c0ad6
#lockdown jeanmichel.dignard

[CL 23267175 by kerim borchaev in ue5-main branch]
2022-11-25 11:37:07 -05:00
kerim borchaev
b6b59dc68e [3ds Max Export] Remove unused submaterial
- submaterials(of a composite material) that are not used on geometry are note added to datasmith scene

#jira UE-157274
#preflight 631ad0fff448dc6e58d4af7d
#rb benoit.deschenes

[CL 22110175 by kerim borchaev in ue5-main branch]
2022-09-21 07:35:46 -04:00
kerim borchaev
d5d2e263ba [3ds Max] Fixed texture sync when multiple texmaps can use same image file
- to allow the fix refactored texture element creation for texmaps. Removed legacy code duplication of texmap conversion code and texture element creation.

- also added more statistics and for baked textures - total/average stats and individual texmap

#jira UE-162594
#preflight 630f34370345de4ccfce4a52
#rb benoit.deschenes

[CL 21737030 by kerim borchaev in ue5-main branch]
2022-09-01 03:36:09 -04:00
kerim borchaev
cfa37d3bd2 [3ds Max] DirectLink: material names fixes
- 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]
2022-06-10 12:47:33 -04:00
kerim borchaev
93d9cd256a [3ds Max] DirectLink: Fixed sync for bakeable texmaps; ForestColor texmap approximation
#jira UE-152684
#preflight 629dda3dc5590c5a181af156
#rb benoit.deschenes

[CL 20533375 by kerim borchaev in ue5-main branch]
2022-06-07 02:12:06 -04:00
kerim borchaev
edddca51fa [3ds Max] DirectLink: Max uv channel ids are remapped to Unreal's uv index
#jira UE-147174
#preflight 6290e226dd2be751aedba4c1
#rb benoit.deschenes

[CL 20431103 by kerim borchaev in ue5-main branch]
2022-05-30 11:00:50 -04:00
kerim borchaev
08b9a635f7 [3ds Max] DirectLink: diagnostics info
- added statistics about exported/sysced scene - nodes, materials, textures

#jira none
#preflight 6246d786dc6183e3f517c45a
#rb none
#fyi antoine.guillo

[CL 19586305 by kerim borchaev in ue5-main branch]
2022-04-01 06:56:55 -04:00
kerim borchaev
105063b024 [3ds Max] DirectLink: Textures Sync
- 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]
2022-03-24 10:41:30 -04:00
kerim borchaev
416d234db2 [3ds Max] DirectLink: material slots/assignment fixes
- mesh with multiple material ids but single material(i.e. not a multimaterial) is consolidated into single mesh with one material slot. Simple test - create a box(in Max it defaults to 6 matIds) and assign a material then sync/export/observe
- sorted material slots to make them in the same order as in multimaterial
- unused materials removed from Datasmith scene. I.e. assign material - sync - assign different material - first material should go away from udatasmith if not used on other nodes

#jira UE-143713
#preflight 6229002ccc09078bab5cadf5
#rb benoit.deschenes

[CL 19333134 by kerim borchaev in ue5-main branch]
2022-03-10 01:41:48 -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