Skip to content

Commit

Permalink
Use engine splat support (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
slimbuck authored Nov 22, 2023
1 parent 55f2c42 commit f36e3ef
Show file tree
Hide file tree
Showing 11 changed files with 419 additions and 1,676 deletions.
493 changes: 342 additions & 151 deletions package-lock.json

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "model-viewer",
"version": "4.7.2",
"version": "4.8.0",
"author": "PlayCanvas<[email protected]>",
"homepage": "https://playcanvas.com",
"description": "PlayCanvas glTF Viewer",
Expand Down Expand Up @@ -49,36 +49,36 @@
"devDependencies": {
"@playcanvas/eslint-config": "^1.7.1",
"@playcanvas/observer": "^1.4.0",
"@playcanvas/pcui": "^4.1.1",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-commonjs": "^25.0.4",
"@playcanvas/pcui": "^4.1.2",
"@rollup/plugin-alias": "^5.0.1",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-image": "^3.0.3",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.3",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"concurrently": "^8.2.1",
"@rollup/plugin-typescript": "^11.1.5",
"@types/react": "^18.2.38",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"eslint": "^8.48.0",
"fflate": "^0.8.0",
"eslint": "^8.54.0",
"fflate": "^0.8.1",
"handlebars": "^4.7.8",
"playcanvas": "^1.66.1",
"playcanvas": "^1.67.0",
"prop-types": "^15.8.1",
"qrious": "^4.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-visibility-sensor": "^5.1.1",
"rollup": "^3.28.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-sass": "^1.12.20",
"rollup": "^4.5.1",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-sass": "^1.12.21",
"serve": "^14.2.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2"
"typescript": "^5.3.2"
},
"scripts": {
"build": "rollup -c",
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ const main = () => {

// create the graphics device
createGraphicsDevice(canvas, {
deviceTypes: (url.searchParams.has('webgpu') || observer.get('enableWebGPU') ? ['webgpu'] : []).concat(['webgl2']),
deviceTypes: url.searchParams.has('webgpu') || observer.get('enableWebGPU') ? ['webgpu'] : [],
glslangUrl: getAssetPath('lib/glslang/glslang.js'),
twgslUrl: getAssetPath('lib/twgsl/twgsl.js'),
antialias: false,
Expand Down
53 changes: 0 additions & 53 deletions src/splat/ply-parser.ts

This file was deleted.

211 changes: 0 additions & 211 deletions src/splat/ply-reader.ts

This file was deleted.

Loading

0 comments on commit f36e3ef

Please sign in to comment.