I need a piece of advice. I want to create a React web application with React using typescript and I want when clicking a button to show a new page with a scene of a town. What is the best way to make it possible, I mean to integrate the scene in the React Project. I saw recently that I can use ReactVR to create a 3D scene. Is this the best way to do this or there is another way to do what I want. Please give me a piece of advice. Thank you for reading this and for your interest.
CodePudding user response:
I suggest to use a mixt between react-babylone and a simple canvas. react-babylone support react hooks you will not found a problem with react versions . There are a good community and you can find answers quickly in case of difficulty.
https://github.com/brianzinn/react-babylonjs
CodePudding user response:
I actually recommend we go with Google's Model Viewer
library as it is the easiest if you want to 3d viewing assets. there is some other's Three.js
and Babylon.js
as well