Sfoglia il codice sorgente

Update webgi package version.

master
Palash Bansal 1 anno fa
parent
commit
e4e444c188
Nessun account collegato all'indirizzo email del committer

+ 1
- 1
examples/anisotropy-plugin/index.html Vedi File

<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"
} }

+ 2
- 1
examples/model-viewer/index.html Vedi File

"@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"
} }
} }



+ 16
- 5
examples/model-viewer/script.ts Vedi File

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,

+ 1
- 1
examples/outline-plugin/index.html Vedi File

<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"
} }

+ 1
- 1
examples/ssgi-plugin/index.html Vedi File

<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"
} }

+ 1
- 1
examples/ssgi-ssr-plugin/index.html Vedi File

<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"
} }

+ 1
- 1
examples/ssreflection-plugin/index.html Vedi File

<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"
} }

+ 1
- 2
examples/temporalaa-plugin/index.html Vedi File

<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"
} }

+ 1
- 1
examples/tweakpane-editor/index.html Vedi File

"@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"
} }
} }



+ 1
- 2
examples/velocity-buffer-plugin/index.html Vedi File

<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"
} }

+ 1
- 2
package.json Vedi File

{ {
"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",

Loading…
Annulla
Salva