網(wǎng)站做多個產(chǎn)品google官網(wǎng)瀏覽器
1.在網(wǎng)上下載一個顯示屏或者自己畫一個,在blender中設(shè)置好顯示屏的Mesh,UV設(shè)置好,這樣方便代碼中添加紋理貼圖。可以讓美術(shù)在建模軟件中,先隨機設(shè)置一張圖片作為紋理,驗證UV是否設(shè)置好
關(guān)于如何 在blender中給模型設(shè)置UV貼圖百度很多的
// 視頻
import * as THREE from "three"
// 加載建筑模型
import {GLTFLoader
} from 'three/examples/jsm/loaders/GLTFLoader.js'
import {DRACOLoader
} from 'three/examples/jsm/loaders/DRACOLoader'
export function getVideo(th) {console.log('th', th) // thisvar that = thconst loader =