WebCam achieve WebAr

ask:
1、Create a ball in the scene
2、Camera located at the center of the ball
3、Apply video texture to the ball body
4、The video texture is only displayed within the visible range of the camera
5、Video texture follows camera rotation
I don’t know how to implement this in threejs

My suggestion is that you start learning Three.js. Yes, it is not an easy journey, but with every learning step you will get more amazed and more happy. To get you started, here is a short demo of your first issue → creating a ball in the scene.

https://codepen.io/boytchev/pen/VwVaXWx?editors=0010

image