posts - 320,  comments - 29,  views - 115万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
10 2024 档案
上传本地pcd文件,并用threejs渲染
摘要:页面 <template> <div> <input type="file" @change="handleFileUpload" accept=".pcd" /> <input type="file" @change="changeFile" /> <div @click="stringToFil 阅读全文
posted @ 2024-10-08 09:22 刘世涛6192 阅读(98) 评论(0) 推荐(0) 编辑
three.js 鼠标点击获取模型对象
摘要:three.js 创建模型后,想要实现点击模型获取模型对象触发相应事件。可以使用它提供的API THREE.Raycaster() https://threejs.org/docs/index.html?q=Raycaster#api/en/core/Raycaster //监听点击事件 windo 阅读全文
posted @ 2024-10-08 09:19 刘世涛6192 阅读(351) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示