当前位置:网站首页>Three. JS VR house viewing
Three. JS VR house viewing
2022-07-05 22:59:00 【yzhSWJ】


Code
<template>
<div class="container" ref="container"></div>
</template>
<script setup>
import * as THREE from "three";
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls";
import { RGBELoader } from "three/examples/jsm/loaders/RGBELoader";
import { ref, onMounted } from "vue";
// Initialize the scene
const scene = new THREE.Scene();
// Initialize camera
const camera = new THREE.PerspectiveCamera(
75,
window.innerWidth / window.innerHeight,
0.1,
1000
);
// Set camera position
camera.position.z = 0.1;
// Initialize the renderer
const renderer = new THREE.WebGLRenderer();
renderer.setSize(window.innerWidth, window.inn边栏推荐
- Registration of Electrical Engineering (elementary) examination in 2022 and the latest analysis of Electrical Engineering (elementary)
- Double pointer of linked list (fast and slow pointer, sequential pointer, head and tail pointer)
- Overview of Fourier analysis
- MoCo: Momentum Contrast for Unsupervised Visual Representation Learning
- 傅里叶分析概述
- Global and Chinese market of water treatment technology 2022-2028: Research Report on technology, participants, trends, market size and share
- Lesson 1: serpentine matrix
- openresty ngx_lua正则表达式
- 30 optimization skills about mysql, super practical
- The code generator has deoptimised the styling of xx/typescript. js as it exceeds the max of 500kb
猜你喜欢

Marginal probability and conditional probability

基于STM32的ADC采样序列频谱分析

南京:全面启用商品房买卖电子合同

513. Find the value in the lower left corner of the tree
![[speech processing] speech signal denoising and denoising based on Matlab GUI low-pass filter [including Matlab source code 1708]](/img/df/9aa83ac5bd9f614942310a040a6dff.jpg)
[speech processing] speech signal denoising and denoising based on Matlab GUI low-pass filter [including Matlab source code 1708]

Metaverse ape ape community was invited to attend the 2022 Guangdong Hong Kong Macao Great Bay metauniverse and Web3.0 theme summit to share the evolution of ape community civilization from technology

傅里叶分析概述

一文搞定JVM常见工具和优化策略

2022 R2 mobile pressure vessel filling review simulation examination and R2 mobile pressure vessel filling examination questions

Common JVM tools and optimization strategies
随机推荐
openresty ngx_lua正则表达式
Global and Chinese market of networked refrigerators 2022-2028: Research Report on technology, participants, trends, market size and share
Function default parameters, function placeholder parameters, function overloading and precautions
Navigation day answer applet: preliminary competition of navigation knowledge competition
透彻理解JVM类加载子系统
Exponential weighted average and its deviation elimination
2022.02.13 - SX10-30. Home raiding II
VOT toolkit environment configuration and use
媒体查询:引入资源
二叉树(二)——堆的代码实现
抖音__ac_signature
Global and Chinese markets of tantalum heat exchangers 2022-2028: Research Report on technology, participants, trends, market size and share
从 1.5 开始搭建一个微服务框架——日志追踪 traceId
Three.JS VR看房
Distributed resource management and task scheduling framework yarn
Arduino measures AC current
LeetCode102. Sequence traversal of binary tree (output by layer and unified output)
鏈錶之雙指針(快慢指針,先後指針,首尾指針)
One article deals with the microstructure and instructions of class
Ieventsystemhandler event interface