@rocketshow/designer 1.36.0 → 1.37.0
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/assets/i18n/de.json +3 -1
- package/assets/i18n/en.json +3 -1
- package/esm2022/lib/fixture/fixture-capability/fixture-capability-channel/fixture-capability-channel.component.mjs +181 -33
- package/esm2022/lib/fixture/fixture-capability/fixture-capability.component.mjs +14 -5
- package/esm2022/lib/models/fixture-capability.mjs +47 -4
- package/esm2022/lib/preview/models/color-changer-3d.mjs +15 -27
- package/esm2022/lib/preview/models/fixture-3d.mjs +91 -105
- package/esm2022/lib/preview/models/moving-head-3d.mjs +32 -41
- package/esm2022/lib/preview/preview.component.mjs +4 -4
- package/esm2022/lib/services/fixture.service.mjs +1 -1
- package/esm2022/lib/services/preset.service.mjs +3 -3
- package/esm2022/lib/services/preview.service.mjs +13 -1
- package/fesm2022/rocketshow-designer.mjs +389 -213
- package/fesm2022/rocketshow-designer.mjs.map +1 -1
- package/lib/fixture/fixture-capability/fixture-capability-channel/fixture-capability-channel.component.d.ts +9 -2
- package/lib/fixture/fixture-capability/fixture-capability.component.d.ts +5 -1
- package/lib/models/fixture-capability.d.ts +47 -4
- package/lib/preview/models/color-changer-3d.d.ts +4 -5
- package/lib/preview/models/fixture-3d.d.ts +17 -16
- package/lib/preview/models/moving-head-3d.d.ts +4 -5
- package/lib/services/preview.service.d.ts +5 -1
- package/package.json +1 -1
- package/rocketshow-designer-1.37.0.tgz +0 -0
- package/rocketshow-designer-1.36.0.tgz +0 -0
|
@@ -9,11 +9,15 @@ export declare class FixtureCapabilityChannelComponent implements OnInit {
|
|
|
9
9
|
sliderValue: ElementRef;
|
|
10
10
|
selectedCapability: CachedFixtureCapability;
|
|
11
11
|
_channel: CachedFixtureChannel;
|
|
12
|
-
rangeMin: number;
|
|
13
|
-
rangeMax: number;
|
|
14
12
|
defaultValue: number;
|
|
15
13
|
value: number;
|
|
16
14
|
templateValue: number;
|
|
15
|
+
description: string;
|
|
16
|
+
hasRange: boolean;
|
|
17
|
+
rangeMin: number;
|
|
18
|
+
rangeMax: number;
|
|
19
|
+
descriptionStart: string;
|
|
20
|
+
descriptionEnd: string;
|
|
17
21
|
valueSetTimer: any;
|
|
18
22
|
profile: FixtureProfile;
|
|
19
23
|
set channel(value: CachedFixtureChannel);
|
|
@@ -21,6 +25,9 @@ export declare class FixtureCapabilityChannelComponent implements OnInit {
|
|
|
21
25
|
constructor(presetService: PresetService);
|
|
22
26
|
private updateChannel;
|
|
23
27
|
capabilityHasRange(): boolean;
|
|
28
|
+
getDescriptionStart(capability: CachedFixtureCapability): string;
|
|
29
|
+
getDescriptionEnd(capability: CachedFixtureCapability): string;
|
|
30
|
+
getDescription(capability: CachedFixtureCapability): string;
|
|
24
31
|
private getRangeMin;
|
|
25
32
|
private getRangeMax;
|
|
26
33
|
ngOnInit(): void;
|
|
@@ -12,14 +12,18 @@ export declare class FixtureCapabilityComponent implements OnInit, OnDestroy {
|
|
|
12
12
|
private changeDetectorRef;
|
|
13
13
|
projectService: ProjectService;
|
|
14
14
|
introService: IntroService;
|
|
15
|
-
colorWheelChannels: Map<FixtureProfile, CachedFixtureChannel>;
|
|
16
15
|
private fixtureSelectionChangedSubscription;
|
|
17
16
|
private previewSelectionChangedSubscription;
|
|
17
|
+
colorWheelChannels: Map<FixtureProfile, CachedFixtureChannel>;
|
|
18
|
+
hasCapabilityDimmer: boolean;
|
|
19
|
+
hasCapabilityColorOrColorWheel: boolean;
|
|
20
|
+
hasCapabilityPanTilt: boolean;
|
|
18
21
|
constructor(presetService: PresetService, fixtureService: FixtureService, changeDetectorRef: ChangeDetectorRef, projectService: ProjectService, introService: IntroService);
|
|
19
22
|
ngOnInit(): void;
|
|
20
23
|
ngOnDestroy(): void;
|
|
21
24
|
private wheelInList;
|
|
22
25
|
private updateColorWheels;
|
|
26
|
+
private updateCapabilities;
|
|
23
27
|
private update;
|
|
24
28
|
isChrome(): boolean;
|
|
25
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<FixtureCapabilityComponent, never>;
|
|
@@ -60,15 +60,58 @@ export declare enum FixtureCapabilityColor {
|
|
|
60
60
|
}
|
|
61
61
|
export declare class FixtureCapability {
|
|
62
62
|
type: FixtureCapabilityType;
|
|
63
|
-
angleStart: string;
|
|
64
|
-
angleEnd: string;
|
|
65
63
|
color: FixtureCapabilityColor;
|
|
66
64
|
dmxRange: number[];
|
|
67
|
-
wheel: any;
|
|
68
65
|
slotNumber: number;
|
|
66
|
+
comment: string;
|
|
67
|
+
soundControlled: boolean;
|
|
68
|
+
shutterEffect: string;
|
|
69
|
+
randomTiming: boolean;
|
|
70
|
+
wheel: any;
|
|
71
|
+
angle: string;
|
|
72
|
+
angleStart: string;
|
|
73
|
+
angleEnd: string;
|
|
74
|
+
speed: string;
|
|
75
|
+
speedStart: string;
|
|
76
|
+
speedEnd: string;
|
|
69
77
|
brightness: string;
|
|
70
78
|
brightnessStart: string;
|
|
71
79
|
brightnessEnd: string;
|
|
72
|
-
|
|
80
|
+
duration: string;
|
|
81
|
+
durationStart: string;
|
|
82
|
+
durationEnd: string;
|
|
83
|
+
colorTemperature: string;
|
|
84
|
+
colorTemperatureStart: string;
|
|
85
|
+
colorTemperatureEnd: string;
|
|
86
|
+
soundSensitivity: string;
|
|
87
|
+
soundSensitivityStart: string;
|
|
88
|
+
soundSensitivityEnd: string;
|
|
89
|
+
horizontalAngle: string;
|
|
90
|
+
horizontalAngleStart: string;
|
|
91
|
+
horizontalAngleEnd: string;
|
|
92
|
+
verticalAngle: string;
|
|
93
|
+
verticalAngleStart: string;
|
|
94
|
+
verticalAngleEnd: string;
|
|
95
|
+
distance: string;
|
|
96
|
+
distanceStart: string;
|
|
97
|
+
distanceEnd: string;
|
|
98
|
+
openPercent: string;
|
|
99
|
+
openPercentStart: string;
|
|
100
|
+
openPercentEnd: string;
|
|
101
|
+
frostIntensity: string;
|
|
102
|
+
frostIntensityStart: string;
|
|
103
|
+
frostIntensityEnd: string;
|
|
104
|
+
fogOutput: string;
|
|
105
|
+
fogOutputStart: string;
|
|
106
|
+
fogOutputEnd: string;
|
|
107
|
+
time: string;
|
|
108
|
+
timeStart: string;
|
|
109
|
+
timeEnd: string;
|
|
110
|
+
insertion: string;
|
|
111
|
+
insertionStart: string;
|
|
112
|
+
insertionEnd: string;
|
|
113
|
+
colors: string[];
|
|
114
|
+
colorsStart: string[];
|
|
115
|
+
colorsEnd: string[];
|
|
73
116
|
constructor(data?: any);
|
|
74
117
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
1
|
import { CachedFixture } from '../../models/cached-fixture';
|
|
3
2
|
import { FixtureChannelValue } from '../../models/fixture-channel-value';
|
|
4
3
|
import { FixtureService } from '../../services/fixture.service';
|
|
5
4
|
import { PreviewMeshService } from '../../services/preview-mesh.service';
|
|
6
5
|
import { Fixture3d } from './fixture-3d';
|
|
6
|
+
import { PreviewService } from '../../services/preview.service';
|
|
7
7
|
export declare class ColorChanger3d extends Fixture3d {
|
|
8
|
+
fixtureService: FixtureService;
|
|
9
|
+
previewService: PreviewService;
|
|
8
10
|
private mesh;
|
|
9
11
|
private objectGroup;
|
|
10
|
-
|
|
11
|
-
private material;
|
|
12
|
+
constructor(fixtureService: FixtureService, previewService: PreviewService, previewMeshService: PreviewMeshService, fixture: CachedFixture, scene: any);
|
|
12
13
|
protected createObjects(): void;
|
|
13
|
-
constructor(fixtureService: FixtureService, previewMeshService: PreviewMeshService, fixture: CachedFixture, scene: any);
|
|
14
|
-
getObject(): THREE.Object3D;
|
|
15
14
|
updatePreview(channelValues: FixtureChannelValue[], masterDimmerValue: number): void;
|
|
16
15
|
destroy(): void;
|
|
17
16
|
}
|
|
@@ -4,34 +4,35 @@ import { CachedFixtureCapability } from '../../models/cached-fixture-capability'
|
|
|
4
4
|
import { CachedFixtureChannel } from '../../models/cached-fixture-channel';
|
|
5
5
|
import { FixtureChannelValue } from '../../models/fixture-channel-value';
|
|
6
6
|
import { FixtureService } from '../../services/fixture.service';
|
|
7
|
+
import { PreviewService } from '../../services/preview.service';
|
|
7
8
|
export declare abstract class Fixture3d {
|
|
8
9
|
fixtureService: FixtureService;
|
|
10
|
+
previewService: PreviewService;
|
|
9
11
|
private readonly pointLightMaxIntensity;
|
|
10
12
|
private readonly spotLightLightMaxIntensity;
|
|
13
|
+
protected scene: any;
|
|
11
14
|
fixture: CachedFixture;
|
|
12
|
-
fixtureHasDimmer
|
|
13
|
-
fixtureHasColorWheel
|
|
14
|
-
fixtureHasColor
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
private fixtureHasDimmer;
|
|
16
|
+
private fixtureHasColorWheel;
|
|
17
|
+
private fixtureHasColor;
|
|
18
|
+
private colorRed;
|
|
19
|
+
private colorGreen;
|
|
20
|
+
private colorBlue;
|
|
21
|
+
private dimmer;
|
|
22
|
+
protected lastSelected: boolean;
|
|
20
23
|
isSelected: boolean;
|
|
21
|
-
isLoaded: boolean;
|
|
22
|
-
protected
|
|
23
|
-
protected pointLight: THREE.PointLight;
|
|
24
|
-
protected atmosphereMaterial: THREE.ShaderMaterial;
|
|
24
|
+
protected isLoaded: boolean;
|
|
25
|
+
protected hasSpotLight: boolean;
|
|
25
26
|
protected spotLight: THREE.SpotLight;
|
|
26
|
-
protected spotLightHelper: THREE.SpotLightHelper;
|
|
27
27
|
protected spotLightBeam: THREE.Mesh;
|
|
28
28
|
protected spotlightGroup: THREE.Object3D;
|
|
29
|
-
|
|
29
|
+
protected spotlightMaterial: THREE.ShaderMaterial;
|
|
30
|
+
constructor(fixtureService: FixtureService, previewService: PreviewService, fixture: CachedFixture, scene: any, hasSpotLight?: boolean);
|
|
31
|
+
private createSpotlightMaterial;
|
|
30
32
|
protected createObjects(): void;
|
|
31
33
|
protected getCapabilityInValue(channel: CachedFixtureChannel, value: number): CachedFixtureCapability;
|
|
32
34
|
updatePreview(channelValues: FixtureChannelValue[], masterDimmerValue: number): void;
|
|
33
|
-
updatePosition(object: THREE.Object3D): void;
|
|
34
|
-
protected atmosphereMat(): any;
|
|
35
|
+
protected updatePosition(object: THREE.Object3D): void;
|
|
35
36
|
protected createSpotLightBeam(): void;
|
|
36
37
|
destroy(): void;
|
|
37
38
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
1
|
import { CachedFixture } from '../../models/cached-fixture';
|
|
3
2
|
import { FixtureChannelValue } from '../../models/fixture-channel-value';
|
|
4
3
|
import { FixtureService } from '../../services/fixture.service';
|
|
5
4
|
import { PreviewMeshService } from '../../services/preview-mesh.service';
|
|
6
5
|
import { Fixture3d } from './fixture-3d';
|
|
6
|
+
import { PreviewService } from '../../services/preview.service';
|
|
7
7
|
export declare class MovingHead3d extends Fixture3d {
|
|
8
|
+
fixtureService: FixtureService;
|
|
9
|
+
previewService: PreviewService;
|
|
8
10
|
private pan;
|
|
9
11
|
private tilt;
|
|
10
12
|
private socket;
|
|
@@ -14,11 +16,8 @@ export declare class MovingHead3d extends Fixture3d {
|
|
|
14
16
|
private armGroup;
|
|
15
17
|
private objectGroup;
|
|
16
18
|
private lastBeamAngleDegrees;
|
|
17
|
-
|
|
18
|
-
private material;
|
|
19
|
+
constructor(fixtureService: FixtureService, previewService: PreviewService, previewMeshService: PreviewMeshService, fixture: CachedFixture, scene: any);
|
|
19
20
|
protected createObjects(): void;
|
|
20
|
-
constructor(fixtureService: FixtureService, previewMeshService: PreviewMeshService, fixture: CachedFixture, scene: any);
|
|
21
|
-
getObject(): THREE.Object3D;
|
|
22
21
|
updatePreview(channelValues: FixtureChannelValue[], masterDimmerValue: number): void;
|
|
23
22
|
destroy(): void;
|
|
24
23
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
1
2
|
import { Subject } from 'rxjs';
|
|
2
3
|
import * as THREE from 'three';
|
|
3
4
|
import { CachedFixture } from '../models/cached-fixture';
|
|
@@ -9,7 +10,7 @@ import { ProjectService } from './project.service';
|
|
|
9
10
|
import { SceneService } from './scene.service';
|
|
10
11
|
import { TimelineService } from './timeline.service';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class PreviewService {
|
|
13
|
+
export declare class PreviewService implements OnDestroy {
|
|
13
14
|
private presetService;
|
|
14
15
|
private fixtureService;
|
|
15
16
|
private sceneService;
|
|
@@ -19,6 +20,8 @@ export declare class PreviewService {
|
|
|
19
20
|
scene: THREE.Scene;
|
|
20
21
|
private stageMeshes;
|
|
21
22
|
private stageMaterial;
|
|
23
|
+
fixtureMaterial: THREE.MeshStandardMaterial;
|
|
24
|
+
fixtureSelectedMaterial: THREE.MeshLambertMaterial;
|
|
22
25
|
constructor(presetService: PresetService, fixtureService: FixtureService, sceneService: SceneService, timelineService: TimelineService, projectService: ProjectService);
|
|
23
26
|
private getAlreadyCalculatedFixture;
|
|
24
27
|
getPresets(timeMillis: number): PresetRegionScene[];
|
|
@@ -33,6 +36,7 @@ export declare class PreviewService {
|
|
|
33
36
|
updateFixtureSetup(): void;
|
|
34
37
|
private prepareStageMesh;
|
|
35
38
|
updateStage(): void;
|
|
39
|
+
ngOnDestroy(): void;
|
|
36
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<PreviewService, never>;
|
|
37
41
|
static ɵprov: i0.ɵɵInjectableDeclaration<PreviewService>;
|
|
38
42
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|