| @@ -11,7 +11,7 @@ | |||
| <script type="importmap"> | |||
| { | |||
| "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/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | |||
| } | |||
| @@ -17,7 +17,8 @@ | |||
| "@threepipe/plugin-blend-importer": "./../../plugins/blend-importer/dist/index.mjs", | |||
| "@threepipe/plugin-configurator": "./../../plugins/configurator/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" | |||
| } | |||
| } | |||
| @@ -30,7 +30,7 @@ import { | |||
| ParallaxMappingPlugin, | |||
| PickingPlugin, | |||
| PLYLoadPlugin, | |||
| PointerLockControlsPlugin, | |||
| PointerLockControlsPlugin, PopmotionPlugin, | |||
| ProgressivePlugin, | |||
| RenderTargetPreviewPlugin, | |||
| Rhino3dmLoadPlugin, | |||
| @@ -38,7 +38,7 @@ import { | |||
| SSAOPlugin, | |||
| STLLoadPlugin, | |||
| ThreeFirstPersonControlsPlugin, | |||
| ThreeViewer, | |||
| ThreeViewer, TransformAnimationPlugin, | |||
| TransformControlsPlugin, | |||
| UnsignedByteType, | |||
| USDZLoadPlugin, | |||
| @@ -51,6 +51,8 @@ import {MaterialConfiguratorPlugin, SwitchNodePlugin} from '@threepipe/plugin-co | |||
| import {BlendLoadPlugin} from '@threepipe/plugin-blend-importer' | |||
| import {extraImportPlugins} from '@threepipe/plugins-extra-importers' | |||
| 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() { | |||
| @@ -78,11 +80,15 @@ async function init() { | |||
| await viewer.addPlugins([ | |||
| LoadingScreenPlugin, | |||
| PopmotionPlugin, | |||
| new ProgressivePlugin(), | |||
| new SSAAPlugin(), | |||
| GLTFAnimationPlugin, | |||
| TransformAnimationPlugin, | |||
| new GBufferPlugin(HalfFloatType, true, true, true), | |||
| PickingPlugin, | |||
| new TransformControlsPlugin(false), | |||
| // OutlinePlugin, | |||
| EditorViewWidgetPlugin, | |||
| CameraViewPlugin, | |||
| ViewerUiConfigPlugin, | |||
| @@ -90,13 +96,11 @@ async function init() { | |||
| FragmentClippingExtensionPlugin, | |||
| NoiseBumpMaterialPlugin, | |||
| CustomBumpMapPlugin, | |||
| AnisotropyPlugin, | |||
| new ParallaxMappingPlugin(false), | |||
| GLTFKHRMaterialVariantsPlugin, | |||
| VirtualCamerasPlugin, | |||
| // 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 FrameFadePlugin(), | |||
| new HDRiGroundPlugin(false, true), | |||
| @@ -104,6 +108,13 @@ async function init() { | |||
| new ChromaticAberrationPlugin(false), | |||
| new FilmicGrainPlugin(false), | |||
| new SSAOPlugin(UnsignedByteType, 1), | |||
| SSReflectionPlugin, | |||
| new SSContactShadowsPlugin(false), | |||
| new DepthOfFieldPlugin(false), | |||
| BloomPlugin, | |||
| TemporalAAPlugin, | |||
| new VelocityBufferPlugin(UnsignedByteType, false), | |||
| new SSGIPlugin(UnsignedByteType, 1, false), | |||
| KTX2LoadPlugin, | |||
| KTXLoadPlugin, | |||
| PLYLoadPlugin, | |||
| @@ -11,7 +11,7 @@ | |||
| <script type="importmap"> | |||
| { | |||
| "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/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | |||
| } | |||
| @@ -11,7 +11,7 @@ | |||
| <script type="importmap"> | |||
| { | |||
| "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/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | |||
| } | |||
| @@ -11,7 +11,7 @@ | |||
| <script type="importmap"> | |||
| { | |||
| "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/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | |||
| } | |||
| @@ -11,7 +11,7 @@ | |||
| <script type="importmap"> | |||
| { | |||
| "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/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | |||
| } | |||
| @@ -11,8 +11,7 @@ | |||
| <script type="importmap"> | |||
| { | |||
| "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/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | |||
| } | |||
| @@ -26,7 +26,7 @@ | |||
| "@threepipe/plugin-network": "./../../plugins/network/dist/index.mjs", | |||
| "@threepipe/plugin-gltf-transform": "./../../plugins/gltf-transform/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" | |||
| } | |||
| } | |||
| @@ -11,8 +11,7 @@ | |||
| <script type="importmap"> | |||
| { | |||
| "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/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs" | |||
| } | |||
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "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.", | |||
| "main": "dist/index.js", | |||
| "module": "dist/index.mjs", | |||
| @@ -61,7 +61,6 @@ | |||
| "dist", | |||
| "src", | |||
| "lib", | |||
| "examples", | |||
| "plugins/*/dist", | |||
| "plugins/*/src", | |||
| "plugins/*/tsconfig.json", | |||