skezo / Reticulum

A simple gaze interaction manager for VR in the browser with Three.js.
http://skezo.github.io/Reticulum/
61 stars 15 forks source link

Compatibility of code with React Three Fiber #29

Open vincentdchn opened 1 year ago

vincentdchn commented 1 year ago

Hi, I was wondering if the codebase could be made compatible with React Three Fiber ?

As React Three Fiber is gaining popularity for 3D rendering in React, it would be great to have this option for this project.

Could we explore the possibility of integrating React Three Fiber into the codebase or making the necessary changes to ensure compatibility?

Thank you for your time and consideration!

skezo commented 1 year ago

Thanks for the suggestion!

Based on the docs https://github.com/pmndrs/react-three-fiber it should work out of the box.

I will not have time to dig into this but if it is not working it would be awesome if you create a PR to support it!

vincentdchn commented 1 year ago

Thank you for your answer.

So far, from what I've tested, it doesn't work out of the box.

I'm going to try something on my end. Hopefully, I'll be able to submit a PR soon!