@shapediver/viewer.shared.services 3.16.8 → 3.16.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/converter/Converter.d.ts +77 -77
- package/dist/converter/Converter.js +424 -424
- package/dist/converter/Converter.js.map +1 -1
- package/dist/dom-event-engine/DomEventEngine.d.ts +56 -56
- package/dist/dom-event-engine/DomEventEngine.js +275 -275
- package/dist/dom-event-engine/DomEventEngine.js.map +1 -1
- package/dist/dom-event-engine/IDomEventListener.d.ts +10 -10
- package/dist/dom-event-engine/IDomEventListener.js +2 -2
- package/dist/event-engine/EventEngine.d.ts +35 -35
- package/dist/event-engine/EventEngine.js +107 -107
- package/dist/event-engine/EventEngine.js.map +1 -1
- package/dist/event-engine/interfaces/ICallback.d.ts +4 -4
- package/dist/event-engine/interfaces/ICallback.js +2 -2
- package/dist/event-engine/interfaces/IListener.d.ts +5 -5
- package/dist/event-engine/interfaces/IListener.js +2 -2
- package/dist/http-client/HttpClient.d.ts +106 -106
- package/dist/http-client/HttpClient.js +375 -375
- package/dist/http-client/HttpClient.js.map +1 -1
- package/dist/http-client/HttpResponse.d.ts +5 -5
- package/dist/http-client/HttpResponse.js +2 -2
- package/dist/index.d.ts +43 -43
- package/dist/index.js +102 -102
- package/dist/input-validator/InputValidator.d.ts +10 -10
- package/dist/input-validator/InputValidator.d.ts.map +1 -1
- package/dist/input-validator/InputValidator.js +169 -169
- package/dist/input-validator/InputValidator.js.map +1 -1
- package/dist/logger/ErrorTypeGuards.d.ts +41 -41
- package/dist/logger/ErrorTypeGuards.js +158 -159
- package/dist/logger/ErrorTypeGuards.js.map +1 -1
- package/dist/logger/Logger.d.ts +63 -63
- package/dist/logger/Logger.js +179 -179
- package/dist/logger/Logger.js.map +1 -1
- package/dist/logger/ShapeDiverBackendErrors.d.ts +14 -14
- package/dist/logger/ShapeDiverBackendErrors.js +28 -28
- package/dist/logger/ShapeDiverError.d.ts +33 -33
- package/dist/logger/ShapeDiverError.js +43 -43
- package/dist/logger/ShapeDiverError.js.map +1 -1
- package/dist/logger/ShapeDiverViewerErrors.d.ts +87 -87
- package/dist/logger/ShapeDiverViewerErrors.d.ts.map +1 -1
- package/dist/logger/ShapeDiverViewerErrors.js +119 -119
- package/dist/logger/ShapeDiverViewerErrors.js.map +1 -1
- package/dist/parameter-utils/ParameterUtils.d.ts +3 -3
- package/dist/parameter-utils/ParameterUtils.d.ts.map +1 -1
- package/dist/parameter-utils/ParameterUtils.js +161 -161
- package/dist/parameter-utils/ParameterUtils.js.map +1 -1
- package/dist/performance-evaluator/PerformanceEvaluator.d.ts +65 -65
- package/dist/performance-evaluator/PerformanceEvaluator.js +125 -125
- package/dist/settings-engine/SettingsEngine.d.ts +43 -43
- package/dist/settings-engine/SettingsEngine.d.ts.map +1 -1
- package/dist/settings-engine/SettingsEngine.js +162 -162
- package/dist/settings-engine/SettingsEngine.js.map +1 -1
- package/dist/settings-engine/defaults/Defaults.d.ts +2 -2
- package/dist/settings-engine/defaults/Defaults.js +102 -102
- package/dist/settings-engine/defaults/FurnitureDefaults.d.ts +2 -2
- package/dist/settings-engine/defaults/FurnitureDefaults.js +158 -158
- package/dist/settings-engine/defaults/HighPerformanceDefaults.d.ts +2 -2
- package/dist/settings-engine/defaults/HighPerformanceDefaults.js +114 -114
- package/dist/settings-engine/defaults/JewelryDefaults.d.ts +2 -2
- package/dist/settings-engine/defaults/JewelryDefaults.js +91 -91
- package/dist/settings-engine/defaults/MedicalDefaults.d.ts +2 -2
- package/dist/settings-engine/defaults/MedicalDefaults.js +102 -102
- package/dist/settings-engine/defaults/TwoDimensionalDefaults.d.ts +2 -2
- package/dist/settings-engine/defaults/TwoDimensionalDefaults.js +83 -83
- package/dist/state-engine/ISessionGlobalAccessObjectDefinition.d.ts +21 -21
- package/dist/state-engine/ISessionGlobalAccessObjectDefinition.js +2 -2
- package/dist/state-engine/IViewportGlobalAccessObjectDefinition.d.ts +33 -33
- package/dist/state-engine/IViewportGlobalAccessObjectDefinition.js +2 -2
- package/dist/state-engine/StateEngine.d.ts +18 -18
- package/dist/state-engine/StateEngine.js +32 -32
- package/dist/state-engine/StatePromise.d.ts +13 -13
- package/dist/state-engine/StatePromise.js +55 -55
- package/dist/system-info/SystemInfo.d.ts +57 -57
- package/dist/system-info/SystemInfo.js +127 -127
- package/dist/system-info/SystemInfo.js.map +1 -1
- package/dist/type-check/TypeChecker.d.ts +6 -6
- package/dist/type-check/TypeChecker.js +19 -19
- package/dist/utilities/ObservableArray.d.ts +25 -25
- package/dist/utilities/ObservableArray.d.ts.map +1 -1
- package/dist/utilities/ObservableArray.js +64 -64
- package/dist/utilities/ObservableArray.js.map +1 -1
- package/dist/utilities/base64.d.ts +2 -2
- package/dist/utilities/base64.d.ts.map +1 -1
- package/dist/utilities/base64.js +21 -21
- package/dist/utilities/base64.js.map +1 -1
- package/dist/utilities/hashCreator.d.ts +7 -7
- package/dist/utilities/hashCreator.d.ts.map +1 -1
- package/dist/utilities/hashCreator.js +29 -29
- package/dist/utilities/hashCreator.js.map +1 -1
- package/dist/utilities/numberCleaner.d.ts +1 -1
- package/dist/utilities/numberCleaner.d.ts.map +1 -1
- package/dist/utilities/numberCleaner.js +8 -8
- package/dist/uuid-generator/UuidGenerator.d.ts +28 -28
- package/dist/uuid-generator/UuidGenerator.js +46 -46
- package/package.json +7 -7
|
@@ -1,159 +1,159 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FurnitureDefaults = void 0;
|
|
4
|
-
const FurnitureDefaults = () => {
|
|
5
|
-
const s = {
|
|
6
|
-
build_date: "",
|
|
7
|
-
build_version: "",
|
|
8
|
-
configuration: {},
|
|
9
|
-
settings_version: "",
|
|
10
|
-
ar: {
|
|
11
|
-
enable: true,
|
|
12
|
-
autoScaling: true,
|
|
13
|
-
},
|
|
14
|
-
camera: {
|
|
15
|
-
cameraId: "",
|
|
16
|
-
cameras: {},
|
|
17
|
-
loadDefaultCameras: true,
|
|
18
|
-
},
|
|
19
|
-
environment: {
|
|
20
|
-
clearAlpha: 1.0,
|
|
21
|
-
clearColor: "#ffffff",
|
|
22
|
-
map: "furniture_studio",
|
|
23
|
-
mapAsBackground: true,
|
|
24
|
-
mapResolution: "1024",
|
|
25
|
-
rotation: { x: 0, y: 0, z: 0, w: 1 },
|
|
26
|
-
intensity: 1,
|
|
27
|
-
blurriness: 0.4,
|
|
28
|
-
},
|
|
29
|
-
environmentGeometry: {
|
|
30
|
-
gridColor: "#44444426",
|
|
31
|
-
gridVisibility: false,
|
|
32
|
-
groundPlaneColor: "#101012ff",
|
|
33
|
-
groundPlaneVisibility: false,
|
|
34
|
-
groundPlaneShadowColor: "#3f3f3fff",
|
|
35
|
-
groundPlaneShadowVisibility: true,
|
|
36
|
-
contactShadowBlur: 2.5,
|
|
37
|
-
contactShadowHeight: 0.25,
|
|
38
|
-
contactShadowDarkness: 1,
|
|
39
|
-
contactShadowVisibility: true,
|
|
40
|
-
contactShadowOpacity: 1,
|
|
41
|
-
},
|
|
42
|
-
general: {
|
|
43
|
-
transformation: {
|
|
44
|
-
scale: { x: 1, y: 1, z: 1 },
|
|
45
|
-
translation: { x: 0, y: 0, z: 0 },
|
|
46
|
-
rotation: { x: 0, y: 0, z: 0 },
|
|
47
|
-
},
|
|
48
|
-
blurWhenBusy: true,
|
|
49
|
-
pointSize: 1.0,
|
|
50
|
-
showMessages: true,
|
|
51
|
-
},
|
|
52
|
-
light: {
|
|
53
|
-
lightSceneId: "standard",
|
|
54
|
-
lightScenes: {
|
|
55
|
-
standard: {
|
|
56
|
-
name: "standard",
|
|
57
|
-
lights: {
|
|
58
|
-
directional0: {
|
|
59
|
-
name: "directional0",
|
|
60
|
-
type: "directional",
|
|
61
|
-
properties: {
|
|
62
|
-
color: "#fff4e1ff",
|
|
63
|
-
intensity: 0.75,
|
|
64
|
-
direction: {
|
|
65
|
-
x: 0.5774000287055969,
|
|
66
|
-
y: -0.5774000287055969,
|
|
67
|
-
z: 0.5774000287055969,
|
|
68
|
-
},
|
|
69
|
-
castShadow: true,
|
|
70
|
-
shadowMapResolution: 1024,
|
|
71
|
-
shadowMapBias: -0.003,
|
|
72
|
-
},
|
|
73
|
-
order: 0,
|
|
74
|
-
},
|
|
75
|
-
directional1: {
|
|
76
|
-
name: "directional1",
|
|
77
|
-
type: "directional",
|
|
78
|
-
properties: {
|
|
79
|
-
color: "#fff4e1ff",
|
|
80
|
-
intensity: 2.75,
|
|
81
|
-
direction: {
|
|
82
|
-
x: -0.35,
|
|
83
|
-
y: -0.35,
|
|
84
|
-
z: 0.75,
|
|
85
|
-
},
|
|
86
|
-
castShadow: true,
|
|
87
|
-
shadowMapResolution: 1024,
|
|
88
|
-
shadowMapBias: -0.003,
|
|
89
|
-
},
|
|
90
|
-
order: 0,
|
|
91
|
-
},
|
|
92
|
-
directional_front: {
|
|
93
|
-
name: "directional_front",
|
|
94
|
-
type: "directional",
|
|
95
|
-
properties: {
|
|
96
|
-
color: "#dbf5ff",
|
|
97
|
-
intensity: 0.25,
|
|
98
|
-
direction: {
|
|
99
|
-
x: 0,
|
|
100
|
-
y: -1,
|
|
101
|
-
z: 0.75,
|
|
102
|
-
},
|
|
103
|
-
castShadow: true,
|
|
104
|
-
shadowMapResolution: 1024,
|
|
105
|
-
shadowMapBias: -0.003,
|
|
106
|
-
},
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
},
|
|
111
|
-
},
|
|
112
|
-
postprocessing: {
|
|
113
|
-
antiAliasingTechnique: "smaa",
|
|
114
|
-
antiAliasingTechniqueMobile: "fxaa",
|
|
115
|
-
enablePostProcessingOnMobile: true,
|
|
116
|
-
ssaaSampleLevel: 2,
|
|
117
|
-
effects: [
|
|
118
|
-
{
|
|
119
|
-
properties: {
|
|
120
|
-
resolutionScale: 1,
|
|
121
|
-
spp: 16,
|
|
122
|
-
distance: 1,
|
|
123
|
-
distanceIntensity: 1,
|
|
124
|
-
intensity: 3.5,
|
|
125
|
-
color: "#000000",
|
|
126
|
-
iterations: 1,
|
|
127
|
-
radius: 12,
|
|
128
|
-
rings: 11,
|
|
129
|
-
lumaPhi: 10,
|
|
130
|
-
depthPhi: 2,
|
|
131
|
-
normalPhi: 3.25,
|
|
132
|
-
samples: 16,
|
|
133
|
-
},
|
|
134
|
-
type: "ssao",
|
|
135
|
-
},
|
|
136
|
-
],
|
|
137
|
-
},
|
|
138
|
-
rendering: {
|
|
139
|
-
automaticColorAdjustment: true,
|
|
140
|
-
beautyRenderDelay: 50,
|
|
141
|
-
beautyRenderBlendingDuration: 1500,
|
|
142
|
-
lights: true,
|
|
143
|
-
outputEncoding: "srgb",
|
|
144
|
-
physicallyCorrectLights: true,
|
|
145
|
-
shadows: true,
|
|
146
|
-
softShadows: true,
|
|
147
|
-
textureEncoding: "srgb",
|
|
148
|
-
toneMapping: "aces_filmic",
|
|
149
|
-
toneMappingExposure: 1,
|
|
150
|
-
},
|
|
151
|
-
session: {},
|
|
152
|
-
material: {
|
|
153
|
-
defaultMaterialColor: "#199b9bff",
|
|
154
|
-
},
|
|
155
|
-
};
|
|
156
|
-
return s;
|
|
157
|
-
};
|
|
158
|
-
exports.FurnitureDefaults = FurnitureDefaults;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FurnitureDefaults = void 0;
|
|
4
|
+
const FurnitureDefaults = () => {
|
|
5
|
+
const s = {
|
|
6
|
+
build_date: "",
|
|
7
|
+
build_version: "",
|
|
8
|
+
configuration: {},
|
|
9
|
+
settings_version: "",
|
|
10
|
+
ar: {
|
|
11
|
+
enable: true,
|
|
12
|
+
autoScaling: true,
|
|
13
|
+
},
|
|
14
|
+
camera: {
|
|
15
|
+
cameraId: "",
|
|
16
|
+
cameras: {},
|
|
17
|
+
loadDefaultCameras: true,
|
|
18
|
+
},
|
|
19
|
+
environment: {
|
|
20
|
+
clearAlpha: 1.0,
|
|
21
|
+
clearColor: "#ffffff",
|
|
22
|
+
map: "furniture_studio",
|
|
23
|
+
mapAsBackground: true,
|
|
24
|
+
mapResolution: "1024",
|
|
25
|
+
rotation: { x: 0, y: 0, z: 0, w: 1 },
|
|
26
|
+
intensity: 1,
|
|
27
|
+
blurriness: 0.4,
|
|
28
|
+
},
|
|
29
|
+
environmentGeometry: {
|
|
30
|
+
gridColor: "#44444426",
|
|
31
|
+
gridVisibility: false,
|
|
32
|
+
groundPlaneColor: "#101012ff",
|
|
33
|
+
groundPlaneVisibility: false,
|
|
34
|
+
groundPlaneShadowColor: "#3f3f3fff",
|
|
35
|
+
groundPlaneShadowVisibility: true,
|
|
36
|
+
contactShadowBlur: 2.5,
|
|
37
|
+
contactShadowHeight: 0.25,
|
|
38
|
+
contactShadowDarkness: 1,
|
|
39
|
+
contactShadowVisibility: true,
|
|
40
|
+
contactShadowOpacity: 1,
|
|
41
|
+
},
|
|
42
|
+
general: {
|
|
43
|
+
transformation: {
|
|
44
|
+
scale: { x: 1, y: 1, z: 1 },
|
|
45
|
+
translation: { x: 0, y: 0, z: 0 },
|
|
46
|
+
rotation: { x: 0, y: 0, z: 0 },
|
|
47
|
+
},
|
|
48
|
+
blurWhenBusy: true,
|
|
49
|
+
pointSize: 1.0,
|
|
50
|
+
showMessages: true,
|
|
51
|
+
},
|
|
52
|
+
light: {
|
|
53
|
+
lightSceneId: "standard",
|
|
54
|
+
lightScenes: {
|
|
55
|
+
standard: {
|
|
56
|
+
name: "standard",
|
|
57
|
+
lights: {
|
|
58
|
+
directional0: {
|
|
59
|
+
name: "directional0",
|
|
60
|
+
type: "directional",
|
|
61
|
+
properties: {
|
|
62
|
+
color: "#fff4e1ff",
|
|
63
|
+
intensity: 0.75,
|
|
64
|
+
direction: {
|
|
65
|
+
x: 0.5774000287055969,
|
|
66
|
+
y: -0.5774000287055969,
|
|
67
|
+
z: 0.5774000287055969,
|
|
68
|
+
},
|
|
69
|
+
castShadow: true,
|
|
70
|
+
shadowMapResolution: 1024,
|
|
71
|
+
shadowMapBias: -0.003,
|
|
72
|
+
},
|
|
73
|
+
order: 0,
|
|
74
|
+
},
|
|
75
|
+
directional1: {
|
|
76
|
+
name: "directional1",
|
|
77
|
+
type: "directional",
|
|
78
|
+
properties: {
|
|
79
|
+
color: "#fff4e1ff",
|
|
80
|
+
intensity: 2.75,
|
|
81
|
+
direction: {
|
|
82
|
+
x: -0.35,
|
|
83
|
+
y: -0.35,
|
|
84
|
+
z: 0.75,
|
|
85
|
+
},
|
|
86
|
+
castShadow: true,
|
|
87
|
+
shadowMapResolution: 1024,
|
|
88
|
+
shadowMapBias: -0.003,
|
|
89
|
+
},
|
|
90
|
+
order: 0,
|
|
91
|
+
},
|
|
92
|
+
directional_front: {
|
|
93
|
+
name: "directional_front",
|
|
94
|
+
type: "directional",
|
|
95
|
+
properties: {
|
|
96
|
+
color: "#dbf5ff",
|
|
97
|
+
intensity: 0.25,
|
|
98
|
+
direction: {
|
|
99
|
+
x: 0,
|
|
100
|
+
y: -1,
|
|
101
|
+
z: 0.75,
|
|
102
|
+
},
|
|
103
|
+
castShadow: true,
|
|
104
|
+
shadowMapResolution: 1024,
|
|
105
|
+
shadowMapBias: -0.003,
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
postprocessing: {
|
|
113
|
+
antiAliasingTechnique: "smaa",
|
|
114
|
+
antiAliasingTechniqueMobile: "fxaa",
|
|
115
|
+
enablePostProcessingOnMobile: true,
|
|
116
|
+
ssaaSampleLevel: 2,
|
|
117
|
+
effects: [
|
|
118
|
+
{
|
|
119
|
+
properties: {
|
|
120
|
+
resolutionScale: 1,
|
|
121
|
+
spp: 16,
|
|
122
|
+
distance: 1,
|
|
123
|
+
distanceIntensity: 1,
|
|
124
|
+
intensity: 3.5,
|
|
125
|
+
color: "#000000",
|
|
126
|
+
iterations: 1,
|
|
127
|
+
radius: 12,
|
|
128
|
+
rings: 11,
|
|
129
|
+
lumaPhi: 10,
|
|
130
|
+
depthPhi: 2,
|
|
131
|
+
normalPhi: 3.25,
|
|
132
|
+
samples: 16,
|
|
133
|
+
},
|
|
134
|
+
type: "ssao",
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
},
|
|
138
|
+
rendering: {
|
|
139
|
+
automaticColorAdjustment: true,
|
|
140
|
+
beautyRenderDelay: 50,
|
|
141
|
+
beautyRenderBlendingDuration: 1500,
|
|
142
|
+
lights: true,
|
|
143
|
+
outputEncoding: "srgb",
|
|
144
|
+
physicallyCorrectLights: true,
|
|
145
|
+
shadows: true,
|
|
146
|
+
softShadows: true,
|
|
147
|
+
textureEncoding: "srgb",
|
|
148
|
+
toneMapping: "aces_filmic",
|
|
149
|
+
toneMappingExposure: 1,
|
|
150
|
+
},
|
|
151
|
+
session: {},
|
|
152
|
+
material: {
|
|
153
|
+
defaultMaterialColor: "#199b9bff",
|
|
154
|
+
},
|
|
155
|
+
};
|
|
156
|
+
return s;
|
|
157
|
+
};
|
|
158
|
+
exports.FurnitureDefaults = FurnitureDefaults;
|
|
159
159
|
//# sourceMappingURL=FurnitureDefaults.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ISettings } from "@shapediver/viewer.settings";
|
|
2
|
-
export declare const HighPerformanceDefaults: () => ISettings;
|
|
1
|
+
import { ISettings } from "@shapediver/viewer.settings";
|
|
2
|
+
export declare const HighPerformanceDefaults: () => ISettings;
|
|
3
3
|
//# sourceMappingURL=HighPerformanceDefaults.d.ts.map
|
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HighPerformanceDefaults = void 0;
|
|
4
|
-
const HighPerformanceDefaults = () => {
|
|
5
|
-
const s = {
|
|
6
|
-
build_date: "",
|
|
7
|
-
build_version: "",
|
|
8
|
-
configuration: {},
|
|
9
|
-
settings_version: "7.0",
|
|
10
|
-
ar: {
|
|
11
|
-
enable: true,
|
|
12
|
-
autoScaling: true,
|
|
13
|
-
},
|
|
14
|
-
camera: {
|
|
15
|
-
cameraId: "",
|
|
16
|
-
cameras: {},
|
|
17
|
-
loadDefaultCameras: true,
|
|
18
|
-
},
|
|
19
|
-
environment: {
|
|
20
|
-
clearAlpha: 1.0,
|
|
21
|
-
clearColor: "#ffffff",
|
|
22
|
-
map: "null",
|
|
23
|
-
mapAsBackground: false,
|
|
24
|
-
mapResolution: "1024",
|
|
25
|
-
rotation: { x: 0, y: 0, z: 0, w: 1 },
|
|
26
|
-
intensity: 1,
|
|
27
|
-
blurriness: 0,
|
|
28
|
-
},
|
|
29
|
-
environmentGeometry: {
|
|
30
|
-
gridColor: "#44444426",
|
|
31
|
-
gridVisibility: false,
|
|
32
|
-
groundPlaneColor: "#636363ff",
|
|
33
|
-
groundPlaneVisibility: false,
|
|
34
|
-
groundPlaneShadowColor: "#d3d3d3ff",
|
|
35
|
-
groundPlaneShadowVisibility: false,
|
|
36
|
-
contactShadowBlur: 1.5,
|
|
37
|
-
contactShadowHeight: 0.25,
|
|
38
|
-
contactShadowDarkness: 2.5,
|
|
39
|
-
contactShadowVisibility: false,
|
|
40
|
-
contactShadowOpacity: 1,
|
|
41
|
-
},
|
|
42
|
-
general: {
|
|
43
|
-
transformation: {
|
|
44
|
-
scale: { x: 1, y: 1, z: 1 },
|
|
45
|
-
translation: { x: 0, y: 0, z: 0 },
|
|
46
|
-
rotation: { x: 0, y: 0, z: 0 },
|
|
47
|
-
},
|
|
48
|
-
blurWhenBusy: true,
|
|
49
|
-
pointSize: 1.0,
|
|
50
|
-
showMessages: true,
|
|
51
|
-
},
|
|
52
|
-
light: {
|
|
53
|
-
lightSceneId: "standard",
|
|
54
|
-
lightScenes: {
|
|
55
|
-
standard: {
|
|
56
|
-
name: "standard",
|
|
57
|
-
lights: {
|
|
58
|
-
directional0: {
|
|
59
|
-
name: "directional0",
|
|
60
|
-
type: "directional",
|
|
61
|
-
properties: {
|
|
62
|
-
color: "#fff4e1ff",
|
|
63
|
-
intensity: 1.5,
|
|
64
|
-
direction: {
|
|
65
|
-
x: 0.5774000287055969,
|
|
66
|
-
y: -0.5774000287055969,
|
|
67
|
-
z: 0.5774000287055969,
|
|
68
|
-
},
|
|
69
|
-
castShadow: false,
|
|
70
|
-
},
|
|
71
|
-
order: 0,
|
|
72
|
-
},
|
|
73
|
-
ambient0: {
|
|
74
|
-
name: "ambient0",
|
|
75
|
-
type: "ambient",
|
|
76
|
-
properties: {
|
|
77
|
-
color: "#ffffff",
|
|
78
|
-
intensity: 1,
|
|
79
|
-
},
|
|
80
|
-
order: 1,
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
postprocessing: {
|
|
87
|
-
antiAliasingTechnique: "fxaa",
|
|
88
|
-
antiAliasingTechniqueMobile: "fxaa",
|
|
89
|
-
enablePostProcessingOnMobile: false,
|
|
90
|
-
ssaaSampleLevel: 2,
|
|
91
|
-
effects: [],
|
|
92
|
-
},
|
|
93
|
-
rendering: {
|
|
94
|
-
automaticColorAdjustment: true,
|
|
95
|
-
beautyRenderDelay: 50,
|
|
96
|
-
beautyRenderBlendingDuration: 1500,
|
|
97
|
-
lights: true,
|
|
98
|
-
outputEncoding: "srgb",
|
|
99
|
-
physicallyCorrectLights: true,
|
|
100
|
-
shadows: false,
|
|
101
|
-
softShadows: false,
|
|
102
|
-
textureEncoding: "srgb",
|
|
103
|
-
toneMapping: "none",
|
|
104
|
-
toneMappingExposure: 1,
|
|
105
|
-
},
|
|
106
|
-
session: {},
|
|
107
|
-
material: {
|
|
108
|
-
defaultMaterialColor: "#199b9bff",
|
|
109
|
-
materialOverrideType: "lambert",
|
|
110
|
-
},
|
|
111
|
-
};
|
|
112
|
-
return s;
|
|
113
|
-
};
|
|
114
|
-
exports.HighPerformanceDefaults = HighPerformanceDefaults;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HighPerformanceDefaults = void 0;
|
|
4
|
+
const HighPerformanceDefaults = () => {
|
|
5
|
+
const s = {
|
|
6
|
+
build_date: "",
|
|
7
|
+
build_version: "",
|
|
8
|
+
configuration: {},
|
|
9
|
+
settings_version: "7.0",
|
|
10
|
+
ar: {
|
|
11
|
+
enable: true,
|
|
12
|
+
autoScaling: true,
|
|
13
|
+
},
|
|
14
|
+
camera: {
|
|
15
|
+
cameraId: "",
|
|
16
|
+
cameras: {},
|
|
17
|
+
loadDefaultCameras: true,
|
|
18
|
+
},
|
|
19
|
+
environment: {
|
|
20
|
+
clearAlpha: 1.0,
|
|
21
|
+
clearColor: "#ffffff",
|
|
22
|
+
map: "null",
|
|
23
|
+
mapAsBackground: false,
|
|
24
|
+
mapResolution: "1024",
|
|
25
|
+
rotation: { x: 0, y: 0, z: 0, w: 1 },
|
|
26
|
+
intensity: 1,
|
|
27
|
+
blurriness: 0,
|
|
28
|
+
},
|
|
29
|
+
environmentGeometry: {
|
|
30
|
+
gridColor: "#44444426",
|
|
31
|
+
gridVisibility: false,
|
|
32
|
+
groundPlaneColor: "#636363ff",
|
|
33
|
+
groundPlaneVisibility: false,
|
|
34
|
+
groundPlaneShadowColor: "#d3d3d3ff",
|
|
35
|
+
groundPlaneShadowVisibility: false,
|
|
36
|
+
contactShadowBlur: 1.5,
|
|
37
|
+
contactShadowHeight: 0.25,
|
|
38
|
+
contactShadowDarkness: 2.5,
|
|
39
|
+
contactShadowVisibility: false,
|
|
40
|
+
contactShadowOpacity: 1,
|
|
41
|
+
},
|
|
42
|
+
general: {
|
|
43
|
+
transformation: {
|
|
44
|
+
scale: { x: 1, y: 1, z: 1 },
|
|
45
|
+
translation: { x: 0, y: 0, z: 0 },
|
|
46
|
+
rotation: { x: 0, y: 0, z: 0 },
|
|
47
|
+
},
|
|
48
|
+
blurWhenBusy: true,
|
|
49
|
+
pointSize: 1.0,
|
|
50
|
+
showMessages: true,
|
|
51
|
+
},
|
|
52
|
+
light: {
|
|
53
|
+
lightSceneId: "standard",
|
|
54
|
+
lightScenes: {
|
|
55
|
+
standard: {
|
|
56
|
+
name: "standard",
|
|
57
|
+
lights: {
|
|
58
|
+
directional0: {
|
|
59
|
+
name: "directional0",
|
|
60
|
+
type: "directional",
|
|
61
|
+
properties: {
|
|
62
|
+
color: "#fff4e1ff",
|
|
63
|
+
intensity: 1.5,
|
|
64
|
+
direction: {
|
|
65
|
+
x: 0.5774000287055969,
|
|
66
|
+
y: -0.5774000287055969,
|
|
67
|
+
z: 0.5774000287055969,
|
|
68
|
+
},
|
|
69
|
+
castShadow: false,
|
|
70
|
+
},
|
|
71
|
+
order: 0,
|
|
72
|
+
},
|
|
73
|
+
ambient0: {
|
|
74
|
+
name: "ambient0",
|
|
75
|
+
type: "ambient",
|
|
76
|
+
properties: {
|
|
77
|
+
color: "#ffffff",
|
|
78
|
+
intensity: 1,
|
|
79
|
+
},
|
|
80
|
+
order: 1,
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
postprocessing: {
|
|
87
|
+
antiAliasingTechnique: "fxaa",
|
|
88
|
+
antiAliasingTechniqueMobile: "fxaa",
|
|
89
|
+
enablePostProcessingOnMobile: false,
|
|
90
|
+
ssaaSampleLevel: 2,
|
|
91
|
+
effects: [],
|
|
92
|
+
},
|
|
93
|
+
rendering: {
|
|
94
|
+
automaticColorAdjustment: true,
|
|
95
|
+
beautyRenderDelay: 50,
|
|
96
|
+
beautyRenderBlendingDuration: 1500,
|
|
97
|
+
lights: true,
|
|
98
|
+
outputEncoding: "srgb",
|
|
99
|
+
physicallyCorrectLights: true,
|
|
100
|
+
shadows: false,
|
|
101
|
+
softShadows: false,
|
|
102
|
+
textureEncoding: "srgb",
|
|
103
|
+
toneMapping: "none",
|
|
104
|
+
toneMappingExposure: 1,
|
|
105
|
+
},
|
|
106
|
+
session: {},
|
|
107
|
+
material: {
|
|
108
|
+
defaultMaterialColor: "#199b9bff",
|
|
109
|
+
materialOverrideType: "lambert",
|
|
110
|
+
},
|
|
111
|
+
};
|
|
112
|
+
return s;
|
|
113
|
+
};
|
|
114
|
+
exports.HighPerformanceDefaults = HighPerformanceDefaults;
|
|
115
115
|
//# sourceMappingURL=HighPerformanceDefaults.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ISettings } from "@shapediver/viewer.settings";
|
|
2
|
-
export declare const JewelryDefaults: () => ISettings;
|
|
1
|
+
import { ISettings } from "@shapediver/viewer.settings";
|
|
2
|
+
export declare const JewelryDefaults: () => ISettings;
|
|
3
3
|
//# sourceMappingURL=JewelryDefaults.d.ts.map
|