You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm currently writing some XR abstractions for vue and trying to use this library as a basis.
I have some base code working with entering VR immersive mode when clicking a button but not sure how to update the Three camera instance I have.
Looking in this codebase and with the lack of documentation it isn't obvious how that happens, I don't see anything like a setAnimationLoop for synching anything.
Could anyone divulge a bit more information on how this achieved would be a big help, thanks.
The text was updated successfully, but these errors were encountered:
setAnimationLoop is what you'll need so three.js runs its internal pose and controllers sync in WebXRManager. R3F manages this since it's a bit more complicated when rendering can be interrupted due to its frameloop API.
I would familiarize yourself with the WebXR API, but also the WebXR internals of three.js. They're not super scary, just these two regions and know resizing in XR isn't supported (mrdoob/three.js#26905):
Hi, I'm currently writing some XR abstractions for vue and trying to use this library as a basis.
I have some base code working with entering VR immersive mode when clicking a button but not sure how to update the Three camera instance I have.
Looking in this codebase and with the lack of documentation it isn't obvious how that happens, I don't see anything like a setAnimationLoop for synching anything.
Could anyone divulge a bit more information on how this achieved would be a big help, thanks.
The text was updated successfully, but these errors were encountered: