Commit Graph

101 Commits

Author SHA1 Message Date
kerim borchaev
edfd186940 [3ds Max] DirectLink: fixed export of animated transform when parent of animated node is hidded
Animation for transforms exported as relative to parent actors. Hidden nodes are not exported by the plugin so relative transform need to be taken to closest exported ancestor node.

#jira UE-131680
#preflight 6294af1e380652524ec77dc7
#rb #rb benoit.deschenes

[CL 20450056 by kerim borchaev in ue5-main branch]
2022-06-01 05:03:27 -04:00
kerim borchaev
34d0698e36 [3ds Max] DirectLink: Ies light syncs texture element for Ies texture
#jira UE-137090
#preflight 62962f3795336ad2bfbde6ee
#rb benoit.deschenes

[CL 20449996 by kerim borchaev in ue5-main branch]
2022-06-01 04:58:30 -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
6f3a4adec4 [3ds Max] DirectLink: Log window Copy button copies whole content when nothing is selected
#jira UE-151445
#preflight 629049bb4f63120d8e0b7036
#rb benoit.deschenes

[CL 20390247 by kerim borchaev in ue5-main branch]
2022-05-27 00:10:46 -04:00
kerim borchaev
40092a51d1 [3ds Max] DirectLink: bake pivot when pivots are same
- enables conversion to Datasmith of non-uniformly scaled objects done along rotated axes(pivot) by baking pivots into geometry(when appropriate)

#jira UE-136121
#preflight 628e3e8a731cfa46fcc016c3
#rb benoit.deschenes

[CL 20368776 by kerim borchaev in ue5-main branch]
2022-05-25 14:17:56 -04:00
kerim borchaev
378a7a6c95 [3ds Max] DirectLink: materials notifications rework
- main improvement is to handle situations when material change event is sent during update - vray materials also fire events when RenderBegin/RenderEnd is called on their nodes


#jira UE-150309
#preflight 628cbcc96f6741ae315dba75
#rb benoit.deschenes

[CL 20348772 by kerim borchaev in ue5-main branch]
2022-05-24 11:17:58 -04:00
kerim borchaev
86f5aa7d45 [3ds Max] DirectLink: Limit Texture Resolution option
- baked texmap size limited to specified resolution

#jira UETOOL-5106
#preflight 628533ce2a7df8ed9fa94ceb
#rb benoit.deschenes

[CL 20291243 by kerim borchaev in ue5-main branch]
2022-05-20 01:55:57 -04:00
kerim borchaev
243413d7bb [3ds Max] DirectLink: engine path from registry
- plus small script refactor

#jira UETOOL-5116
#preflight 627ceab3e97f57bf6cccc62e
#rb benoit.deschenes

[CL 20256093 by kerim borchaev in ue5-main branch]
2022-05-17 23:50:00 -04:00
kerim borchaev
46264dbcd5 [3ds Max] DirectLink: notifications rework
- Changed geometry-related events to use ReferenceMaker notifications
- Result is that notifications are immediate..
- ..therefore could be ignored when sent from within Update. This allows setting Geom nodes to produce Render mesh during update(switching to Render mesh sends notification).
- Test case - AutoSync for optimize/turbosmooth/vrayproxy etc objects exports Render mesh(not viewport mesh) and doesn't spam DirectLink updates

#jira UETOOL-5105 UE-151506
#preflight 627ce774332e182a581b842d
#rb benoit.deschenes

[CL 20242777 by kerim borchaev in ue5-main branch]
2022-05-17 10:39:25 -04:00
kerim borchaev
ccc509e4d0 [3ds Max] DirectLink: Forest Pack API updated
- fixes crash when syncing/exportign while a thirdparty rendering plugin is active(like Corena interactive)

#jira UETOOL-5109
#preflight 6281cf06e20f09e89463db2b
#rb benoit.deschenes

[CL 20238823 by kerim borchaev in ue5-main branch]
2022-05-17 01:38:58 -04:00
kerim borchaev
8c9b99f9c5 [3ds Max] DirectLink: fixed VRayProxy to export correct mesh
- after previous change (using ObjectValidity to validate geometry for time slider) vray proxy stated exporting display mesh set in UI instead of the correct, full-size mesh. This is fixed.

#jira UETOOL-5042
#preflight 62721768614ad105273df7fb
#rb trivial

[CL 20038436 by kerim borchaev in ue5-main branch]
2022-05-04 02:32:59 -04:00
kerim borchaev
6dcd872009 [3ds Max] DirectLink: Sync TimeSlider changes - basic geometry
- regular geometry synced when animation slider time changes
- testcase: create box, animate it's size on timeline, toggle autosync - moving slider should send updates
- note: no other objects are re-translated unnecessarily

#jira UETOOL-5042
#preflight 62715681fe09c0cfbc3ef9b9
#rb benoit.deschenes
#fyi antoine.guillo

[CL 20038022 by kerim borchaev in ue5-main branch]
2022-05-04 01:54:12 -04:00
kerim borchaev
3176a44c39 [3ds Max] DirectLink: cancelling don't write .udatasmith
- Export of DatasmithSceneExporteris not called when cancelled
- also translating animations can be now cancelled

#jira UETOOL-5104
#rb trivial
#preflight 6270d230056d76e73aab87f2

[CL 20022138 by kerim borchaev in ue5-main branch]
2022-05-03 03:15:33 -04:00
kerim borchaev
e0fc3b9c9f [3ds Max] DirectLink: cancel during scene parsing
- initial scene parsing of big scenes(or when lots of nodes are invalidated) might take some noticeable of time

#jira UETOOL-5104
#preflight 62701a75220f89f0ad4d7095
#rb benoit.deschenes

[CL 20021595 by kerim borchaev in ue5-main branch]
2022-05-03 01:23:33 -04:00
kerim borchaev
ee8a158c39 [3ds Max] DirectLink: Cancel Export/Sync
- Sync can correctly restarts after being cancelled

#jira UETOOL-5104
#preflight 626a64ef0464895bc5fe1f78
#rb benoit.deschenes

[CL 20006279 by kerim borchaev in ue5-main branch]
2022-05-02 00:30:35 -04:00
kerim borchaev
0913928c68 [3ds Max] DirectLink: Max 2023 support
#jira UETOOL-5190
#preflight 626bc22f58443068594f3e99
#rb benoit.deschenes

[CL 20006276 by kerim borchaev in ue5-main branch]
2022-05-02 00:29:13 -04:00
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