随笔分类 -  three

摘要:直接粘贴无脑用 !!!vue文件执行要现在初始化方法里面调用一下 onclickS() { let raycaster = new THREE.Raycaster(); let mouse = new THREE.Vector2(); function onmodelclick(event) { m 阅读全文
posted @ 2024-02-18 16:06 QinHaoRan 阅读(302) 评论(0) 推荐(0)
摘要:<template> <div id="container"></div> </template> <script> import * as THREE from 'three' import { OrbitControls } from 'three/examples/jsm/controls/O 阅读全文
posted @ 2024-01-04 16:52 QinHaoRan 阅读(354) 评论(0) 推荐(0)
摘要:直接贴进去就可以用。 <template> <div id="container"></div> </template> <script> //引入three import * as THREE from 'three' //引入控制器 import { OrbitControls } from ' 阅读全文
posted @ 2024-01-04 11:47 QinHaoRan 阅读(166) 评论(0) 推荐(0)