| SRGBColorSpace, | SRGBColorSpace, | ||||
| ThreeViewer, | ThreeViewer, | ||||
| UnlitMaterial, | UnlitMaterial, | ||||
| BufferGeometry, | |||||
| } from 'threepipe' | } from 'threepipe' | ||||
| import {BufferGeometry} from 'three' | |||||
| async function init() { | async function init() { | ||||
| "removeComments": false, | "removeComments": false, | ||||
| "preserveConstEnums": true, | "preserveConstEnums": true, | ||||
| "moduleResolution": "node", | "moduleResolution": "node", | ||||
| "skipDefaultLibCheck": true, | |||||
| "emitDecoratorMetadata": true, | "emitDecoratorMetadata": true, | ||||
| "sourceMap": false, | "sourceMap": false, | ||||
| "paths": { | "paths": { | ||||
| "@threepipe/plugins-*": ["../plugins/*/src"], | "@threepipe/plugins-*": ["../plugins/*/src"], | ||||
| "threepipe": ["../src/"] | "threepipe": ["../src/"] | ||||
| }, | }, | ||||
| "esModuleInterop": true, | |||||
| "target": "ES2020", | "target": "ES2020", | ||||
| "strictNullChecks": true, | "strictNullChecks": true, | ||||
| "lib": [ | "lib": [ |
| "rollup-plugin-license": "^3.0.1", | "rollup-plugin-license": "^3.0.1", | ||||
| "three": "https://github.com/repalash/three.js-modded/releases/download/v0.157.1007/package.tgz", | "three": "https://github.com/repalash/three.js-modded/releases/download/v0.157.1007/package.tgz", | ||||
| "tslib": "^2.5.0", | "tslib": "^2.5.0", | ||||
| "typedoc": "^0.27.5", | |||||
| "typescript": "5.7.2", | |||||
| "typedoc": "^0.28.4", | |||||
| "typescript": "5.8.3", | |||||
| "typescript-plugin-css-modules": "^5.0.1", | "typescript-plugin-css-modules": "^5.0.1", | ||||
| "vite": "^6.0.5", | |||||
| "vite-plugin-dts": "^4.4.0", | |||||
| "vite": "^6.3.5", | |||||
| "vite-plugin-dts": "^4.5.3", | |||||
| "vitepress": "^1.5.0", | "vitepress": "^1.5.0", | ||||
| "vitepress-plugin-nprogress": "^0.0.4" | "vitepress-plugin-nprogress": "^0.0.4" | ||||
| }, | }, |
| "version": "0.1.0", | "version": "0.1.0", | ||||
| "license": "Apache-2.0", | "license": "Apache-2.0", | ||||
| "dependencies": { | "dependencies": { | ||||
| "three": "file:./../../src/", | |||||
| "three": "file:./../../node_modules/three", | |||||
| "threepipe": "file:./../../src/" | "threepipe": "file:./../../src/" | ||||
| }, | }, | ||||
| "devDependencies": { | "devDependencies": { | ||||
| "3d-tiles-renderer": "^0.4.8" | "3d-tiles-renderer": "^0.4.8" | ||||
| } | } | ||||
| }, | }, | ||||
| "../../src": {}, | |||||
| "../tweakpane/src": { | |||||
| "extraneous": true | |||||
| "../../node_modules/three": { | |||||
| "version": "0.157.1007", | |||||
| "license": "MIT", | |||||
| "devDependencies": { | |||||
| "@puppeteer/browsers": "^1.4.1", | |||||
| "@rollup/plugin-node-resolve": "^15.0.1", | |||||
| "@rollup/plugin-terser": "^0.4.0", | |||||
| "chalk": "^5.2.0", | |||||
| "concurrently": "^8.0.1", | |||||
| "eslint": "^8.37.0", | |||||
| "eslint-config-mdcs": "^5.0.0", | |||||
| "eslint-plugin-compat": "^4.1.2", | |||||
| "eslint-plugin-html": "^7.1.0", | |||||
| "eslint-plugin-import": "^2.27.5", | |||||
| "failonlyreporter": "^1.0.0", | |||||
| "jimp": "^0.22.7", | |||||
| "magic-string": "^0.30.0", | |||||
| "pixelmatch": "^5.3.0", | |||||
| "puppeteer-core": "^19.8.1", | |||||
| "qunit": "^2.19.4", | |||||
| "rollup": "^3.20.2", | |||||
| "rollup-plugin-filesize": "^10.0.0", | |||||
| "rollup-plugin-visualizer": "^5.9.0", | |||||
| "servez": "^2.0.0" | |||||
| } | |||||
| }, | }, | ||||
| "../../src": {}, | |||||
| "node_modules/@babel/runtime": { | "node_modules/@babel/runtime": { | ||||
| "version": "7.27.0", | |||||
| "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.0.tgz", | |||||
| "integrity": "sha512-VtPOkrdPHZsKc/clNqyi9WUA8TINkZ4cGk63UUE3u4pmB2k+ZMQRDuIOagv8UVd6j7k0T3+RRIb7beKTebNbcw==", | |||||
| "version": "7.27.1", | |||||
| "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.1.tgz", | |||||
| "integrity": "sha512-1x3D2xEk2fRo3PAhwQwu5UubzgiVWSXTBfWpVd2Mx2AzRqJuDJCsgaDVZ7HB5iGzDW1Hl1sWN2mFyKjmR9uAog==", | |||||
| "dev": true, | "dev": true, | ||||
| "license": "MIT", | "license": "MIT", | ||||
| "optional": true, | "optional": true, | ||||
| "dependencies": { | |||||
| "regenerator-runtime": "^0.14.0" | |||||
| }, | |||||
| "engines": { | "engines": { | ||||
| "node": ">=6.9.0" | "node": ">=6.9.0" | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| }, | }, | ||||
| "node_modules/regenerator-runtime": { | |||||
| "version": "0.14.1", | |||||
| "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", | |||||
| "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", | |||||
| "dev": true, | |||||
| "license": "MIT", | |||||
| "optional": true | |||||
| }, | |||||
| "node_modules/scheduler": { | "node_modules/scheduler": { | ||||
| "version": "0.23.2", | "version": "0.23.2", | ||||
| "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", | "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", | ||||
| } | } | ||||
| }, | }, | ||||
| "node_modules/three": { | "node_modules/three": { | ||||
| "resolved": "../../src", | |||||
| "resolved": "../../node_modules/three", | |||||
| "link": true | "link": true | ||||
| }, | }, | ||||
| "node_modules/threepipe": { | "node_modules/threepipe": { |
| "3d-tiles-renderer": "^0.4.8" | "3d-tiles-renderer": "^0.4.8" | ||||
| }, | }, | ||||
| "dependencies": { | "dependencies": { | ||||
| "three": "file:./../../src/", | |||||
| "three": "file:./../../node_modules/three", | |||||
| "threepipe": "file:./../../src/" | "threepipe": "file:./../../src/" | ||||
| }, | }, | ||||
| "overrides": { | "overrides": { |
| ColorSpace, | ColorSpace, | ||||
| DepthFormat, | DepthFormat, | ||||
| DepthStencilFormat, | DepthStencilFormat, | ||||
| DepthTexture, | |||||
| FloatType, | FloatType, | ||||
| MagnificationTextureFilter, | MagnificationTextureFilter, | ||||
| MinificationTextureFilter, | MinificationTextureFilter, | ||||
| UnsignedInt248Type, | UnsignedInt248Type, | ||||
| UnsignedIntType, | UnsignedIntType, | ||||
| UnsignedShortType, | UnsignedShortType, | ||||
| Vector4, | |||||
| Wrapping, | Wrapping, | ||||
| } from 'three' | } from 'three' | ||||
| import {Vector4} from 'three/src/math/Vector4' | |||||
| import {DepthTexture} from 'three/src/textures/DepthTexture' | |||||
| import type {IRenderManager, IWebGLRenderer} from '../core' | import type {IRenderManager, IWebGLRenderer} from '../core' | ||||
| import {ValOrArr} from 'ts-browser-helpers' | import {ValOrArr} from 'ts-browser-helpers' | ||||
| import {Camera, Color, Object3D, OrthographicCamera, PerspectiveCamera, Vector3} from 'three' | |||||
| import { | |||||
| Camera, | |||||
| Color, | |||||
| InterleavedBufferAttribute, | |||||
| Object3D, | |||||
| OrthographicCamera, | |||||
| PerspectiveCamera, | |||||
| Vector3, | |||||
| } from 'three' | |||||
| import {ACameraHelperWidget} from './ACameraHelperWidget' | import {ACameraHelperWidget} from './ACameraHelperWidget' | ||||
| import {LineSegments2} from 'three/examples/jsm/lines/LineSegments2.js' | import {LineSegments2} from 'three/examples/jsm/lines/LineSegments2.js' | ||||
| import {LineSegmentsGeometry} from 'three/examples/jsm/lines/LineSegmentsGeometry.js' | import {LineSegmentsGeometry} from 'three/examples/jsm/lines/LineSegmentsGeometry.js' | ||||
| import {InterleavedBufferAttribute} from 'three/src/core/InterleavedBufferAttribute' | |||||
| import {LineMaterial2} from '../../core' | import {LineMaterial2} from '../../core' | ||||
| /** | /** |