[webXR] 02 [응용] - 3D

김린네·2022년 12월 14일
post-thumbnail

rotate 하고 animate 하는 방법

render(){

mesh.rotation.y=mesh.rotation.y-0.01;
라디안 단위로 이동한다.
mesh.rotation.x=mesh.rotation.x-0.05;
}

3D 모델을 추가하는 방법

gltf 를 사용해야된다 .
-> 3d 데이터를 전송하는데 매우 효율적으로 설계된 개방형 3D모델 및 장면 형식이다.

profile
디자인 > https://dribbble.com/jongpil_77 코딩 > https://www.codewars.com/users/bikijjang

0개의 댓글