瀏覽代碼

Version Bump, minor fixes.

master
Palash Bansal 3 年之前
父節點
當前提交
a5a5924f44
No account linked to committer's email address
共有 4 個文件被更改,包括 26 次插入25 次删除
  1. 16
    18
      package-lock.json
  2. 6
    6
      package.json
  3. 3
    0
      src/rendering/RenderTarget.ts
  4. 1
    1
      src/viewer/AViewerPlugin.ts

+ 16
- 18
package-lock.json 查看文件

@@ -1,17 +1,18 @@
{
"name": "threepipe",
"version": "0.0.4",
"version": "0.0.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "threepipe",
"version": "0.0.4",
"version": "0.0.5",
"license": "MIT",
"dependencies": {
"@types/three": "https://github.com/repalash/three-ts-types/releases/download/v0.152.1005/package.tgz",
"@types/three": "https://github.com/repalash/three-ts-types/releases/download/v0.152.1006/package.tgz",
"@types/webxr": "^0.5.1",
"@types/wicg-file-system-access": "^2020.9.5"
"@types/wicg-file-system-access": "^2020.9.5",
"ts-browser-helpers": "^0.6.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
@@ -37,7 +38,6 @@
"rollup-plugin-postcss": "^4.0.2",
"stats.js": "^0.17.0",
"three": "https://github.com/repalash/three.js-modded/releases/download/v0.152.2006/package.tgz",
"ts-browser-helpers": "^0.5.0",
"tslib": "^2.5.0",
"tweakpane": "^3.1.9",
"tweakpane-image-plugin": "https://github.com/repalash/tweakpane-image-plugin/releases/download/v1.1.403/package.tgz",
@@ -670,9 +670,9 @@
"dev": true
},
"node_modules/@types/three": {
"version": "0.152.1005",
"resolved": "https://github.com/repalash/three-ts-types/releases/download/v0.152.1005/package.tgz",
"integrity": "sha512-DD7mPCbMmg7zlsUfbFK5m6r1UNvFfxSMlBuFDqx/mnZJ1Gs2tdDl7ES7jkZLB6rp9RM9EvJCnEYnbw1BcfLW5Q==",
"version": "0.152.1006",
"resolved": "https://github.com/repalash/three-ts-types/releases/download/v0.152.1006/package.tgz",
"integrity": "sha512-UQBZ3PYGBC2Y3DmVo9F0YbUf8l+SCs+j/vGVwQV3yzueD0dlildDZO7F3n0KbBELe63NsynZh4f4B2lwtTMjpg==",
"dependencies": {
"@tweenjs/tween.js": "~18.6.4",
"fflate": "~0.6.9",
@@ -9511,10 +9511,9 @@
}
},
"node_modules/ts-browser-helpers": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/ts-browser-helpers/-/ts-browser-helpers-0.5.0.tgz",
"integrity": "sha512-seKCLyEIzNfjaVSYMMhYvvQlj0OHfgHbtbeOJNrFufhalmQOJcj5NP/PSMCcIU1qrKgcXNYuAolgtTmsPG6Aaw==",
"dev": true,
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/ts-browser-helpers/-/ts-browser-helpers-0.6.0.tgz",
"integrity": "sha512-Z/jxbjMC4a+Twz0QORIZf/yop7xQM1b4rNylYED3R2+eSypOs3zpDBRCw3uR4RT6TgPlhbK5COQss08FClVwqw==",
"dependencies": {
"@types/wicg-file-system-access": "^2020.9.5"
}
@@ -10803,8 +10802,8 @@
"dev": true
},
"@types/three": {
"version": "https://github.com/repalash/three-ts-types/releases/download/v0.152.1005/package.tgz",
"integrity": "sha512-DD7mPCbMmg7zlsUfbFK5m6r1UNvFfxSMlBuFDqx/mnZJ1Gs2tdDl7ES7jkZLB6rp9RM9EvJCnEYnbw1BcfLW5Q==",
"version": "https://github.com/repalash/three-ts-types/releases/download/v0.152.1006/package.tgz",
"integrity": "sha512-UQBZ3PYGBC2Y3DmVo9F0YbUf8l+SCs+j/vGVwQV3yzueD0dlildDZO7F3n0KbBELe63NsynZh4f4B2lwtTMjpg==",
"requires": {
"@tweenjs/tween.js": "~18.6.4",
"fflate": "~0.6.9",
@@ -17176,10 +17175,9 @@
"dev": true
},
"ts-browser-helpers": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/ts-browser-helpers/-/ts-browser-helpers-0.5.0.tgz",
"integrity": "sha512-seKCLyEIzNfjaVSYMMhYvvQlj0OHfgHbtbeOJNrFufhalmQOJcj5NP/PSMCcIU1qrKgcXNYuAolgtTmsPG6Aaw==",
"dev": true,
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/ts-browser-helpers/-/ts-browser-helpers-0.6.0.tgz",
"integrity": "sha512-Z/jxbjMC4a+Twz0QORIZf/yop7xQM1b4rNylYED3R2+eSypOs3zpDBRCw3uR4RT6TgPlhbK5COQss08FClVwqw==",
"requires": {
"@types/wicg-file-system-access": "^2020.9.5"
}

+ 6
- 6
package.json 查看文件

@@ -1,6 +1,6 @@
{
"name": "threepipe",
"version": "0.0.4",
"version": "0.0.5",
"description": "A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.",
"main": "src/index.ts",
"module": "dist/index.mjs",
@@ -89,7 +89,6 @@
"rollup-plugin-postcss": "^4.0.2",
"stats.js": "^0.17.0",
"three": "https://github.com/repalash/three.js-modded/releases/download/v0.152.2006/package.tgz",
"ts-browser-helpers": "^0.5.0",
"tslib": "^2.5.0",
"tweakpane": "^3.1.9",
"@tweakpane/core": "^1.1.8",
@@ -101,9 +100,10 @@
"tweakpane-image-plugin": "https://github.com/repalash/tweakpane-image-plugin/releases/download/v1.1.403/package.tgz"
},
"dependencies": {
"@types/three": "https://github.com/repalash/three-ts-types/releases/download/v0.152.1005/package.tgz",
"@types/three": "https://github.com/repalash/three-ts-types/releases/download/v0.152.1006/package.tgz",
"@types/webxr": "^0.5.1",
"@types/wicg-file-system-access": "^2020.9.5"
"@types/wicg-file-system-access": "^2020.9.5",
"ts-browser-helpers": "^0.6.0"
},
"//": {
"dependencies": {
@@ -112,8 +112,8 @@
"uiconfig-tweakpane": "^0.0.3",
"three": "https://github.com/repalash/three.js-modded/releases/download/v0.152.2006/package.tgz",
"three-f": "https://github.com/repalash/three.js-modded/archive/refs/tags/v0.152.2006.tar.gz",
"@types/three": "https://github.com/repalash/three-ts-types/releases/download/v0.152.1005/package.tgz",
"@types/three-f": "https://github.com/repalash/three-ts-types/archive/refs/tags/v0.152.1005.tar.gz",
"@types/three": "https://github.com/repalash/three-ts-types/releases/download/v0.152.1006/package.tgz",
"@types/three-f": "https://github.com/repalash/three-ts-types/archive/refs/tags/v0.152.1006.tar.gz",
"@types/three-pkg": "https://gitpkg.now.sh/repalash/three-ts-types/types/three?modded_three",
"tweakpane-image-plugin": "git+ssh://github.com/repalash/tweakpane-image-plugin.git#52d5542047fd07d2e7225b5b67c9f7620366f2c7"
},

+ 3
- 0
src/rendering/RenderTarget.ts 查看文件

@@ -5,6 +5,7 @@ import {
MinificationTextureFilter,
Texture,
TextureDataType,
Wrapping,
} from 'three'
import {Vector4} from 'three/src/math/Vector4'
import {DepthTexture} from 'three/src/textures/DepthTexture'
@@ -69,6 +70,8 @@ export interface CreateRenderTargetOptions {
depthBuffer?: boolean
depthTexture?: boolean
textureCount?: number
wrapS?: Wrapping
wrapT?: Wrapping
}

export function createRenderTargetKey(op: CreateRenderTargetOptions = {}): string {

+ 1
- 1
src/viewer/AViewerPlugin.ts 查看文件

@@ -39,7 +39,7 @@ export abstract class AViewerPlugin<T extends string, TViewer extends ThreeViewe
if (data.type !== this.constructor.PluginType)
return null
ThreeSerialization.Deserialize(data, this, meta, true)
this.dispatchEvent({type: 'deserialize', data})
this.dispatchEvent({type: 'deserialize', data, meta})
return this
}


Loading…
取消
儲存