SuperViz Immersive Library Demo
Proof of concept app that uses @superviz/immersive-library.
Clone the project repository:
From the project root run yarn to install the dependencies:
To properly use this project, you will need to create a .env file following the example given in .env.example.
You will also need to set your developer key as the value of VITE_SUPERVIZ_DEVELOPER_KEY environment variable in the file created.
After that, the demo is ready to be used. To run the development environment, from the root run:
Initializing the library
To start the library you must fill in the fields below:
userName: name of the user who will enter the 3D environment;
userId: id of the user who will enter the 3D environment;
roomId: id of the room that the user will enter;
contentData: id of the content that will be displayed in the 3D environment;
contentType: type of content that will be displayed in the 3D environment;
You can also use query params in the URL to make testing easier, the fields are:
Example URL: http://localhost:3000/?roomId=1PGES2&userId=440f57e1-f574-4961-a3b0-e9ecaf80096e&userName=Steve%20Roges
It is also possible to change the content of the room, you can do this via the contentData and contentType field.
contentData: content that should be displayed in the room;
contentType: type of content that should be displayed in the room;
List of projects that can be used for testing:
pureweb: ask SuperViz support for a demo project;
Immersive library documentation