这是官方的例子
我在Vue3中使用,测试了好久始终不显示点云数据。在网上查询后发现ply文件要放置在public目录下才行
<el-row>
<el-button type="primary" class="el-btn" @click="IniThree1">PLY</el-button>
<div id="my-three" style="height:600px;width:100%"></div>
</el-row>
<script setup lang="ts" name="Camera3DScan">
import { ref, onMounted, watch } from 'vue'
import axios from 'axios'
import { ElMessage } from 'element-plus';
import * as THREE from "three";
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls";
import {