Commit Graph

85 Commits

Author SHA1 Message Date
kerim borchaev
7d36311597 [3ds Max] DirectLink: Messages Window rewrite with Slate
Fixed(compared to previous):
- Selection
- Copy(to clipboard) Button
- Colored message types
- Clear button
- Resizing
- Tooltips

#preflight 625ee35f5f498a37c91fba54
#jira UETOOL-5108
#rb benoit.deschenes

[CL 19935575 by kerim borchaev in ue5-main branch]
2022-04-27 01:19:45 -04:00
kerim borchaev
40017d913f [3ds Max] DirectLink: MaxPhysicalMtl - CutOut map
#jira UETOOL-4900
#preflight 62629d04a4606a014a2ca0d2
#rb benoit.deschenes

[CL 19916159 by kerim borchaev in ue5-main branch]
2022-04-26 01:20:47 -04:00
kerim borchaev
ce12caf5b0 [3ds Max] DirectLink: Fix 3DsMax - Cameras import option makes Datasmith imports NOT only camera
- object with non-degenerate pivot but no ather instances doesn't create redundand actor

#jira UE-146839
#preflight 62612680375115ece30789b7
#rb benoit.deschenes

[CL 19861447 by kerim borchaev in ue5-main branch]
2022-04-22 01:46:39 -04:00
kerim borchaev
7101ba6ab5 [3ds Max] DirectLink: Sync Time Slider changes, Part 1
- Node transforms updated when Max time slider changes

- Optimize Collision Sync - not using Max api to find node by name but instead use plugin's  recorded name->node mapping

- additional refactor to simplify further validity checks(for geometry, materials etc)

#jira UETOOL-5042
#preflight 625718d6f7476d662c7fd20d
#rb benoit.deschenes

[CL 19774347 by kerim borchaev in ue5-main branch]
2022-04-15 13:41:06 -04:00
kerim borchaev
de30cc0495 [3ds Max] DirectLink: fixed AutoSync
#jira UE-148494
#rb trivial
#preflight 6255bf3c9a0f82a31521dfc0

[CL 19726155 by kerim borchaev in ue5-main branch]
2022-04-12 14:48:03 -04:00
benoit deschenes
afde922bf1 DatasmithExporter - Fixing Rhino and Revit broken export (no export in Rhino, bad mesh scaling in Rhino & Revit)
- Restoring previous FDatasmithSceneExporter::Reset() behavior but marking the function as deprecated.
It's previous usage of reseting the export progress without resetting the whole exporter state was discutable and confusing. If users want to fully reset the exporter they don't need the Reset() function.

- Fixing Datasmith Facade inverse scaling error during position conversion

#preflight 624b48d9dc6183e3f547d3b1
#rb Johan.Duparc Kerim.Borchaev

[CL 19625080 by benoit deschenes in ue5-main branch]
2022-04-05 10:39:18 -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
Johan Duparc
c28db07762 Datasmith: adopt latest version of warning about includes order
#preflight 624332dff73c316f68ce6de5
#rb JeanLuc.Corenthin

[CL 19556626 by Johan Duparc in ue5-main branch]
2022-03-30 10:12:09 -04:00
Johan Duparc
e6c8943f4c Datasmith: Large World Coordinate support
rules of thumb:
- Actor transforms are in doubles
- mesh internal data are in floats, except UVs that are in doubles
- compiled 3dsmax, archicad, navisworks, revit, rhino, sketchup, solidworks
#jira UETOOL-5070
#preflight 623f2ee47d49f37dfd3d599b
#rb Benoit.Deschenes

[CL 19533189 by Johan Duparc in ue5-main branch]
2022-03-28 16:55:59 -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
e3b752d777 [3ds Max] DirectLink: Added handlight to additional change events for geometry
- Topology(e.g. Flip normals on Poligons of a EditPoly)
- Mapping(edit MapVert without touching vertices/polys, e.g. by mxs polyop.setMapVert)

#jira none
#rb trivial
#preflight 623acf6ff10be88b017676e3
#fyi antoine.guillo

[CL 19476906 by kerim borchaev in ue5-main branch]
2022-03-23 03:56:41 -04:00
kerim borchaev
ef6aa90c1a [3ds Max] DirectLink: typo fix
#jira none
#preflight none
#rb trivial

[CL 19449530 by kerim borchaev in ue5-main branch]
2022-03-21 02:57:15 -04:00
kerim borchaev
dae98f26cd [3ds Max] DirectLink: Stats output specifies kind of Export/Sync/AutoSync
#jira none
#rb none
#preflight 6234c167cc39f493065d1e89
#fyi antoine.guillo

[CL 19438424 by kerim borchaev in ue5-main branch]
2022-03-18 13:52:49 -04:00
kerim borchaev
274f525c9f [3ds Max] DirectLink: CoronaPhysicalMtl ClearCoat normal
#jira UETOOL-4970
#preflight 623305b9ac0173aa413eb5e9
#rb none

[CL 19433052 by kerim borchaev in ue5-main branch]
2022-03-18 03:27:22 -04:00
kerim borchaev
3c60c28dc8 [3ds Max] DirectLink: Profile Sync/Export
- Export outputs into Messages dialog and log timings for each export stage. Always enabled

- Sync/AutoSync can enable this too, with "Datasmith_SetExportOption_StatSync true" mxs command

- removed info/warnings from outputting to Listener, only Messages and Unreal log

- Unreal log is located here - %LOCALAPPDATA%\UnrealDatasmithExporter\Saved\Logs\UnrealDatasmithExporter.log

#preflight 62336c4948746817f12d1ca4
#jira none
#rb benoit.deschenes

[CL 19423770 by kerim borchaev in ue5-main branch]
2022-03-17 14:05:19 -04:00
kerim borchaev
23a7edc3d3 [3ds Max] DirectLink: CoronaPhysicalMtl ClearCoat
#jira UETOOL-4970
#preflight 6230d6489406c2cfd6a891b8
#rb benoit.deschenes

[CL 19401870 by kerim borchaev in ue5-main branch]
2022-03-16 02:07:06 -04:00
kerim borchaev
2144eeb719 [3ds Max] DirectLink: Forest multisubobj materials
- test: add two geometries with different multisubobj materials to the same Forest object
- also fixed crash related to Containers. Test: create container, close it, open, close, previously this whould eventually crash

#jira UETOOL-4389
#preflight 623048c7c51b66df4c39fb52
#rb benoit.deschenes

[CL 19387780 by kerim borchaev in ue5-main branch]
2022-03-15 12:42:46 -04:00
kerim borchaev
48846a6655 [3ds Max] DirectLink: Forest - fixed regression
#rb none
#jira none
#preflight none

[CL 19352841 by kerim borchaev in ue5-main branch]
2022-03-11 07:30:59 -05: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
kerim borchaev
d234bddb3f [3ds Max] DirectLink: RailClone fixes
- fixed crash when exporting/syncing when another renderer is already registered with RC. Testcase - set Corona as renderer and start CoronaViewport to render an RC mesh. Export/Sync - crash. Reproduces with old exporter too.

#jira UETOOL-3894
#preflight 622799b5a8370672874eb734
#rb benoit.deschenes

[CL 19333114 by kerim borchaev in ue5-main branch]
2022-03-10 01:34:47 -05:00
kerim borchaev
fd5f9fd388 [3ds Max] DirectLink: fixed connections icon size
- was clipped before, changed to large size

#jira none
#preflight none
#rb trivial

[CL 19306114 by kerim borchaev in ue5-main branch]
2022-03-08 13:14:28 -05:00
kerim borchaev
4bc29bdcd7 [3ds Max] DirectLink: fixed crash/sync freeze
- repro: start max with plugin, don't sync!, load scene with relatively deep hierarchy, only then sync

#jira node
#preflight none
#rb trivial

[CL 19289939 by kerim borchaev in ue5-main branch]
2022-03-07 14:39:38 -05:00
kerim borchaev
943b110617 [3ds Max] DirectLink: Lights fixes
- CoronaLight Cylinder orientation
- Photometric light attenuation
- Arnold light intensity
- CoronaSun color/temperature
- VRaySun color/temperature

#jira UETOOL-4506
#preflight 62220f7b335298c314567931
#rb benoit.deschenes

[CL 19269726 by kerim borchaev in ue5-main branch]
2022-03-04 13:18:53 -05:00
kerim borchaev
6c0def0986 [3ds Max] DirectLink: Containers - preserve hierarchy
- fixed scene reset/new/load DirectLink name
- (internal)flag to use viewport mesh for Sync/AutoSync to prevent GeometryChanged events appearing. Testcase - use Optimize/MeshSmooth/TurboSmooth modifier and have render/viewport mesh different quality. This would cause infinite update before.

#jira none
#preflight 621e34a7f1206ae3ea5a5acf
#rb benoit.deschenes

[CL 19239308 by kerim borchaev in ue5-main branch]
2022-03-03 00:57:55 -05:00
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