Commit Graph

46 Commits

Author SHA1 Message Date
kerim borchaev
b2c2a399e2 [SketchUp] Material Transparency with Texture
- fixed case when Sketchup transparent material using texture without alpha appearad opaque
- fixed combining scalar opacity and texture alpha(now they are modulated)
- fixed VERY old issue with texture opacity source - INVERTED BLUE channel of material texture was used as opacity source

#jira UE-157361
#preflight 62d81f79c0180d8071dbf668
#rb benoit.deschenes

[CL 21197684 by kerim borchaev in ue5-main branch]
2022-07-21 00:39:21 -04:00
kerim borchaev
68cac21204 [SketchUp] Image Entity
- Image entity exported as a separate actor
- layer visibility working(as well as regular visibility)
- Image dimensions baked into static mesh
- Image entities with the same image contents(bitmap data) share Datasmith material
- Sync of image parameters - transform and dimensions

#jira UE-153795 UE-159380
#preflight 62d65304185da2495f6a5c7d
#rb benoit.deschenes

[CL 21179810 by kerim borchaev in ue5-main branch]
2022-07-20 10:54:47 -04:00
kerim borchaev
24c7db0e40 [SketchUp] Classification Types exported to metadata
#jira UE-158026
#preflight 62c46d0c3c5171c817a418b9
#rb benoit.deschenes

[CL 20988609 by kerim borchaev in ue5-main branch]
2022-07-07 14:27:02 -04:00
kerim borchaev
c7fded5bda [SketchUp] Static Mesh name uses Persistent Id instead of Guid
- for SU versions above 2019(since 2020.1)

#jira UE-157332
#preflight 62c580a6a6654f97296f75c9
#rb benoit.deschenes

[CL 20981086 by kerim borchaev in ue5-main branch]
2022-07-07 02:05:52 -04:00
kerim borchaev
b36fc2b534 [SketchUp] Merge Component geometry into single mesh
- old code(making disconnected faces into separate meshes) is kept, compiling. In case we need an option

#jira UE-157330
#preflight 62beca2cd94b57687c72fa75
#rb benoit.deschenes

[CL 20935622 by kerim borchaev in ue5-main branch]
2022-07-04 12:07:56 -04:00
kerim borchaev
ea07dc6b37 [SketchUp] "Color By Tag"
- Switching Color By Tag rebuilds materials for the whole scene to use SU Layer(aka Tag)
materials
- Also includes texture/uv scaling information of Layer materials.
- Layer/Tag override works as in SU - default(Layer0) layer material overriden if component instance overrides Layer

#jira UE-130705
#preflight 62bc694ce353c20ac246ae8e
#rb benoit.deschenes

[CL 20935075 by kerim borchaev in ue5-main branch]
2022-07-04 11:04:35 -04:00
kerim borchaev
20c07ac632 [SketchUp] Layer folder(group) tracking for individual faces
- also optimized(cached) layer visibility

#jira UE-132346
#preflight 62b09b2bde510ae06e548b97
#rb benoit.deschenes

[CL 20751879 by kerim borchaev in ue5-main branch]
2022-06-21 00:30:41 -04:00
kerim borchaev
db44b13df3 [SketchUp] Enable parent non-uniform scaling of a rotated component
- Unreal doesn't allow non-uniform scaling of a parent actor to be applied to a rotated child object(scaling is applied before rotation, in mesh's local space). SketchUp allows this and in some cases it's useful/possible to 'bake' rotation into component's geometry to have same effect in Unreal as in SU.

- Restrictions: Transform 'baking' is done only for purely geometric components(without child components). And when component that has oly single instance(single transform to be baked). Multiple occurrencies of the same instance are allowed since they have the same local transform(which was baked).

- Translation and uniform scaling is not baked(only non-uniform scale, rotate and shear). These is not needed and more convenient for user to keep them in the actor.

#jira UE-130882
#preflight 62a88e57136e62bef1c4f1ed
#rb benoit.deschenes JeanLuc.Corenthin

[CL 20680914 by kerim borchaev in ue5-main branch]
2022-06-16 00:24:28 -04:00
kerim borchaev
796ad7d691 [Sketchup] Fixed Component/instance name change sync
#jira UE-115568
#preflight 62a350b79521f957241549fc
#rb benoit.deschenes

[CL 20598267 by kerim borchaev in ue5-main branch]
2022-06-10 12:47:33 -04:00
kerim borchaev
c00bd8bb40 [SketchUp] Fixed texture export on Mac
- avoided call to CopyFile for texture files, was failing because it was copying file onto itself

#jira UE-150966
#preflight 627903eb822bdc69f0021b95
#rb JeanLuc.Corenthin
#lockdown jeanmichel.dignard

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 20471781 in //UE5/Release-5.0/... via CL 20472640
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20475260 by kerim borchaev in ue5-main branch]
2022-06-02 16:33:31 -04:00
jeanluc corenthin
317cb2b445 Fixed issue with wrong Ruby framework required for SketchUp 2022 exporter on Mac
Solution: Remove the link directive to use the Ruby framework as it is already done for the SketchUpAPI framework

#jira UE-144851
#rb benoit.deschenes
#preflight 626307f4006fa20b683ba4d4

#ROBOMERGE-AUTHOR: jeanluc.corenthin
#ROBOMERGE-SOURCE: CL 19872813 in //UE5/Release-5.0/... via CL 19874060
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19878030 by jeanluc corenthin in ue5-main branch]
2022-04-22 19:55:24 -04:00
JeanLuc Corenthin
878d03dd98 Fixed issue with wrong Ruby framework linked to SketchUp 2022 exporter
Solution: Removed explicit linkage with Ruby framework using -undefined linker's option since Ruby framework will be already loaded by SketchUp app.
Note: This was already done for the SketchUpAPI framework.

#jira UE-144851
#rb none
#preflight 6255936f153828d2732b9d0c

[CL 19721735 by JeanLuc Corenthin in ue5-main branch]
2022-04-12 11:21:53 -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
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
JeanLuc Corenthin
33689a5341 Fixed crash on sync on all exporters.
- Root cause: In cl 17646035, the value of bBuildWithEditorOnlyData in the different Target.cs failes was changed from true to false. Doing so implies the use of the wrong BulkData on which the Datasmith mesh serialization is relying on and generates the crash.
  - Solution: Move bBuildWithEditorOnlyData  back to true.
Note the reason why the change was made in the first place has not been found yet.

#jira UE-145285
#rb none
#preflight 6228d36e0d5a90e98ec5719b

[CL 19322125 by JeanLuc Corenthin in ue5-main branch]
2022-03-09 12:23:38 -05:00
jeanluc corenthin
68e89a16c0 Fix build break in SketchUp exporter
- Since CL 19253774, conversion from FVector3f to FVector is explicit.

#jira UE-144798
#rb benoit.deschenes, jeanmichel.dignard
#preflight 62224e97c33b6ba25d12481f
#lockdown simon.tourangeau

#ROBOMERGE-AUTHOR: jeanluc.corenthin
#ROBOMERGE-SOURCE: CL 19285243 in //UE5/Release-5.0/... via CL 19285770
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19291627 by jeanluc corenthin in ue5-main branch]
2022-03-07 15:53:46 -05:00
kerim borchaev
8061e0c777 SketchUp: 2022 support
- Win64 and macOS(plugin and installer)

#jira UETOOL-4857
#preflight 620653f1b84973a2bb86b19c
#rb JeanLuc.Corenthin
#lockdown jeanmichel.dignard

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18952557 in //UE5/Release-5.0/... via CL 18952653 via CL 18952785
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18952791 by kerim borchaev in ue5-main branch]
2022-02-11 10:53:47 -05:00
Andrew Davidson
4a3e582384 LWC: Remove UE_LARGE_WORLD_COORDINATES_DISABLED toggle
#rb stephen.holmes
[FYI] zak.middleton
#preflight 61f7d18b114ec25fe09648d6

#ROBOMERGE-OWNER: Andrew.Davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18788533 in //UE5/Release-5.0/... via CL 18788583 via CL 18788850
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
#ROBOMERGE-CONFLICT from-shelf
#preflight 61f7eb7a114ec25fe0990f8c

[CL 18789644 by Andrew Davidson in ue5-main branch]
2022-01-31 10:10:51 -05:00
matt johnson
b7423cc1da Imath: build and link the library statically on Windows
This changes the third-party Imath library from being built and linked dynamically on Windows
to being built and linked statically instead. Linux and Mac are already statically linking Imath.

Rebuilds of the third-party Alembic and OpenEXR libraries as well as the LiveCodingConsole.exe
binary were included to pick up the newly static linkage to Imath.

#jira UE-131373
#rb benoit.deschenes, david.harvey, tim.smith
#preflight 61e774f5843acf1b24128abf

#ROBOMERGE-AUTHOR: matt.johnson
#ROBOMERGE-SOURCE: CL 18663625 in //UE5/Release-5.0/... via CL 18663689 via CL 18663731
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18663774 by matt johnson in ue5-main branch]
2022-01-19 15:13:35 -05:00
benoit deschenes
9e7a484527 DatasmithSketchupExporter Mac - Fixing plugin not being able to be uninstalled because of read-only files in the package.
#jira UE-139163
#preflight 61e1e00df57ff0310da164c9

#ROBOMERGE-AUTHOR: benoit.deschenes
#ROBOMERGE-SOURCE: CL 18623115 in //UE5/Release-5.0/... via CL 18623123 via CL 18623136
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18623161 by benoit deschenes in ue5-main branch]
2022-01-14 16:02:16 -05:00
benoit deschenes
94f3c14970 Fix DatasmithSketchupExporter missing libraries
#jira UE-138003
#rb JeanLuc.Corenthin
JeanLuc.Corenthin

#ROBOMERGE-AUTHOR: benoit.deschenes
#ROBOMERGE-SOURCE: CL 18573943 in //UE5/Release-5.0/... via CL 18573969
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18574002 by benoit deschenes in ue5-release-engine-test branch]
2022-01-11 12:45:25 -05:00
benoit deschenes
7b4cd467a7 Fix build - Datasmith SketchUp Exporter using removed FStreamInfo member.
#rb none
#preflight 61dca8c64d377749b6612f61

#ROBOMERGE-AUTHOR: benoit.deschenes
#ROBOMERGE-SOURCE: CL 18565713 in //UE5/Release-5.0/... via CL 18565766
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18565815 by benoit deschenes in ue5-release-engine-test branch]
2022-01-10 17:00:43 -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
a08f668e1a SketchUp: fix crash when previously assigned texture is disposed
#jira UE-136942
#rb benoit.deschenes

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 18431516 in //UE5/Release-5.0/... via CL 18435350
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435592 by kerim borchaev in ue5-release-engine-test branch]
2021-12-10 17:50:05 -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