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
08 2024 档案
TransformControls 用于在网页中进行 3D 场景中物体的交互式操作
摘要:demo案例:https://techbrood.com/threejs/examples/#misc_controls_transform TransformControls 是 Three.js 中的一个类,用于在网页中进行 3D 场景中物体的交互式操作。让我们来详细讲解它的输入参数、输出、属性 阅读全文
posted @ 2024-08-19 11:53 刘世涛6192 阅读(123) 评论(0) 推荐(0) 编辑
three.js orbitcontrol更改绕x轴与z轴旋转
摘要:camera = new THREE.PerspectiveCamera(45, window.innerWidth / window.innerHeight, 0.1, 10000); camera.position.z = 2900; //关键就是设置camera的up为y轴 camera.up 阅读全文
posted @ 2024-08-16 14:57 刘世涛6192 阅读(42) 评论(0) 推荐(0) 编辑

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