| <script type="importmap"> | <script type="importmap"> | ||||
| { | { | ||||
| "imports": { | "imports": { | ||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.3.0/dist/index.mjs", | |||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.4.1/dist/index.mjs", | |||||
| "threepipe": "./../../dist/index.mjs", | "threepipe": "./../../dist/index.mjs", | ||||
| "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | ||||
| } | } |
| "@threepipe/plugin-blend-importer": "./../../plugins/blend-importer/dist/index.mjs", | "@threepipe/plugin-blend-importer": "./../../plugins/blend-importer/dist/index.mjs", | ||||
| "@threepipe/plugin-configurator": "./../../plugins/configurator/dist/index.mjs", | "@threepipe/plugin-configurator": "./../../plugins/configurator/dist/index.mjs", | ||||
| "@threepipe/plugin-network": "./../../plugins/network/dist/index.mjs", | "@threepipe/plugin-network": "./../../plugins/network/dist/index.mjs", | ||||
| "@threepipe/plugin-gaussian-splatting": "./../../plugins/gaussian-splatting/dist/index.mjs" | |||||
| "@threepipe/plugin-gaussian-splatting": "./../../plugins/gaussian-splatting/dist/index.mjs", | |||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.4.1/dist/index.mjs" | |||||
| } | } | ||||
| } | } | ||||
| ParallaxMappingPlugin, | ParallaxMappingPlugin, | ||||
| PickingPlugin, | PickingPlugin, | ||||
| PLYLoadPlugin, | PLYLoadPlugin, | ||||
| PointerLockControlsPlugin, | |||||
| PointerLockControlsPlugin, PopmotionPlugin, | |||||
| ProgressivePlugin, | ProgressivePlugin, | ||||
| RenderTargetPreviewPlugin, | RenderTargetPreviewPlugin, | ||||
| Rhino3dmLoadPlugin, | Rhino3dmLoadPlugin, | ||||
| SSAOPlugin, | SSAOPlugin, | ||||
| STLLoadPlugin, | STLLoadPlugin, | ||||
| ThreeFirstPersonControlsPlugin, | ThreeFirstPersonControlsPlugin, | ||||
| ThreeViewer, | |||||
| ThreeViewer, TransformAnimationPlugin, | |||||
| TransformControlsPlugin, | TransformControlsPlugin, | ||||
| UnsignedByteType, | UnsignedByteType, | ||||
| USDZLoadPlugin, | USDZLoadPlugin, | ||||
| import {BlendLoadPlugin} from '@threepipe/plugin-blend-importer' | import {BlendLoadPlugin} from '@threepipe/plugin-blend-importer' | ||||
| import {extraImportPlugins} from '@threepipe/plugins-extra-importers' | import {extraImportPlugins} from '@threepipe/plugins-extra-importers' | ||||
| import {AWSClientPlugin} from '@threepipe/plugin-network' | import {AWSClientPlugin} from '@threepipe/plugin-network' | ||||
| // @ts-expect-error todo fix import | |||||
| import {BloomPlugin, DepthOfFieldPlugin, SSContactShadowsPlugin, SSReflectionPlugin, TemporalAAPlugin, VelocityBufferPlugin, SSGIPlugin, AnisotropyPlugin} from '@threepipe/webgi-plugins' | |||||
| async function init() { | async function init() { | ||||
| await viewer.addPlugins([ | await viewer.addPlugins([ | ||||
| LoadingScreenPlugin, | LoadingScreenPlugin, | ||||
| PopmotionPlugin, | |||||
| new ProgressivePlugin(), | new ProgressivePlugin(), | ||||
| new SSAAPlugin(), | new SSAAPlugin(), | ||||
| GLTFAnimationPlugin, | GLTFAnimationPlugin, | ||||
| TransformAnimationPlugin, | |||||
| new GBufferPlugin(HalfFloatType, true, true, true), | |||||
| PickingPlugin, | PickingPlugin, | ||||
| new TransformControlsPlugin(false), | new TransformControlsPlugin(false), | ||||
| // OutlinePlugin, | |||||
| EditorViewWidgetPlugin, | EditorViewWidgetPlugin, | ||||
| CameraViewPlugin, | CameraViewPlugin, | ||||
| ViewerUiConfigPlugin, | ViewerUiConfigPlugin, | ||||
| FragmentClippingExtensionPlugin, | FragmentClippingExtensionPlugin, | ||||
| NoiseBumpMaterialPlugin, | NoiseBumpMaterialPlugin, | ||||
| CustomBumpMapPlugin, | CustomBumpMapPlugin, | ||||
| AnisotropyPlugin, | |||||
| new ParallaxMappingPlugin(false), | new ParallaxMappingPlugin(false), | ||||
| GLTFKHRMaterialVariantsPlugin, | GLTFKHRMaterialVariantsPlugin, | ||||
| VirtualCamerasPlugin, | VirtualCamerasPlugin, | ||||
| // new SceneUiConfigPlugin(), // this is already in ViewerUiPlugin | // new SceneUiConfigPlugin(), // this is already in ViewerUiPlugin | ||||
| new GBufferPlugin(HalfFloatType, true, true, true), | |||||
| // new DepthBufferPlugin(HalfFloatType, false, false), | |||||
| // new NormalBufferPlugin(HalfFloatType, false), | |||||
| new RenderTargetPreviewPlugin(false), | new RenderTargetPreviewPlugin(false), | ||||
| new FrameFadePlugin(), | new FrameFadePlugin(), | ||||
| new HDRiGroundPlugin(false, true), | new HDRiGroundPlugin(false, true), | ||||
| new ChromaticAberrationPlugin(false), | new ChromaticAberrationPlugin(false), | ||||
| new FilmicGrainPlugin(false), | new FilmicGrainPlugin(false), | ||||
| new SSAOPlugin(UnsignedByteType, 1), | new SSAOPlugin(UnsignedByteType, 1), | ||||
| SSReflectionPlugin, | |||||
| new SSContactShadowsPlugin(false), | |||||
| new DepthOfFieldPlugin(false), | |||||
| BloomPlugin, | |||||
| TemporalAAPlugin, | |||||
| new VelocityBufferPlugin(UnsignedByteType, false), | |||||
| new SSGIPlugin(UnsignedByteType, 1, false), | |||||
| KTX2LoadPlugin, | KTX2LoadPlugin, | ||||
| KTXLoadPlugin, | KTXLoadPlugin, | ||||
| PLYLoadPlugin, | PLYLoadPlugin, |
| <script type="importmap"> | <script type="importmap"> | ||||
| { | { | ||||
| "imports": { | "imports": { | ||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.3.0/dist/index.mjs", | |||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.4.1/dist/index.mjs", | |||||
| "threepipe": "./../../dist/index.mjs", | "threepipe": "./../../dist/index.mjs", | ||||
| "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | ||||
| } | } |
| <script type="importmap"> | <script type="importmap"> | ||||
| { | { | ||||
| "imports": { | "imports": { | ||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.3.0/dist/index.mjs", | |||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.4.1/dist/index.mjs", | |||||
| "threepipe": "./../../dist/index.mjs", | "threepipe": "./../../dist/index.mjs", | ||||
| "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | ||||
| } | } |
| <script type="importmap"> | <script type="importmap"> | ||||
| { | { | ||||
| "imports": { | "imports": { | ||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.3.0/dist/index.mjs", | |||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.4.1/dist/index.mjs", | |||||
| "threepipe": "./../../dist/index.mjs", | "threepipe": "./../../dist/index.mjs", | ||||
| "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | ||||
| } | } |
| <script type="importmap"> | <script type="importmap"> | ||||
| { | { | ||||
| "imports": { | "imports": { | ||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.3.0/dist/index.mjs", | |||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.4.1/dist/index.mjs", | |||||
| "threepipe": "./../../dist/index.mjs", | "threepipe": "./../../dist/index.mjs", | ||||
| "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | ||||
| } | } |
| <script type="importmap"> | <script type="importmap"> | ||||
| { | { | ||||
| "imports": { | "imports": { | ||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.2.0/dist/index.mjs", | |||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.4.1/dist/index.mjs", | |||||
| "threepipe": "./../../dist/index.mjs", | "threepipe": "./../../dist/index.mjs", | ||||
| "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | ||||
| } | } |
| "@threepipe/plugin-network": "./../../plugins/network/dist/index.mjs", | "@threepipe/plugin-network": "./../../plugins/network/dist/index.mjs", | ||||
| "@threepipe/plugin-gltf-transform": "./../../plugins/gltf-transform/dist/index.mjs", | "@threepipe/plugin-gltf-transform": "./../../plugins/gltf-transform/dist/index.mjs", | ||||
| "@threepipe/plugin-gaussian-splatting": "./../../plugins/gaussian-splatting/dist/index.mjs", | "@threepipe/plugin-gaussian-splatting": "./../../plugins/gaussian-splatting/dist/index.mjs", | ||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.3.1/dist/index.mjs" | |||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.4.1/dist/index.mjs" | |||||
| } | } | ||||
| } | } | ||||
| <script type="importmap"> | <script type="importmap"> | ||||
| { | { | ||||
| "imports": { | "imports": { | ||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.2.0/dist/index.mjs", | |||||
| "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.4.1/dist/index.mjs", | |||||
| "threepipe": "./../../dist/index.mjs", | "threepipe": "./../../dist/index.mjs", | ||||
| "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | ||||
| } | } |
| { | { | ||||
| "name": "threepipe", | "name": "threepipe", | ||||
| "version": "0.0.39", | |||||
| "version": "0.0.40-dev", | |||||
| "description": "A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.", | "description": "A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.", | ||||
| "main": "dist/index.js", | "main": "dist/index.js", | ||||
| "module": "dist/index.mjs", | "module": "dist/index.mjs", | ||||
| "dist", | "dist", | ||||
| "src", | "src", | ||||
| "lib", | "lib", | ||||
| "examples", | |||||
| "plugins/*/dist", | "plugins/*/dist", | ||||
| "plugins/*/src", | "plugins/*/src", | ||||
| "plugins/*/tsconfig.json", | "plugins/*/tsconfig.json", |