angular-three-postprocessing 1.6.0 → 2.0.0-beta.3
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/README.md +4 -12
- package/effect-composer.d.ts +53 -0
- package/effect.d.ts +24 -0
- package/effects/bloom/bloom.d.ts +8 -0
- package/effects/{lib/brightness-contrast → brightness-contrast}/brightness-contrast.d.ts +1 -2
- package/effects/{lib/color-depth → color-depth}/color-depth.d.ts +1 -2
- package/effects/{lib/depth → depth}/depth.d.ts +1 -2
- package/effects/{lib/dot-screen → dot-screen}/dot-screen.d.ts +1 -2
- package/effects/{lib/hue-saturation → hue-saturation}/hue-saturation.d.ts +1 -2
- package/effects/index.d.ts +16 -14
- package/effects/lut/lut.d.ts +19 -0
- package/effects/{lib/noise → noise}/noise.d.ts +2 -3
- package/effects/{lib/scanline → scanline}/scanline.d.ts +2 -3
- package/effects/{lib/sepia → sepia}/sepia.d.ts +1 -2
- package/effects/shock-wave/shock-wave.d.ts +7 -0
- package/effects/smaa/smaa.d.ts +7 -0
- package/effects/ssao/ssao.d.ts +38 -0
- package/effects/tilt-shift/tilt-shift.d.ts +8 -0
- package/effects/tone-mapping/tone-mapping.d.ts +7 -0
- package/effects/{lib/vignette → vignette}/vignette.d.ts +1 -2
- package/esm2022/angular-three-postprocessing.mjs +1 -1
- package/esm2022/effect-composer.mjs +242 -0
- package/esm2022/effect.mjs +79 -0
- package/esm2022/effects/angular-three-postprocessing-effects.mjs +1 -1
- package/esm2022/effects/bloom/bloom.mjs +34 -0
- package/esm2022/effects/brightness-contrast/brightness-contrast.mjs +30 -0
- package/esm2022/effects/color-depth/color-depth.mjs +30 -0
- package/esm2022/effects/depth/depth.mjs +30 -0
- package/esm2022/effects/dot-screen/dot-screen.mjs +30 -0
- package/esm2022/effects/hue-saturation/hue-saturation.mjs +30 -0
- package/esm2022/effects/index.mjs +17 -15
- package/esm2022/effects/lut/lut.mjs +77 -0
- package/esm2022/effects/noise/noise.mjs +34 -0
- package/esm2022/effects/scanline/scanline.mjs +34 -0
- package/esm2022/effects/sepia/sepia.mjs +30 -0
- package/esm2022/effects/shock-wave/shock-wave.mjs +30 -0
- package/esm2022/effects/smaa/smaa.mjs +30 -0
- package/esm2022/effects/ssao/ssao.mjs +189 -0
- package/esm2022/effects/tilt-shift/tilt-shift.mjs +34 -0
- package/esm2022/effects/tone-mapping/tone-mapping.mjs +30 -0
- package/esm2022/effects/vignette/vignette.mjs +30 -0
- package/esm2022/index.mjs +3 -3
- package/fesm2022/angular-three-postprocessing-effects.mjs +359 -224
- package/fesm2022/angular-three-postprocessing-effects.mjs.map +1 -1
- package/fesm2022/angular-three-postprocessing.mjs +163 -162
- package/fesm2022/angular-three-postprocessing.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/package.json +6 -14
- package/plugin/package.json +1 -1
- package/plugin/src/generators/init/compat.js.map +1 -1
- package/plugin/src/generators/init/init.d.ts +1 -1
- package/plugin/src/generators/init/init.js +14 -18
- package/plugin/src/generators/init/init.js.map +1 -1
- package/plugin/src/index.js.map +1 -1
- package/effects/lib/bloom/bloom.d.ts +0 -9
- package/effects/lib/lut/lut.d.ts +0 -13
- package/effects/lib/ssao/ssao.d.ts +0 -13
- package/effects/lib/tilt-shift/tilt-shift.d.ts +0 -9
- package/effects/lib/tone-mapping/tone-mapping.d.ts +0 -8
- package/esm2022/effects/lib/bloom/bloom.mjs +0 -44
- package/esm2022/effects/lib/brightness-contrast/brightness-contrast.mjs +0 -29
- package/esm2022/effects/lib/color-depth/color-depth.mjs +0 -29
- package/esm2022/effects/lib/depth/depth.mjs +0 -29
- package/esm2022/effects/lib/dot-screen/dot-screen.mjs +0 -29
- package/esm2022/effects/lib/hue-saturation/hue-saturation.mjs +0 -29
- package/esm2022/effects/lib/lut/lut.mjs +0 -60
- package/esm2022/effects/lib/noise/noise.mjs +0 -33
- package/esm2022/effects/lib/scanline/scanline.mjs +0 -33
- package/esm2022/effects/lib/sepia/sepia.mjs +0 -29
- package/esm2022/effects/lib/ssao/ssao.mjs +0 -102
- package/esm2022/effects/lib/tilt-shift/tilt-shift.mjs +0 -43
- package/esm2022/effects/lib/tone-mapping/tone-mapping.mjs +0 -39
- package/esm2022/effects/lib/vignette/vignette.mjs +0 -29
- package/esm2022/lib/effect-composer.mjs +0 -241
- package/esm2022/lib/effect.mjs +0 -80
- package/esm2022/selection/angular-three-postprocessing-selection.mjs +0 -5
- package/esm2022/selection/index.mjs +0 -3
- package/esm2022/selection/lib/select.mjs +0 -69
- package/esm2022/selection/lib/selection.mjs +0 -44
- package/fesm2022/angular-three-postprocessing-selection.mjs +0 -114
- package/fesm2022/angular-three-postprocessing-selection.mjs.map +0 -1
- package/lib/effect-composer.d.ts +0 -39
- package/lib/effect.d.ts +0 -22
- package/selection/README.md +0 -3
- package/selection/index.d.ts +0 -2
- package/selection/lib/select.d.ts +0 -14
- package/selection/lib/selection.d.ts +0 -18
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"angular-three-postprocessing-selection.mjs","sources":["../../../../libs/angular-three-postprocessing/selection/src/lib/selection.ts","../../../../libs/angular-three-postprocessing/selection/src/lib/select.ts","../../../../libs/angular-three-postprocessing/selection/src/angular-three-postprocessing-selection.ts"],"sourcesContent":["import { Component, InjectionToken, Input } from '@angular/core';\nimport { RxState } from '@rx-angular/state';\nimport { NgtRxStore } from 'angular-three';\n\nexport interface NgtpSelectionAPI {\n selected: THREE.Object3D[];\n select: RxState<{ selected: THREE.Object3D[] }>['set'];\n enabled: boolean;\n}\n\nexport const NGTP_SELECTION_API = new InjectionToken<NgtpSelectionAPI>('NgtpSelection API');\nfunction ngtpSelectionApiFactory(selection: NgtpSelection) {\n const api: NgtpSelectionAPI = {\n get selected() {\n return selection.get('selected');\n },\n select: selection.set.bind(selection),\n get enabled() {\n return selection.get('enabled');\n },\n };\n return api;\n}\n\n@Component({\n selector: 'ngtp-selection',\n standalone: true,\n template: `\n <ng-content />\n `,\n providers: [{ provide: NGTP_SELECTION_API, useFactory: ngtpSelectionApiFactory, deps: [NgtpSelection] }],\n})\nexport class NgtpSelection extends NgtRxStore {\n @Input() set enabled(enabled: boolean) {\n this.set({ enabled });\n }\n\n override initialize(): void {\n super.initialize();\n this.set({ selected: [], enabled: true });\n }\n}\n","import { Component, CUSTOM_ELEMENTS_SCHEMA, inject, Input, OnInit } from '@angular/core';\nimport { extend, injectNgtRef, NgtRxStore } from 'angular-three';\nimport { combineLatest } from 'rxjs';\nimport { Group } from 'three';\nimport { NGTP_SELECTION_API } from './selection';\n\nextend({ Group });\n\n@Component({\n selector: 'ngtp-select',\n standalone: true,\n template: `\n <ngt-group ngtCompound [ref]=\"groupRef\">\n <ng-content />\n </ngt-group>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class NgtpSelect extends NgtRxStore implements OnInit {\n readonly groupRef = injectNgtRef<THREE.Group>();\n\n private readonly selectionApi = inject(NGTP_SELECTION_API);\n\n @Input() set enabled(enabled: boolean) {\n this.set({ enabled });\n }\n\n override initialize(): void {\n super.initialize();\n this.set({ enabled: false });\n }\n\n ngOnInit() {\n this.setSelectEffect();\n }\n\n private setSelectEffect() {\n this.effect(combineLatest([this.select('enabled'), this.groupRef.children$()]), ([enabled]) => {\n if (enabled) {\n let changed = false;\n const current: THREE.Object3D[] = [];\n this.groupRef.nativeElement.traverse((obj) => {\n if (obj.type === 'Mesh') current.push(obj);\n if (this.selectionApi.selected.indexOf(obj) === -1) changed = true;\n });\n if (changed) {\n this.selectionApi.select((state) => ({ selected: [...state.selected, ...current] }));\n return () => {\n this.selectionApi.select((state) => ({\n selected: state.selected.filter((selected) => !current.includes(selected)),\n }));\n };\n }\n }\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAUa,kBAAkB,GAAG,IAAI,cAAc,CAAmB,mBAAmB,EAAE;AAC5F,SAAS,uBAAuB,CAAC,SAAwB,EAAA;AACrD,IAAA,MAA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AAA,CAAA,CAAA,EAAA;;2FAGQ,UAAU,EAAA,UAAA,EAAA,CAAA;kBAVtB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,aAAa;AACvB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,CAAA;;;;AAIT,IAAA,CAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AACpC,iBAAA,CAAA;8BAMgB,OAAO,EAAA,CAAA;sBAAnB,KAAK;;;ACvBV;;AAEG;;;;"}
|
package/lib/effect-composer.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, OnInit } from '@angular/core';
|
|
2
|
-
import { NgtRxStore } from 'angular-three';
|
|
3
|
-
import { DepthDownsamplingPass, EffectComposer, NormalPass } from 'postprocessing';
|
|
4
|
-
import * as THREE from 'three';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface NgtpEffectComposerApi {
|
|
7
|
-
composer: EffectComposer;
|
|
8
|
-
normalPass: NormalPass | null;
|
|
9
|
-
depthPass: DepthDownsamplingPass | null;
|
|
10
|
-
scene: THREE.Scene;
|
|
11
|
-
camera: THREE.Camera;
|
|
12
|
-
resolutionScale?: number;
|
|
13
|
-
select: NgtpEffectComposer['select'];
|
|
14
|
-
get: NgtpEffectComposer['get'];
|
|
15
|
-
}
|
|
16
|
-
export declare const NGTP_EFFECT_COMPOSER_API: InjectionToken<NgtpEffectComposerApi>;
|
|
17
|
-
export declare class NgtpEffectComposer extends NgtRxStore implements OnInit {
|
|
18
|
-
composerRef: import("angular-three").NgtInjectedRef<THREE.Group>;
|
|
19
|
-
set enabled(enabled: boolean);
|
|
20
|
-
set depthBuffer(depthBuffer: boolean);
|
|
21
|
-
set disableNormalPass(disableNormalPass: boolean);
|
|
22
|
-
set stencilBuffer(stencilBuffer: boolean);
|
|
23
|
-
set autoClear(autoClear: boolean);
|
|
24
|
-
set resolutionScale(resolutionScale: number);
|
|
25
|
-
set multisampling(multisampling: number);
|
|
26
|
-
set frameBufferType(frameBufferType: THREE.TextureDataType);
|
|
27
|
-
set renderPriority(renderPriority: number);
|
|
28
|
-
set camera(camera: THREE.Camera);
|
|
29
|
-
set scene(scene: THREE.Scene);
|
|
30
|
-
initialize(): void;
|
|
31
|
-
private readonly store;
|
|
32
|
-
private readonly actions;
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
private setComposerSize;
|
|
35
|
-
private setEffectPassed;
|
|
36
|
-
private setBeforeRender;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpEffectComposer, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpEffectComposer, "ngtp-effect-composer", never, { "composerRef": { "alias": "composerRef"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "depthBuffer": { "alias": "depthBuffer"; "required": false; }; "disableNormalPass": { "alias": "disableNormalPass"; "required": false; }; "stencilBuffer": { "alias": "stencilBuffer"; "required": false; }; "autoClear": { "alias": "autoClear"; "required": false; }; "resolutionScale": { "alias": "resolutionScale"; "required": false; }; "multisampling": { "alias": "multisampling"; "required": false; }; "frameBufferType": { "alias": "frameBufferType"; "required": false; }; "renderPriority": { "alias": "renderPriority"; "required": false; }; "camera": { "alias": "camera"; "required": false; }; "scene": { "alias": "scene"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
39
|
-
}
|
package/lib/effect.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { NgtAnyRecord, NgtRxStore, NgtStore } from 'angular-three';
|
|
3
|
-
import { BlendFunction, Effect } from 'postprocessing';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare abstract class NgtpEffect<T extends Effect> extends NgtRxStore implements OnInit, OnChanges {
|
|
7
|
-
set blendFunction(blendFunction: BlendFunction);
|
|
8
|
-
set opacity(opacity: number);
|
|
9
|
-
abstract get effectConstructor(): new (...args: any[]) => T;
|
|
10
|
-
protected defaultBlendMode: BlendFunction;
|
|
11
|
-
protected readonly store: NgtStore;
|
|
12
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
private configureBlendMode;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpEffect<any>, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtpEffect<any>, never, never, { "blendFunction": { "alias": "blendFunction"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
18
|
-
export declare function simpleChangesToStateObject(changes: SimpleChanges, keysToDelete?: string[]): NgtAnyRecord;
|
|
19
|
-
export declare function componentInputsToCombinedStream(component: NgtRxStore, filterFn?: (input: {
|
|
20
|
-
propName: string;
|
|
21
|
-
templateName: string;
|
|
22
|
-
}) => boolean): Observable<NgtAnyRecord>;
|
package/selection/README.md
DELETED
package/selection/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { NgtRxStore } from 'angular-three';
|
|
3
|
-
import { Group } from 'three';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NgtpSelect extends NgtRxStore implements OnInit {
|
|
6
|
-
readonly groupRef: import("angular-three").NgtInjectedRef<Group>;
|
|
7
|
-
private readonly selectionApi;
|
|
8
|
-
set enabled(enabled: boolean);
|
|
9
|
-
initialize(): void;
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
private setSelectEffect;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpSelect, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpSelect, "ngtp-select", never, { "enabled": { "alias": "enabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
14
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { RxState } from '@rx-angular/state';
|
|
3
|
-
import { NgtRxStore } from 'angular-three';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface NgtpSelectionAPI {
|
|
6
|
-
selected: THREE.Object3D[];
|
|
7
|
-
select: RxState<{
|
|
8
|
-
selected: THREE.Object3D[];
|
|
9
|
-
}>['set'];
|
|
10
|
-
enabled: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const NGTP_SELECTION_API: InjectionToken<NgtpSelectionAPI>;
|
|
13
|
-
export declare class NgtpSelection extends NgtRxStore {
|
|
14
|
-
set enabled(enabled: boolean);
|
|
15
|
-
initialize(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpSelection, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpSelection, "ngtp-selection", never, { "enabled": { "alias": "enabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
18
|
-
}
|