mirror of
https://gitee.com/ice-gl/icegl-three-vue-tres.git
synced 2025-04-05 06:22:43 +08:00
更新所有依赖库
并完成基础功能样例的展示
This commit is contained in:
parent
2f85b804a0
commit
3192102b1b
74
package.json
74
package.json
@ -30,89 +30,89 @@
|
||||
"access": "public"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tweakpane/core": "^2.0.4",
|
||||
"@tweakpane/core": "^2.0.5",
|
||||
"@types/mapbox__tilebelt": "^1.0.4",
|
||||
"@types/offscreencanvas": "^2019.7.3",
|
||||
"@types/three": "0.169.0",
|
||||
"@types/three": "0.173.0",
|
||||
"@webank/eslint-config-webank": "1.3.1",
|
||||
"concurrently": "^9.0.1",
|
||||
"concurrently": "^9.1.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"esm": "^3.2.25",
|
||||
"sass": "1.71.1",
|
||||
"typescript": "5.6.3",
|
||||
"typescript": "5.7.3",
|
||||
"vite-plugin-glsl": "0.2.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"3d-tiles-renderer": "0.3.39",
|
||||
"3d-tiles-renderer": "0.4.4",
|
||||
"@amap/amap-jsapi-loader": "^1.0.1",
|
||||
"@fesjs/builder-vite": "4.0.4",
|
||||
"@fesjs/fes": "3.1.13",
|
||||
"@fesjs/fes-design": "0.8.68",
|
||||
"@fesjs/builder-vite": "4.0.5",
|
||||
"@fesjs/fes": "3.1.17",
|
||||
"@fesjs/fes-design": "0.8.78",
|
||||
"@fesjs/plugin-access": "3.1.9",
|
||||
"@fesjs/plugin-enums": "^3.0.1",
|
||||
"@fesjs/plugin-layout": "5.4.1",
|
||||
"@fesjs/plugin-layout": "5.4.6",
|
||||
"@fesjs/plugin-model": "3.0.3",
|
||||
"@fesjs/plugin-pinia": "^3.0.3",
|
||||
"@fesjs/plugin-request": "^4.0.0-beta.6",
|
||||
"@fesjs/plugin-sass": "^3.0.0",
|
||||
"@here/quantized-mesh-decoder": "^1.2.8",
|
||||
"@iconify/json": "2.2.265",
|
||||
"@mapbox/tilebelt": "^1.0.2",
|
||||
"@pmndrs/vanilla": "^1.19.3",
|
||||
"@tresjs/cientos": "4.0.3",
|
||||
"@tresjs/core": "4.3.1",
|
||||
"@tresjs/leches": "^0.14.0",
|
||||
"@tresjs/post-processing": "^1.0.0",
|
||||
"@turf/turf": "^7.1.0",
|
||||
"@iconify/json": "2.2.302",
|
||||
"@mapbox/tilebelt": "^2.0.2",
|
||||
"@pmndrs/vanilla": "^1.20.2",
|
||||
"@tresjs/cientos": "4.1.0",
|
||||
"@tresjs/core": "4.3.2",
|
||||
"@tresjs/leches": "^0.14.1",
|
||||
"@tresjs/post-processing": "^2.0.0",
|
||||
"@turf/turf": "^7.2.0",
|
||||
"@tweenjs/tween.js": "^25.0.0",
|
||||
"@vicons/carbon": "^0.12.0",
|
||||
"@vicons/ionicons5": "^0.12.0",
|
||||
"@vicons/carbon": "^0.13.0",
|
||||
"@vicons/ionicons5": "^0.13.0",
|
||||
"animate.css": "^4.1.1",
|
||||
"axios": "^1.7.7",
|
||||
"axios": "^1.7.9",
|
||||
"cannon-es": "^0.20.0",
|
||||
"chalk": "^5.3.0",
|
||||
"chalk": "^5.4.1",
|
||||
"color": "^4.2.3",
|
||||
"compressing": "^1.10.1",
|
||||
"core-js": "^3.38.1",
|
||||
"core-js": "^3.40.0",
|
||||
"d3-geo": "^3.1.1",
|
||||
"dayjs": "^1.11.13",
|
||||
"echarts": "^5.5.1",
|
||||
"echarts": "^5.6.0",
|
||||
"echarts-liquidfill": "^3.1.0",
|
||||
"echarts-stat": "^1.2.0",
|
||||
"echarts-wordcloud": "^2.1.0",
|
||||
"file-saver": "^2.0.5",
|
||||
"gl-matrix": "^3.4.3",
|
||||
"gl-noise": "^1.6.1",
|
||||
"gsap": "3.12.5",
|
||||
"gsap": "3.12.7",
|
||||
"heatmap.js-fix": "^1.0.0",
|
||||
"iconify-icon": "^2.1.0",
|
||||
"iconify-icon": "^2.3.0",
|
||||
"jszip": "^3.10.1",
|
||||
"lamina": "^1.1.23",
|
||||
"lodash": "^4.17.21",
|
||||
"lygia": "^1.1.3",
|
||||
"naive-ui": "2.40.1",
|
||||
"lygia": "^1.3.0",
|
||||
"naive-ui": "2.41.0",
|
||||
"netcdfjs": "^3.0.0",
|
||||
"oimophysics": "^1.2.2",
|
||||
"patch-package": "^8.0.0",
|
||||
"pinia": "2.2.4",
|
||||
"pinia": "2.3.1",
|
||||
"postinstall-postinstall": "^2.1.0",
|
||||
"postprocessing": "6.36.3",
|
||||
"postprocessing": "6.36.6",
|
||||
"simplex-noise": "^4.0.3",
|
||||
"three": "0.169.0",
|
||||
"three": "0.173.0",
|
||||
"three-bvh-csg": "^0.0.16",
|
||||
"three-custom-shader-material": "6.0.13",
|
||||
"three-custom-shader-material": "6.3.0",
|
||||
"three-loader-3dtiles": "1.2.7",
|
||||
"three-mesh-bvh": "0.8.2",
|
||||
"three-mesh-bvh": "0.9.0",
|
||||
"three-subdivide": "^1.1.5",
|
||||
"three-tile": "^0.6.4",
|
||||
"three.quarks": "^0.15.5",
|
||||
"three-tile": "^0.8.1",
|
||||
"three.quarks": "^0.15.7",
|
||||
"tilebelt-wgs84": "1.1.4",
|
||||
"turf": "^3.0.14",
|
||||
"tweakpane": "4.0.4",
|
||||
"tweakpane": "4.0.5",
|
||||
"unocss": "^0.58.9",
|
||||
"vite-plugin-javascript-obfuscator": "^3.1.0",
|
||||
"vue": "3.5.12",
|
||||
"vue-echarts": "^6.7.3",
|
||||
"vue": "3.5.13",
|
||||
"vue-echarts": "^7.0.3",
|
||||
"vue3-lazyload": "^0.3.8"
|
||||
}
|
||||
}
|
||||
|
@ -132,7 +132,6 @@ function onEnd() {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<TresLeches />
|
||||
<TresCanvas v-bind="gl" window-size>
|
||||
<TresPerspectiveCamera :position="[3, 3, 3]" />
|
||||
<OrbitControls v-bind="controlsState" @change="onChange" @start="onStart" @end="onEnd" />
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @Autor: Hawk
|
||||
* @Date: 2023-10-12 11:41:10
|
||||
* @LastEditors: 地虎降天龙
|
||||
* @LastEditTime: 2023-12-20 09:22:20
|
||||
* @LastEditTime: 2025-02-05 11:35:33
|
||||
-->
|
||||
<template>
|
||||
<TresCanvas v-bind="gl" window-size>
|
||||
@ -18,7 +18,7 @@
|
||||
<TresMeshLambertMaterial :color="typeState.color" />
|
||||
</TresMesh>
|
||||
<TresSprite :position="[0, 1, 0]" :scale="[typeState.scale, typeState.scale, 1.0]">
|
||||
<SpriteMaterial :color="typeState.color" :blending="AdditiveBlending" :map="pTexture" />
|
||||
<TresSpriteMaterial :color="typeState.color" :blending="AdditiveBlending" :map="pTexture" />
|
||||
</TresSprite>
|
||||
</TresCanvas>
|
||||
</template>
|
||||
@ -27,8 +27,9 @@
|
||||
import { useTexture } from '@tresjs/core'
|
||||
import { OrbitControls } from '@tresjs/cientos'
|
||||
import { AdditiveBlending } from 'three'
|
||||
import { reactive } from 'vue';
|
||||
import { Pane } from 'tweakpane';
|
||||
import { reactive } from 'vue'
|
||||
import { Pane } from 'tweakpane'
|
||||
|
||||
const gl = {
|
||||
clearColor: '#222',
|
||||
}
|
||||
@ -41,7 +42,7 @@ const { map: pTexture } = await useTexture({ map: './plugins/basic/shine/image/r
|
||||
const paneControl = new Pane({
|
||||
title: '参数',
|
||||
expanded: true
|
||||
});
|
||||
})
|
||||
paneControl.addBinding(typeState, 'color', {
|
||||
label: '颜色'
|
||||
})
|
||||
@ -55,5 +56,5 @@ paneControl.addBlade({
|
||||
label: '问题',
|
||||
parse: (v) => String(v),
|
||||
value: 'Mesh移动到摄像头偏远处 物体产生变形,而本身精灵不会。 解决方法 Mesh也换成 Sprite 后 用shader画圆可解决',
|
||||
});
|
||||
})
|
||||
</script>
|
@ -4,7 +4,7 @@
|
||||
* @Autor: 地虎降天龙
|
||||
* @Date: 2024-12-12 17:54:36
|
||||
* @LastEditors: 地虎降天龙
|
||||
* @LastEditTime: 2024-12-12 18:06:46
|
||||
* @LastEditTime: 2025-02-05 11:38:30
|
||||
-->
|
||||
<template>
|
||||
<TresCanvas window-size clearColor="#000000">
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
<EffectComposer>
|
||||
<UnrealBloom :radius="0.8" :strength="2.5" :threshold="0.8" />
|
||||
<Glitch />
|
||||
<Glitch />
|
||||
<SMAA :width="1920" :height="1080" />
|
||||
<Output />
|
||||
</EffectComposer>
|
||||
@ -29,5 +29,5 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { OrbitControls, Box } from '@tresjs/cientos'
|
||||
import { EffectComposer, UnrealBloom, Output, SMAA, Glitch } from '@tresjs/post-processing/three'
|
||||
import { EffectComposer, UnrealBloom, Glitch, Output, SMAA } from '@tresjs/post-processing'
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user