Commit Graph

60 Commits

Author SHA1 Message Date
kerim borchaev
76fdc88bd0 [Datasmith] Geolocation api supports 'unset' value
-  Sketchup doesn't provide elevation so not setting elevation won't have it in .udatasmith file and imported into Unreal as metadata

#jira UE-184935
#preflight 645bd5ea46411bde95200aba
#rb JeanLuc.Corenthin

[CL 25450390 by kerim borchaev in ue5-main branch]
2023-05-12 11:28:56 -04:00
kerim borchaev
c341957eaa [SketchUp] Updated plugin windows installer with required dependency dll
#jira UE-185082
#preflight 645b346a6534a4f5047d878a
#rb JeanLuc.Corenthin

[CL 25409926 by kerim borchaev in ue5-main branch]
2023-05-10 13:44:17 -04:00
ionut matasaru
3d7c0e8440 UBT: Removed deprecated TargetInfo::bUseMallocProfiler toggle in Source/Programs.
#jira UE-141779
#rb Joe.Kirchoff
#rb Johan.Berg
#preflight 64380aea7a00790bfd116430

[CL 25101875 by ionut matasaru in ue5-main branch]
2023-04-19 04:15:59 -04:00
kerim borchaev
f40e78f460 [Sketchup] Datasmith Exporter to transfer the model geo-location information as metadata to UE
#jira UE-179638
#preflight 642fa37485398c090c53b782
#rb benoit.deschenes

[CL 24987814 by kerim borchaev in ue5-main branch]
2023-04-11 02:00:41 -04:00
kerim borchaev
9beda97b52 [SketchUp] Add support for SDK 2023
- compiles with SDK 2023
- Windows installer includes 2023
- Mac OS compiles and zips

#jira UE-178267
#preflight 63fc9331dd78dd50f67286e5
#rb JeanLuc.Corenthin

[CL 24500172 by kerim borchaev in ue5-main branch]
2023-03-03 11:39:24 -05:00
kerim borchaev
55a1e16f92 [SketchUp] Fixed texture not being exported occasionally
- assets folder created ahead of using SU api to write image file

#jira UE-166481
#preflight 6357ea460313c24974379c4c
#rb benoit.deschenes

[CL 22806041 by kerim borchaev in ue5-main branch]
2022-10-27 02:42:28 -04:00
benoit deschenes
c961b5f188 Datasmith Sketchup Mac - Adding support for Apple Silicon for Datasmith Sketchup 2022
The Datasmith Sketchup 2022 Mac plugin is now compiled and packaged as a Universal Binaries (x64_86/Arm64) and should work on either Intel or Apple Silicon mac,  without using Rosetta.
Only the Sketchup 2022 SDK is provided as universal binaries,  so other versions of our exporter are still x86_64 only and do require Rosetta to run on Apple Silicon.

This should solve some stability issues Apple Silicon users experience while using Sketchup with Rosetta enabled.

#jira UE-145924
#preflight 633f103c62762f4a1b5d5c29
#rb JeanLuc.Corenthin Kerim.Borchaev
#lockdown jeanmichel.dignard

[CL 22404312 by benoit deschenes in ue5-main branch]
2022-10-07 13:38:35 -04:00
kerim borchaev
b9cbca87ae Remove/replace uses of improper words found in Enterprise/Datasmith
- Merged CL 21719725

- replaced remaining words in .py files with 'final'

#jira UE-158637 UE-158639
#preflight 633af1d72a5690003a13b268

[CL 22322353 by kerim borchaev in ue5-main branch]
2022-10-03 20:42:05 -04:00
kerim borchaev
fd3bfd942e [SketchUp] Image fixes
- Datasmith: WorldPositionOffset input added to Datasmith UePbr material
- Datasmith: DatasmithCSharpFacade - added ClearCoat/ClearCoatRoughness/WorldPositionOffset
- Fixed z-fighting - Image Geometry is offset along local Z axis. PositionOffset param of image's material can be used to control amount of offset
- Enabled transparency on image material when it contains transparent pixels

#jira UE-160640
#preflight 6329dcf50a4ad044de9b8dd5
#rb benoit.deschenes

[CL 22100273 by kerim borchaev in ue5-main branch]
2022-09-20 15:39:39 -04:00
JeanLuc Corenthin
8b68b5d56e Remove non-inclusive words from exporters' installer
#jira UE-158635, UE-158636, UE-158637, UE-158639
#rb none
#preflight 630e8445660db81edb9e29ec

[CL 21719725 by JeanLuc Corenthin in ue5-main branch]
2022-08-31 09:17:59 -04:00
JeanLuc Corenthin
cf41705c54 [Non-inclusivity] Removed banned words from Datasmith API and code using the API
- IDatasmithMasterMaterialElement has become IDatasmithMaterialInstanceElement
 - EDatasmithMasterMateriallType has become EDatasmithReferenceMaterialType
 - IDatasmithMasterMaterialElement is signaled as deprecated and not supported in 5.2
 - The MasterMaterial tag is replaced by MaterialInstance, reading and writing. Reading the MasterMaterial tag is supported for previous versions.
 - Clients should still be able to compile against Datasmith SDK without changing anything. However, warnings of deprecation will be logged.
 - Directories, files and assets which named contained  banned words have been renamed too. Redirect directives in the DatasmithContent module have been added for existing assets

#jira none
#rb johan.duparc
#preflight 6307c702aa0fda29197c01fd

[CL 21570510 by JeanLuc Corenthin in ue5-main branch]
2022-08-25 15:29:37 -04:00
kerim borchaev
61c3d84112 [SketchUp] Camera updates and active flag
#jira UE-153690
#preflight 62fdf58f0601ad0504728fe2
#rb benoit.deschenes

[CL 21454264 by kerim borchaev in ue5-main branch]
2022-08-19 00:51:24 -04:00
kerim borchaev
e192471dbc [SketchUp] Optimize Actor counts
- Component Instance without children doesn't create extra actor(only mesh actor)
- Image creates only Mesh
- fixed medatada removal when component is removed

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

[CL 21454251 by kerim borchaev in ue5-main branch]
2022-08-19 00:48:28 -04:00
kerim borchaev
f7103d9fab [SketchUp] Fixed normals when baking transform into mesh
- normals are transformed with inverse-transposed orientation component of the bake transform

#jira UE-130882
#preflight 62f4b357185b21882a1c2a6f
#rb benoit.deschenes

[CL 21402096 by kerim borchaev in ue5-main branch]
2022-08-16 02:59:01 -04:00
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