Selaa lähdekoodia

Version Bump, minor fixes.

master
Palash Bansal 3 vuotta sitten
vanhempi
commit
a5a5924f44
No account linked to committer's email address
4 muutettua tiedostoa jossa 26 lisäystä ja 25 poistoa
  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 Näytä tiedosto

{ {
"name": "threepipe", "name": "threepipe",
"version": "0.0.4",
"version": "0.0.5",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "threepipe", "name": "threepipe",
"version": "0.0.4",
"version": "0.0.5",
"license": "MIT", "license": "MIT",
"dependencies": { "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/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": { "devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-commonjs": "^25.0.0",
"rollup-plugin-postcss": "^4.0.2", "rollup-plugin-postcss": "^4.0.2",
"stats.js": "^0.17.0", "stats.js": "^0.17.0",
"three": "https://github.com/repalash/three.js-modded/releases/download/v0.152.2006/package.tgz", "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", "tslib": "^2.5.0",
"tweakpane": "^3.1.9", "tweakpane": "^3.1.9",
"tweakpane-image-plugin": "https://github.com/repalash/tweakpane-image-plugin/releases/download/v1.1.403/package.tgz", "tweakpane-image-plugin": "https://github.com/repalash/tweakpane-image-plugin/releases/download/v1.1.403/package.tgz",
"dev": true "dev": true
}, },
"node_modules/@types/three": { "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": { "dependencies": {
"@tweenjs/tween.js": "~18.6.4", "@tweenjs/tween.js": "~18.6.4",
"fflate": "~0.6.9", "fflate": "~0.6.9",
} }
}, },
"node_modules/ts-browser-helpers": { "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": { "dependencies": {
"@types/wicg-file-system-access": "^2020.9.5" "@types/wicg-file-system-access": "^2020.9.5"
} }
"dev": true "dev": true
}, },
"@types/three": { "@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": { "requires": {
"@tweenjs/tween.js": "~18.6.4", "@tweenjs/tween.js": "~18.6.4",
"fflate": "~0.6.9", "fflate": "~0.6.9",
"dev": true "dev": true
}, },
"ts-browser-helpers": { "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": { "requires": {
"@types/wicg-file-system-access": "^2020.9.5" "@types/wicg-file-system-access": "^2020.9.5"
} }

+ 6
- 6
package.json Näytä tiedosto

{ {
"name": "threepipe", "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.", "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", "main": "src/index.ts",
"module": "dist/index.mjs", "module": "dist/index.mjs",
"rollup-plugin-postcss": "^4.0.2", "rollup-plugin-postcss": "^4.0.2",
"stats.js": "^0.17.0", "stats.js": "^0.17.0",
"three": "https://github.com/repalash/three.js-modded/releases/download/v0.152.2006/package.tgz", "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", "tslib": "^2.5.0",
"tweakpane": "^3.1.9", "tweakpane": "^3.1.9",
"@tweakpane/core": "^1.1.8", "@tweakpane/core": "^1.1.8",
"tweakpane-image-plugin": "https://github.com/repalash/tweakpane-image-plugin/releases/download/v1.1.403/package.tgz" "tweakpane-image-plugin": "https://github.com/repalash/tweakpane-image-plugin/releases/download/v1.1.403/package.tgz"
}, },
"dependencies": { "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/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": { "dependencies": {
"uiconfig-tweakpane": "^0.0.3", "uiconfig-tweakpane": "^0.0.3",
"three": "https://github.com/repalash/three.js-modded/releases/download/v0.152.2006/package.tgz", "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", "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", "@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" "tweakpane-image-plugin": "git+ssh://github.com/repalash/tweakpane-image-plugin.git#52d5542047fd07d2e7225b5b67c9f7620366f2c7"
}, },

+ 3
- 0
src/rendering/RenderTarget.ts Näytä tiedosto

MinificationTextureFilter, MinificationTextureFilter,
Texture, Texture,
TextureDataType, TextureDataType,
Wrapping,
} from 'three' } from 'three'
import {Vector4} from 'three/src/math/Vector4' import {Vector4} from 'three/src/math/Vector4'
import {DepthTexture} from 'three/src/textures/DepthTexture' import {DepthTexture} from 'three/src/textures/DepthTexture'
depthBuffer?: boolean depthBuffer?: boolean
depthTexture?: boolean depthTexture?: boolean
textureCount?: number textureCount?: number
wrapS?: Wrapping
wrapT?: Wrapping
} }


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

+ 1
- 1
src/viewer/AViewerPlugin.ts Näytä tiedosto

if (data.type !== this.constructor.PluginType) if (data.type !== this.constructor.PluginType)
return null return null
ThreeSerialization.Deserialize(data, this, meta, true) ThreeSerialization.Deserialize(data, this, meta, true)
this.dispatchEvent({type: 'deserialize', data})
this.dispatchEvent({type: 'deserialize', data, meta})
return this return this
} }



Loading…
Peruuta
Tallenna