react-360 | Create amazing 360 and VR content using React | Frontend Framework library
kandi X-RAY | react-360 Summary
kandi X-RAY | react-360 Summary
React 360 is a framework for the creation of interactive 360 experiences that run in your web browser. It pairs modern APIs like WebGL and WebVR with the declarative power of React, producing applications that can be consumed through a variety of devices. Leveraging web technologies and the existing React ecosystem, React 360 aims to simplify the construction of cross-platform 360 experiences.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Creates a new bitmapGeometry object .
- draws the quad url
- Read options .
- Read a single line
- Visible border
- Load a font texture
- Computes a vucker - point
- Validates a transform .
- Process an identity matrix .
- Line break generator
react-360 Key Features
react-360 Examples and Code Snippets
Community Discussions
Trending Discussions on react-360
QUESTION
I would like to make responsive flat panel - on a mobile device should be in full screen like there https://tour.croptrust.org/
Is there a possibility to achieve that in react-360.
Here is my example https://gstuczynski.com/tour/plaszow/ - try to hit loupe -> on the desktop looks good but how to make it responsive? Here is my code https://github.com/gstuczynski/plaszow-cc-virtual-tour
...ANSWER
Answered 2019-Dec-12 at 11:57If you're looking to set your surface size based on whether user is on mobile or desktop, I'd approach this by building a NativeModule
to check if the device is mobile on componentDidMount()
and using the built in resize()
function to adjust your surface sizes.
First add a module in client.js
QUESTION
I am trying to use a 3d object in a react360 project. I followed the steps in setup docs. Created a project with react-360 init Hello360
command and started the server with npm start
.
Also, downloaded this obj model, and put it into static_assets
folder. Then, put an Entity tag into index.js
for displaying the object. Whole index.js
is as follows.
ANSWER
Answered 2019-Sep-16 at 09:58React360 docs Entity page is missing the import part. Importing Entity as in this blog solves the problem.
QUESTION
I believe there are a bunch of questions related to this, but they are all outdated.
I'm looking for a way to render a panorama/360 picture viewer in React Native. So far, all the libraries that try to use Google's VR SDK are outdated or broken, and not usable at all.
I have also tried to use a WebView (with react-360), but web views are just way too slow, doubles RAM usage, and worst of all, can't be used to render 360 pictures stored on the device.
I guess that another option would be to grab an OpenGL library and try to implement it myself, but that's probably a lot of work if there's something made already.
...ANSWER
Answered 2019-Jun-19 at 12:19We've recently published the panorama viewer we are using in our apps. Hope it can help you too. @lightbase/react-native-panorama-view
QUESTION
I am creating a a bare bones react 360 app in order to get familiar with input handling from a variety of sources. Here is the web page for the documentation Input Handling React 360. After reading the page, I can't get the input to work at all and its unclear as to why. Here is my code:
...ANSWER
Answered 2019-Jan-09 at 19:35I think I figured out my own question for future reference. In the above code, is 'invisible' when I run the application with
npm start
. What I did was remove the surrounding views included with the example and then added some stylesheet css stylings to it. Here is that code:
QUESTION
I am creating a VR application with React 360. What I am trying to do is to eventually create an application as shown here Facebook VR multi surface example. I am taking the code for that example and am trying to fit it into my application. However I'm having a problem with the following initialization of my React components.
I have the following react-360 application with the following code index.js
ANSWER
Answered 2018-Dec-21 at 17:42It looks like you're rendering the ModelView
and not the ConnectedModelView
.
QUESTION
I am looking at react-360 and react-native code and found the following examples concerning the View
component.
ANSWER
Answered 2018-Dec-13 at 19:01Because the parent View component has children components while the children View components do not. See this related Stack Overflow question: (React component closing tag)
QUESTION
i have been trying for some time to set an external image over the environment. This is my index.js:
...ANSWER
Answered 2018-Sep-21 at 14:24It was still the right way to load external images.
The problem was, that a filter was active in my console output. Therefore I was not able to see the CORS warning in the console.
It was still a CORS problem on the devcdn.player360.de server. We fixed the CORS headers and are now able to load external images.
QUESTION
The react-360 instructions seem very clear and simple:
...ANSWER
Answered 2018-Aug-23 at 17:43QUESTION
I had started creating a project with react-vr and had laid out the object in a spherical manner around the user. Or for example, the 3 objects had positions (1, 1, 1), (2, 2, 2) and (3, 3, 3).
style: { transform: [{ translate: [1,1,1] }] }
On moving to react-360 the same positions of the objects seem quite different. From the initial view, all three object appear to be in a straight vertical column.
- Is there some major difference in the layout structure of the two that I've missed here?
- Also the order of rendering of these objects differ the output that we are getting in react-360.
ANSWER
Answered 2018-Jun-11 at 16:47There is a difference that by default it's rendered to 2D Surface, not 3D scene. I must say for me it's quite strange and i also struggled with this. Especially since they changed it significantly and is hard to find any info about it in docs (if it even is there because I found a solution in code). So, in client.js
file you have to change this
QUESTION
I want to set my camera view higher compared to a rendered view. But I don't know where I could set the intial camera position when rendering a view.
My component is mounted like this:
...ANSWER
Answered 2018-May-08 at 11:27You can set the camera position higher like this (inside init in client.js):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install react-360
Node.js version 6.0.0 or higher
yarn or npm (>= v3.0.0) package managers
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page