facebookarchive / react-360

Create amazing 360 and VR content using React
https://facebook.github.io/react-360
Other
8.73k stars 1.22k forks source link

How to render Three.js Scene in React360? #503

Open vineethariharan opened 6 years ago

vineethariharan commented 6 years ago

I have found some references for react-vr. Could you help me with react-360?

adavies25 commented 5 years ago

I too would like to know if it is possible. Thanks.

ColeParsons commented 5 years ago

I am attempting this now but am having trouble. I have found this source for React but not React360, any help implementing it would be helpful. https://itnext.io/how-to-use-plain-three-js-in-your-react-apps-417a79d926e0

ManuelGraf commented 5 years ago

so my primary use case for such a framework is to create UI consisting of actual geometry for usage in 3D space, as this is still kind of unsolved issue in the webVR world. There is still no webVR UI Framework for this. Becoming a standard, webXR really longs for a front-end which is capable of reacting to 3-6DOF input devices and and having a strategy for creating (non-natural, e.g. Buttons, menus....) UIs.

Can react360 help me with that? From the Documentation I saw there are already classes which render css-like styles to geometries. Is there a way to actually use that inside of a THREE.js scene?